joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439960
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5eb6e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x21c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x214]
mov edi, eax
cmp edi, ebx
jne 0x4399ec
xor eax, eax
cmp ecx, ebx
je 0x4399ce
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x21c]
and esi, 0x300
mov edi, eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], esi
cmp eax, ebx
je 0x439a0c
cmp ecx, ebx
je 0x4399f7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055064f
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x22c]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x20c]
push edx
push ebx
push ecx
mov dword [ebp - 0x218], pe_nt_image_headers32
call esi
test eax, eax
jne 0x439a8c
lea esp, [esp]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00439960
mov edi, eax
cmp edi, ebx
jne 0x439ae3
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x214]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
push ebx
push ecx
mov dword [ebp - 0x218], pe_nt_image_headers32
call esi
test eax, eax
je 0x439a40
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x439aa3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x214], ebx
mov edx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
push edx
mov dword [ebp - 0x210], ebx
call fcn.00439bb0
mov esi, eax
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x439ace
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055064f
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x439af4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055064f
mov esp, ebp
pop ebp
ret 4
Function at 0x43a6e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c7a6
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5eb6e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x428], edi
cmp edi, ebx
jne 0x43a760
call fcn.00438c20
mov esi, eax
jmp 0x43a877
mov eax, dword [ebp - 0x41c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x43a77f
call fcn.00438c20
jmp 0x43a86e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
jne 0x43a79b
call fcn.00438c20
jmp 0x43a86e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x41c], eax
cmp ecx, eax
jae 0x43a7de
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x43a7c9
lea eax, [ebp - 0x418]
call fcn.004392e0
lea ecx, [ebp - 0x424]
call fcn.00402960
mov eax, 0x8007000e
jmp 0x43a892
mov eax, ecx
lea esi, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00438be0
mov dword [ebp - 4], 1
jmp 0x43a818
mov ecx, dword [ebp - 0x418]
cmp ecx, ebx
jne 0x43a829
mov esi, 0x8007000e
jmp 0x43a870
mov eax, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x420]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x43a84d
call fcn.00438c20
jmp 0x43a86e
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x430]
call fcn.0043a590
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x43a890
lea eax, [ebp - 0x418]
call fcn.004392e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055064f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ff20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cec8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5eb6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
xor esi, esi
mov dword [ebp + 0x10], esi
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp + 0x10], esi
push eax
cmp dword [edi + 8], esi
jne 0x43ff84
call fcn.00403760
mov ecx, eax
mov eax, dword [ebp + 8]
add esp, 4
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00403760
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x44004d
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x10]
push edx
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0x10]
cmp eax, esi
jbe 0x440010
add eax, 2
push eax
call fcn.004533b5
mov esi, eax
add esp, 4
test esi, esi
je 0x440010
mov edx, dword [ebp + 0x10]
add edx, 2
push edx
push 0
push esi
call fcn.00553a60
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x440007
push esi
lea ecx, [ebp - 0x10]
call fcn.004032d0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.004533aa
add esp, 4
lea esi, [ebx - 0x10]
push esi
call fcn.00403760
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4400dc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x4400dc
add eax, 2
push eax
call fcn.004533b5
mov esi, eax
add esp, 4
test esi, esi
jne 0x44006d
lea esi, [ebx - 0x10]
push esi
call fcn.00403760
add esp, 4
jmp 0x4400b8
mov eax, dword [ebp + 0x10]
add eax, 2
push eax
push 0
push esi
call fcn.00553a60
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4400a6
push esi
lea ecx, [ebp - 0x10]
call fcn.004032d0
mov ebx, dword [ebp - 0x10]
push esi
call fcn.004533aa
lea esi, [ebx - 0x10]
push esi
call fcn.00403760
add esp, 8
mov edi, dword [ebp + 8]
or edx, 0xffffffff
add eax, 0x10
mov dword [ebp - 4], edx
lea ecx, [esi + 0xc]
mov dword [edi], eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4400dc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x440100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [eax + 8], 0
jne 0x440114
xor eax, eax
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov edx, dword [eax + 4]
push 0
push 0
push ecx
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x442b70
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xa8]
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x442b93
push eax
call fcn.004533aa
add esp, 4
mov dword [esi + 0xa8], ebx
push esi
push 0x442c00
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esi + 0xac]
xor eax, eax
test ecx, ecx
jle 0x442bd5
test eax, eax
jl 0x442bf1
cmp eax, ecx
jge 0x442bf1
mov edx, dword [esi + 0xa8]
mov ebx, dword [ebp + 8]
cmp dword [edx + eax*8], ebx
je 0x442bde
inc eax
cmp eax, ecx
jl 0x442bb7
mov ebx, dword [ebp - 4]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, ecx
jge 0x442bf1
mov ecx, edx
mov ebx, dword [ecx + eax*8 + 4]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00453d3c
int3
Function at 0x444060
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xa8]
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x444083
push eax
call fcn.004533aa
add esp, 4
mov dword [esi + 0xa8], ebx
push esi
push 0x4440f0
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esi + 0xac]
xor eax, eax
test ecx, ecx
jle 0x4440c5
test eax, eax
jl 0x4440e1
cmp eax, ecx
jge 0x4440e1
mov edx, dword [esi + 0xa8]
mov ebx, dword [ebp + 8]
cmp dword [edx + eax*8], ebx
je 0x4440ce
inc eax
cmp eax, ecx
jl 0x4440a7
mov ebx, dword [ebp - 4]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, ecx
jge 0x4440e1
mov ecx, edx
mov ebx, dword [ecx + eax*8 + 4]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00453d3c
int3
Function at 0x444fd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eba3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5eb6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
xor esi, esi
lea ecx, [ebx + 0x1c]
push eax
mov dword [ebp - 4], esi
call fcn.004037d0
lea edi, [ebx + 4]
call fcn.00445d40
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
je 0x44509e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44509e
test al, 0x10
jne 0x44509e
push 0x1c
call fcn.0045337b
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, esi
je 0x445054
mov ecx, dword [ebx + 0x18]
push ecx
mov esi, eax
call fcn.00416660
mov edi, eax
xor esi, esi
jmp 0x445056
xor edi, edi
mov byte [ebp - 4], 0
cmp edi, esi
je 0x44509e
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x44509e
mov ecx, dword [eax + 4]
push ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 0x4450e0
lea esi, [ebp - 0x20]
mov eax, edi
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 0x1388
mov dword [edi], ecx
call fcn.004168f0
mov ecx, edi
call fcn.004166f0
push edi
call fcn.004533aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4450c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45a8ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x45a936
call fcn.00460c32
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45a936
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45a952
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045a467
mov esi, eax
test edi, edi
je 0x45a950
test ebx, ebx
je 0x45a950
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45b134
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57b924
call fcn.00553622
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45b159
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x45b19f
lea ecx, [ebp - 0x10]
call fcn.004038b0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439830
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403930
mov eax, esi
call fcn.005536fa
ret 8

Function at 0x45c36f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00458f99
call fcn.00455daa
cmp eax, esi
pop esi
jne 0x45c38b
mov ecx, 0x5efb48
jmp fcn.00477e4e
ret

Function at 0x45e4d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00460c32
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45e509
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0045e11c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x45e567
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x45e58b
cmp dword [edi + 0x54], 0
jne 0x45e58b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00460c32
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045e528
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x464277
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4642a2
call fcn.00460c32
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x4642c5
push eax
push dword [esi + 4]
call fcn.004641d7
push esi
push eax
mov ecx, 0x5ef740
call fcn.00463e84
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x46caff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00463c90
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x46cbba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0046c695
jmp 0x46cbcf
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret
Function at 0x4742aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4742f2
call fcn.00460c32
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4742f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x474335
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x47431e
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x47431e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x474332
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x48085a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x480874
call fcn.00453d3c
call fcn.00460c32
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x480894
xor eax, eax
jmp 0x4809af
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x48088d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x48088d
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045337b
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x48086f
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x4808f1
mov ecx, edi
call fcn.00479317
jmp 0x4808f6
call fcn.00479201
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x480908
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x480923
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x48099b
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x480972
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x480965
test eax, eax
jbe 0x480965
push eax
mov ecx, 0x5e8284
call fcn.004f04e6
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x48093c
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x48099b
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.004533aa
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x494b0d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push dword [ebp + 0x14]
mov ebx, ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
andnps xmm1, xmmword [ebx + 0x575653ec]
push ebp
mov ebp, esp
push ebx
push esi
push edi

Function at 0x496e24
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x496f65
push esi
push edi
push 0x59484c
call fcn.00462365
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x496eb4
mov esi, dword [ebx + 0x168]
jmp 0x496ea0
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x496ea0
push edi
call fcn.00457553
push eax
push 0x5e8db4
call fcn.00462383
pop ecx
pop ecx
test eax, eax
je 0x496ea0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x496ea0
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x496e60
lea ecx, [ebx + 0x164]
call fcn.0046baec
jmp 0x496f63
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x496f63
jmp 0x496eca
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004f4b3c
mov esi, dword [eax]
test esi, esi
jne 0x496ee3
xor ebx, ebx
jmp 0x496ee6
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x496f59
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x496f59
test edi, edi
je 0x496f2b
push esi
push 0x5e8db4
call fcn.00462383
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x591fb4
call fcn.00462383
pop ecx
pop ecx
test eax, eax
je 0x496f59
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.00496322
test eax, eax
jne 0x496f59
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004962f2
cmp dword [ebp - 8], 0
jne 0x496ec7
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4a1416
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5efcb0], 0
mov dword [ebp - 4], ecx
jne 0x4a142c
xor eax, eax
jmp 0x4a1466
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4a143c
call fcn.00460c32
mov esi, dword [eax + 0xc]
push edi
push dword [0x5f0ea8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4a1462
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4a146a
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4a1488
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4a1464
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004a1338
mov esi, eax
jmp 0x4a147a