joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413d5a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c826
and dword [ebp - 0x14], 0
cmp dword [0x421f54], 0
mov dword [ebp - 0x18], eax
jne 0x413e0d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413eb5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x413eb5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x421f54], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x421f58], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x421f5c], eax
call edi
push eax
call esi
mov dword [0x421f64], eax
test eax, eax
je 0x413e0d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x421f60], eax
mov eax, dword [0x421f60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x413e66
cmp dword [0x421f64], ecx
je 0x413e66
push eax
call esi
push dword [0x421f64]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x413e66
test ebx, ebx
je 0x413e66
call edi
test eax, eax
je 0x413e5d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x413e5d
test byte [ebp - 8], 1
jne 0x413e66
or dword [ebp + 0x10], 0x200000
jmp 0x413e99
mov eax, dword [0x421f58]
cmp eax, dword [ebp - 0x18]
je 0x413e99
push eax
call esi
test eax, eax
je 0x413e99
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413e99
mov eax, dword [0x421f5c]
cmp eax, dword [ebp - 0x18]
je 0x413e99
push eax
call esi
test eax, eax
je 0x413e99
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x421f54]
call esi
test eax, eax
je 0x413eb5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413eb7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408bf8
leave
ret
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x4110a1
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x4485d300]
push ss
mov ebx, 0x2465c0d5
shl byte [ebp + 0x24], 0x96

Function at 0x42ae76
Capabilities:
Encode data using xor

Disassembly:
rol bh, 1
pop ebp
popal
mov al, 0x7b
xchg esp, eax
rcl ebx, 0xe9
pushal
mov eax, dword [0xc034b1e8]
lahf
lahf
lahf
xor dword [ebx + 0x2d536947], edx
test eax, 0x1af11deb
cmp edi, ecx
cmp al, 0xcb
in al, 0xa3
clc
xor dword [edx + 0x38faa932], 0xb0a6c272
jbe 0x42ae65
sbb cl, byte [edi]
invalid

Function at 0x43f541
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0x8e80c9bb
jno 0x43f5b4
invalid
sub al, 0x1a
into
invalid
jg 0x43f5c5
fnstcw word [esi + 0x2a]
inc edi
hlt
int 0xac
fst qword [edi + 0x1a]
idiv dword [ecx - 0x1f]
cmpsb byte [esi], byte es:[edi]
inc ebp
mov eax, 0x78617c81
jno 0x43f583
adc esi, 0xfffffffe
test eax, 0x7ca456a9
push ecx
xor dword [ebx + ebx*8], ebp
jno 0x43f5fb
pushal
sar ecx, cl
test byte [eax + ecx - 0x30], bh
push ebx
test eax, 0x4ed0fca9
out dx, al
cmpsd dword [esi], dword es:[edi]
sti
or bh, byte gs:[edx - 0x7236e277]
fsub dword [edi - 0x59]
inc ecx
invalid
popfd
mov bh, 0x7b
mov ebp, 0xc5133a4
in eax, 0x1f
sbb ch, byte [eax - 0x1467a50f]
dec eax
loope 0x43f597
push edx
xchg dword [eax], esi
xor byte [ebx], bh
mov edi, 0x2ec82602
aas
sbb al, 0xb7
mov bl, 0x7c
add dl, byte [ecx - 0x3570a49b]
out dx, al
rcl byte [esi + 0x44e8fafe], 0xd8
jecxz 0x43f5d4
inc ebx
leave
mov esi, 0x53ff6556
jne 0x43f5da
pushal
sub byte [ebp - 0x176f58eb], bh
inc ebx
invalid

Function at 0x4425f4
Capabilities:
Encode data using xor

Disassembly:
cwde
xchg ebx, eax
adc al, byte [esi + 0x1a]
out 0xfb, al
inc ebp
adc byte [esp + ebp*2 + 0x79], bl
stosd dword es:[edi], eax
mov ecx, 0xc3e8bb78
mov edi, dword [ecx]
push eax
sbb dword [eax], eax
fdivr qword [edi]
xor edi, esp
add esi, ebp
xchg ebp, eax
dec ebp
aaa
xor byte [0x7c9c3673], cl
cwde
pop edi
dec ebp
add al, 0xb2
mov ebx, 0xfb924041
sbb al, 0x29
in al, 0x24
dec esp
mov dl, 0x18
aad 0x1a
mov ah, byte [ecx]
xor eax, 0x36efc0f7
and eax, 0x6d1df192
inc ebp
jb 0x44260b
in al, 0xd
mov dl, 0xa2
cmpsb byte [esi], byte es:[edi]
enter 0x66bc, 0xffffffffffffff83
xchg ecx, eax
arpl word [ecx - 0x45], sp
cmp eax, esi
pop edi
inc edx
fimul dword [esi + 0x64d49517]
loop 0x4426d5
wait
wait
sbb eax, 0xbab70df3
xadd esi, esp
bound ebp, qword [eax + eax*4]
out 0x62, al
sub al, 0x80
jns 0x442660
shl ah, 1
jno 0x4426c0
lahf
pop edi
sub edx, dword [ebp + ebx*8 + 0x21bdf736]
mov bh, byte [edi - 0x613f696a]
mov edi, 0x9ec09696
les esp, [edi + 0x4b]
out dx, eax
out 0x2e, eax
mov esi, 0x20b51ba7
pop esi
test dword [edx - 0x80], edi
jp 0x442608
jp 0x442686
dec esp
push ss
adc al, 9
adc ebp, dword [esi + ebx + 0x6d]
pop ds
jnp 0x442674
mov ebx, 0x7e4be5f8
dec esp
rol byte [eax], 0xd2
push esp
pushfd
popfd
cmp byte [ebx], dh
scasd eax, dword es:[edi]
xchg ebp, eax
movsb byte es:[edi], byte [esi]
or esp, eax
inc ecx
dec ebp
jb 0x4426bb
jle 0x442655
jmp 0xe9f607ea
loopne 0x44266c
invalid
mov ebp, 0x648f03e2
ljmp 0xb17b
invalid
Function at 0x4ba510
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x10], eax
push str.TCaption2212
push str.TCaption2212
call fcn.00417e10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ba55b
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x4c7a9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
jmp fcn.006f3a7e

Function at 0x4bba61
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c4358
cmp edx, dword [eax]
je 0x4bba83
add eax, 8
inc ecx
cmp eax, 0x4c43e8
jl 0x4bba74
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c4358]
jne 0x4bbbb1
mov eax, dword [0x4c8cdc]
cmp eax, 1
je 0x4bbb8b
test eax, eax
jne 0x4bbab4
cmp dword [0x4c4280], 1
je 0x4bbb8b
cmp edx, 0xfc
je 0x4bbbb1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbaeb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bc440
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc8d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbb2e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc8d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c0c2c
push edi
call fcn.004be7a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bc440
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc450
lea eax, [ebp - 0xa0]
push 0x4c0c0c
push eax
call fcn.004bc450
push dword [esi + 0x4c435c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc450
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004be714
add esp, 0x2c
pop edi
jmp 0x4bbbb1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c435c]
push 0
push eax
push dword [esi]
call fcn.004bc8d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x403e59
pop dword [ebp - 0x18]
mov eax, 0x593f3ca
add eax, 0xfaac4a8f
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x8bee518d
sub dword [ebp - 0x28], 0x3d9c0c42
mov dword [ebp - 0x24], 0x4cd62c4
sub dword [ebp - 0x24], 0xd29a167f
mov dword [ebp - 0x20], 0xe4731b1e
sub dword [ebp - 0x20], 0x9826d6f0
mov dword [ebp - 0x1c], 0xa111f869
sub dword [ebp - 0x1c], 0xa111f869
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4ec1ddd
add eax, 0xfb545287
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xaaf6a7cf
add dword [ebp - 0x28], 0xc97bc187
mov dword [ebp - 0x24], 0xe1882e92
sub dword [ebp - 0x24], 0xa01bcd1d
mov dword [ebp - 0x20], 0x1cf128b4
sub dword [ebp - 0x20], 0xb981bc48
mov dword [ebp - 0x1c], 0xfb6308f0
sub dword [ebp - 0x1c], 0xfb6308f0
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x345fd
push 0
call eax
mov ecx, 0x2b7fea4f
add ecx, 0xd4805433
xor edx, edx
add edx, eax
mov ebx, 0x5c70b778
add ebx, 0xa3d04888
add ebx, dword [ebp - 0x18]
mov esi, 0x986d7717
add esi, 0x15ab74d5
xor dword [ebp - 8], 0xae99bc08
mov edi, dword [ebx]
sub dword [ebp - 0x10], ebx
sub edi, esi
add dword [ebp - 0x10], ecx
mov dword [edx], edi
sub dword [ebp - 0x14], 0xbe6305d1
add edx, 0xd7a37f2a
add edx, 0x285c80da
add ebx, 0x3e29e295
sub ebx, 0x3e29e291
loop 0x403f78
add eax, 0x7b42121c
add eax, 0x84bedabf
xor ebx, ebx
add ebx, eax
add eax, 0xa4fe394c
sub eax, 0xa4fe3947
mov ecx, 0x30510a6c
add ecx, 0xcfeef594
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10001660
Capabilities:
Get graphical window text

Disassembly:
push ebp
shl ecx, 0xc
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x4c
mov dword [ebp - 0x3c], ecx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x48], 0xd
mov dword [ebp - 0x38], 0xf000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 8]
sub esp, 0x10
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104d
call edi
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x10001d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
lea eax, [ebp - 0x18]
push ebx
sub esp, 0x34
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20019
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftCryptographyUICertmgrPurpose
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x10001dcf
lea eax, [ebp - 0x14]
lea esi, [ebp - 0x10]
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.Purpose
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x18]
sub esp, 0x18
test eax, eax
je 0x10001de0
cmp eax, 0xea
je 0x10001de0
mov dword [esp], edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
xor edi, edi
cmp dword [ebp - 0x14], 1
jne 0x10001dc3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x1c]
test eax, eax
mov edi, eax
je 0x10001dc3
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Purpose
mov dword [esp], edx
call ebx
sub esp, 0x18
test eax, eax
jne 0x10001e38
mov edx, dword [ebp - 0x18]
jmp 0x10001dc3
mov dword [esp], edi
xor edi, edi
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x18]
jmp 0x10001dc3

Function at 0x10002cd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
mov eax, dword [eax + 0xc]
add eax, 0x28
jmp sym._format_long_date

Function at 0x10002cf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
mov eax, dword [eax + 0xc]
add eax, 0x20
jmp sym._format_long_date
Function at 0x10004e70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x4c
mov dword [esp + 4], 0x965
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x1c
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
test eax, eax
je 0x10004f34
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.ucrtbase.dll__strdup]
mov esi, eax
test eax, eax
je 0x10004f3c
mov dword [ebx], 0x1c
mov dword [ebx + 4], eax
mov dword [ebp - 0x48], 0xd
mov dword [ebp - 0x3c], 0x2000
mov dword [ebp - 0x38], 0xf000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], edi
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x40], 0
sub esp, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1007
mov dword [esp], edi
call dword [sym.imp.user32.dll_SendMessageA]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10004f34
Function at 0x10007330
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
cmp eax, 0x110
je 0x10007360
cmp eax, 0x111
jne 0x100073de
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym._add_purpose_dlg_proc_16.part.0
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x9c4
mov dword [esp], ebx
call edi
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0xc5
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 4], 0x9c4
mov dword [esp], ebx
call edi
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowScrollBar]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x1000b170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 0xc]
test byte [0x10013140], 8
jne 0x1000b1a0
cmp ebx, 1
je 0x1000b1db
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], str.__p___08x___08Ix__n
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], str.cert_prop_sheet_proc
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10013140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
cmp ebx, 1
jne 0x1000b18a
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 2
lea edi, [ebp - 0x1c]
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 0xc], 2
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_MapWindowPoints]
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
sub esp, 8
mov edi, dword [ebp - 0x1c]
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 0x18], 0x1d
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowPos]
xor eax, eax
sub esp, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x1000bd80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
lea edx, [ebp - 0x14c]
lea edi, [ebp - 0x15c]
push ebx
mov ebx, eax
sub esp, 0x168
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x50
mov dword [esp + 4], 0x1f
mov dword [esp], 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
sub esp, 0x10
mov dword [esp], esi
lea esi, [ebp - 0xac]
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
lea edx, [ebp - 0x14c]
sub esp, 8
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0x800
call dword [sym.imp.kernel32.dll_GetDateFormatW]
sub esp, 0x18
cmp word [ebp - 0xac], 0
je 0x1000be40
mov ecx, esi
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x1000be18
sub ecx, esi
sar ecx, 1
mov edx, esi
mov eax, ebx
call sym._add_unformatted_text_to_control
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
jmp 0x1000be25
Function at 0x1000ff20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x10013140], 8
jne 0x10010048
cmp esi, 0x110
je 0x1000ffc0
cmp esi, 0x111
jne 0x1000ffb0
cmp dword [ebp + 0x10], 0x7d5
je 0x10010090
cmp dword [ebp + 0x10], 0x7d6
jne 0x1000ffb0
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov esi, eax
test eax, eax
je 0x1000ffb0
mov edx, dword [eax + 4]
test edx, edx
je 0x10010100
mov dword [esp + 0x10], eax
mov eax, dword [0x10022004]
mov dword [esp + 0xc], sym._user_notice_dlg_proc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x67
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov esi, dword [eax + 0x1c]
test byte [esi + 8], 0x10
jne 0x100100d0
mov dword [esp], ebx
mov dword [esp + 4], 0x7d6
call edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
mov edx, esi
mov eax, ebx
sub esp, 8
call sym._set_cert_info
mov edx, dword [esi + 0x10]
mov eax, ebx
xor ecx, ecx
mov dword [esp], 0x3f2
call sym._set_cert_name_string
mov edx, dword [esi + 0x10]
mov eax, ebx
mov ecx, 1
mov dword [esp], 0x3f3
call sym._set_cert_name_string
mov edx, dword [esi + 0x10]
mov eax, ebx
add edx, 0xc
call sym._set_cert_validity_period.isra.0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], str.__p___08x___08Ix___08Ix__n
mov dword [esp + 0x18], eax
mov dword [esp + 8], str.general_dlg_proc
mov dword [esp + 4], 0x10013140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000ff3c
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call sym.cryptui.dll_CryptUIWizImport
xor eax, eax
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], 0x7d5
mov dword [esp], ebx
call edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x1000ffd6
mov eax, dword [eax]
test eax, eax
je 0x1000ffb0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov eax, dword [ebp - 0x10]
sub esp, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [esi]
mov dword [esp], eax
call sym._HlinkSimpleNavigateToString_32
mov eax, dword [ebp - 0x10]
sub esp, 0x20
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x1000ffb0
Function at 0x10012020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10012078
cmp byte [esi + ebx - 1], 0xa
je 0x1001204c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100220a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret