joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4531e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4531fb
add esp, 0xfffffff0
call fcn.004034e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004194ac
mov eax, dword [0x46006c]
cmp word [eax + 2], 0
jne 0x453223
mov eax, dword [0x46006c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004548bc
mov eax, dword [0x460118]
cmp word [eax + 2], 0
jne 0x45323d
mov eax, dword [0x460118]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454ab4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411754]
call fcn.004031ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411754]
call fcn.004031ac
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b6a8]
call fcn.00421784
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4533c4
mov eax, dword [0x45ff94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421b54
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455054
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45ff94]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c33c
test eax, eax
je 0x453332
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408600
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c364
test eax, eax
je 0x453346
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404184
mov eax, dword [0x45fe8c]
cmp byte [eax], 0
jne 0x45337a
mov eax, ebx
call fcn.004534ec
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00455230
mov eax, ebx
call fcn.00455bf4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4533ba
call fcn.00403540
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45376c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x461bb8]
cmp dword [eax + 0x30], 0
je 0x453816
cmp dword [ebx + 0x94], 0
jne 0x453810
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4536fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453810
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4537d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453810
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413abc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4537e5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454378
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4543ad
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404004
jmp 0x4543ba
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f68
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45540c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45544d
mov eax, esi
call fcn.0043bcf8
test al, al
je 0x45544d
mov eax, dword [ebx + 0x84]
call fcn.0043b9f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45544d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b9f4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x458348
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0x5d21
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_VirtualProtectEx
pop ecx
pop ecx
pop ebp
ret
Function at 0x50c050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb5000]
push edi
jmp 0x50c06a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c060
mov eax, 1
add ebx, ebx
jne 0x50c083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c094
jne 0x50c0b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c0b3
dec eax
add ebx, ebx
jne 0x50c0a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50c078
add ebx, ebx
jne 0x50c0af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50c105
xor ecx, ecx
sub eax, 3
jb 0x50c0cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c13a
sar eax, 1
mov ebp, eax
jmp 0x50c0d6
add ebx, ebx
jne 0x50c0d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c0a4
inc ecx
add ebx, ebx
jne 0x50c0e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c0a4
add ebx, ebx
jne 0x50c0f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c0e6
jne 0x50c102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c0e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c116
jmp 0x50c066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c124
add edi, ecx
jmp 0x50c066
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50c142
cmp byte [edi], 0x11
jne 0x50c142
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50c147
lea edi, [esi + 0x105000]
mov eax, dword [edi]
or eax, eax
je 0x50c1bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13f5e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13f760]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c174
mov ecx, edi
jns 0x50c1a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13f764]
or eax, eax
je 0x50c1b9
mov dword [ebx], eax
add ebx, 4
jmp 0x50c191
call dword [esi + 0x13f774]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50c1f0
cmp al, 0xef
ja 0x50c1e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50c1c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50c1d2
mov ebp, dword [esi + 0x13f768]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50c224
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x1000a578
Capabilities:
Hash data with md5

Disassembly:
push edi
xor eax, eax
mov dword [0x100227b0], eax
xor eax, eax
mov dword [0x100227b4], eax
mov edi, 0x10022760
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov eax, 0x100227a0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop edi
ret

Function at 0x1000a6f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegCreateKeyExA
or eax, eax
jne 0x1000a72f
push dword [ebp + 0x10]
push dword [ebp - 8]
call sub.advapi32.dll_RegDeleteValueA
push eax
push dword [ebp - 8]
call sub.advapi32.dll_RegCloseKey
pop eax
leave
ret 0xc

Function at 0x1000a740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push dword [ebp + 0x14]
pop dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegCreateKeyExA
or eax, eax
jne 0x1000a78f
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call sub.advapi32.dll_RegSetValueExA
push eax
push dword [ebp - 8]
call sub.advapi32.dll_RegCloseKey
pop eax
leave
ret 0x10

Function at 0x1000a7a0
Capabilities:
Check os version
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
cmp dword [ebp + 0x18], 1
jne 0x1000a7e5
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x9c], 5
jb 0x1000a7de
cmp dword [ebp - 0x98], 1
jb 0x1000a7de
mov ecx, 0x101
jmp 0x1000a7ea
mov ecx, 1
jmp 0x1000a7ea
mov ecx, 0xf003f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push ecx
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegCreateKeyExA
or eax, eax
jne 0x1000a834
push dword [ebp + 0x14]
call sub.kernel32.dll_lstrlenA
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call sub.advapi32.dll_RegSetValueExA
push eax
push dword [ebp - 8]
call sub.advapi32.dll_RegCloseKey
pop eax
leave
ret 0x14

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x6a0e47f9
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x55d44116
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401aa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
xor ecx, ecx
xor edx, edx
mov ebp, esp
push ebx
sub esp, 0x254
mov dword [ebp + edx - 0x220], ecx
add edx, 4
cmp edx, 0x18
jb 0x401aae
mov edx, dword [0x41803c]
mov dword [esp + 0x20], eax
lea ebx, [ebp - 0x208]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0x7d2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.SysTabControl32
mov dword [esp], 0
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x214], 0x100
call sym._CreateWindowExW_48
sub esp, 0x30
mov dword [0x418004], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [0x41803c]
sub esp, 8
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0xfa
mov dword [esp], eax
call sym._LoadStringW_16
lea eax, [ebp - 0x224]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x418004]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x133e
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [0x41803c]
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x418004]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40f020
mov dword [esp], 0x200
call sym._CreateWindowExW_48
mov ebx, dword [ebp - 4]
mov dword [0x418008], eax
sub esp, 0x30
leave
ret
Function at 0x401c20
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x4c
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp eax, 5
je 0x401c80
cmp eax, 0x4e
je 0x401de0
cmp eax, 1
je 0x401d40
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._DefWindowProcW_16
sub esp, 0x10
mov ebx, eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [section..bss]
movzx esi, bx
mov dword [esp + 0x14], 1
shr ebx, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x28
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._MoveWindow_24
lea eax, [ebx - 0x2b]
sub ebx, 0x57
sub esp, 0x18
mov dword [esp + 0x10], eax
lea eax, [esi - 6]
mov dword [esp + 0xc], eax
mov eax, dword [0x418004]
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0x28
mov dword [esp + 4], 3
mov dword [esp], eax
call sym._MoveWindow_24
lea eax, [esi - 0x1a]
sub esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [0x418008]
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0xa
mov dword [esp], eax
call sym._MoveWindow_24
mov eax, ebx
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
xor eax, eax
mov dword [esp + 0x20], esi
xor ebx, ebx
mov word [ebp - 0x1a], ax
mov eax, dword [0x41803c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x26]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [ebp - 0x26], 0x740053
mov dword [ebp - 0x22], 0x740061
mov dword [ebp - 0x1e], 0x630069
call sym._CreateWindowExW_48
mov dword [section..bss], eax
sub esp, 0x30
mov eax, esi
call dbg.CreateTabCtrl
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edx, 0x7d2
je 0x401e00
lea esp, [ebp - 0xc]
xor ebx, ebx
pop ecx
mov eax, ebx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp dword [ebx + 8], 0xfffffdd9
jne 0x401de8
mov eax, dword [0x418008]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [0x418004]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x130b
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x401de8
mov eax, dword [0x418008]
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
jmp 0x401c6e
Function at 0x403440
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ecx, 0x32
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x4e0]
mov esi, 0x40e0c0
push ebx
mov ebx, eax
sub esp, 0x52c
mov dword [ebp - 0x4ec], edx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x418]
mov dword [esp], eax
lea edi, [ebp - 0x218]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 1
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edi
mov dword [esp + 4], 2
mov dword [esp], ebx
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0
call sym._CreateWindowExW_48
sub esp, 0x30
test eax, eax
je 0x403670
mov dword [esp + 4], edi
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], 0x50000000
call sym._CreateStatusWindowW_16
lea ecx, [ebp - 0x4e0]
sub esp, 0x10
mov dword [0x418028], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x50000000
call sym._CreateToolbarEx_52
sub esp, 0x34
mov dword [0x41802c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6f
mov dword [esp + 4], 0x401
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [0x41802c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x401
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [0x41802c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x74
mov dword [esp + 4], 0x401
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x4ec]
mov dword [0x418020], esi
sub esp, 0x10
mov dword [0x41803c], ebx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [0x418040], 1
mov dword [0x418044], 5
call sym._ShowWindow_8
sub esp, 8
mov dword [esp], esi
call sym._UpdateWindow_4
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403680
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xor eax, eax
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x18
cmp dword [ecx + 4], 0x111
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
je 0x4036b8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
movzx ecx, dx
cmp dx, 1
je 0x4036f0
cmp ecx, 2
jne 0x4036a4
mov dword [esp], ebx
mov dword [esp + 4], 2
call sym._EndDialog_8
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, 0x418048
mov ecx, pe_nt_image_headers32
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x3e9
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov esi, eax
mov dword [esp], eax
call sym._GetWindowTextLengthW_4
sub esp, 4
test eax, eax
jle 0x40373d
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0x418048
mov dword [esp], esi
call sym._GetWindowTextW_12
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], 1
call sym._EndDialog_8
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
Function at 0x404ec0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x40
mov word [ebp - 0xa], ax
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x12], 0x410050
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xe], 0x45004e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp + 0x10]
sub esp, 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x12]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CreateWindowExW_48
mov edx, dword [ebp + 0xc]
sub esp, 0x30
mov dword [edx], eax
test eax, eax
je 0x404fa0
mov dword [ebx], 0
mov eax, 1
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0x12c
mov dword [ebx + 0xc], 5
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
jmp 0x404f90

Function at 0x405010
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, ecx
push ebx
mov ebx, edx
mov eax, dword fs:[0x18]
sub esp, 0x1c
mov dword [esp + 8], 0x60c
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, edi
sub esp, 0xc
mov byte [ecx], al
xor eax, eax
lea esi, [esi]
movzx edi, word [ebx + eax]
mov word [ecx + eax + 2], di
add eax, 2
test di, di
jne 0x405058
test esi, esi
je 0x405084
xor eax, eax
nop
movzx ebx, word [esi + eax]
mov word [ecx + eax + 0x202], bx
add eax, 2
test bx, bx
jne 0x405070
test edx, edx
je 0x4050a4
xor eax, eax
lea esi, [esi]
movzx ebx, word [edx + eax]
mov word [ecx + eax + 0x402], bx
add eax, 2
test bx, bx
jne 0x405090
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4050b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov edx, 0xffff0000
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x68c
mov eax, dword [0x418664]
mov dword [ebp - 0x654], 0x45
mov dword [esp + 4], str.Component_Categories_
test eax, eax
mov dword [esp], 0x80000000
mov dword [ebp - 0x640], 0x100
cmove eax, edx
mov dword [ebp - 0x658], 0xffff0001
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x670]
mov dword [esp + 8], eax
mov dword [ebp - 0x634], 1
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x4052ea
mov ebx, 0xffffffff
lea esi, [ebp - 0x618]
lea esi, [esi]
mov eax, dword [ebp - 0x670]
add ebx, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x4052b0
lea eax, [ebp - 0x66c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x670]
mov dword [esp], eax
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x405130
lea eax, [ebp - 0x668]
lea edi, [ebp - 0x218]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x66c]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [ebp - 0x668], 0x200
mov dword [ebp - 0x664], 0x200
mov dword [ebp - 0x660], 0x200
call sym._RegQueryValueW_16
sub esp, 0x10
test eax, eax
jne 0x405240
cmp word [ebp - 0x218], 0
je 0x405240
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x644], edi
mov dword [esp], eax
call sym._RegCloseKey_4
mov ecx, esi
mov edx, esi
mov eax, 1
sub esp, 4
mov dword [esp], 0
call sym._CreateITEM_INFO
mov dword [esp + 8], 0
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x65c]
mov dword [esp + 0xc], eax
mov eax, dword [0x418030]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x405130
lea eax, [ebp - 0x664]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x660]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x66c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._RegEnumValueW_32
sub esp, 0x20
test eax, eax
jne 0x405130
cmp word [ebp - 0x218], 0
jne 0x4051d8
jmp 0x405130
mov eax, dword [ebp - 0x670]
mov dword [esp], eax
call sym._RegCloseKey_4
mov eax, dword [0x418664]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x418030]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret