joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x5991f8], 0
je 0x40d6b3
movzx eax, byte [0x5991fd]
test eax, eax
je 0x40d6b3
mov dword [ebp - 8], 0x100
jmp 0x40d6ba
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
or edx, 0xf003f
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40d726
cmp dword [0x5991f8], 0
je 0x40d6f9
movzx edx, byte [0x5991fd]
test edx, edx
je 0x40d6f9
mov dword [ebp - 0xc], 0x100
jmp 0x40d700
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
or ecx, 0xf003f
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
add dword [ebp - 0x10], 1
cmp byte [ebp - 0x15], 0
jne 0x40d735
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40d77d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x40d789
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40d790
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x5991f8], 0
je 0x40d7b3
movzx eax, byte [0x5991fd]
test eax, eax
je 0x40d7b3
mov dword [ebp - 8], 0x100
jmp 0x40d7ba
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
or edx, 0xf003f
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40d826
cmp dword [0x5991f8], 0
je 0x40d7f9
movzx edx, byte [0x5991fd]
test edx, edx
je 0x40d7f9
mov dword [ebp - 0xc], 0x100
jmp 0x40d800
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
or ecx, 0xf003f
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40d851
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x40d85d
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40eec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x54bff8
push 0x8a
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
push 0x65
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0051ab50
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x40ef18
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0x19
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
mov dl, byte [ecx]
mov byte [ebp - 0x79], dl
add dword [ebp - 0x74], 1
cmp byte [ebp - 0x79], 0
jne 0x40ef27
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 5
jbe 0x40ef4c
xor al, al
jmp 0x40ef4e
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051a243
mov esp, ebp
pop ebp
ret
Function at 0x40f880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534c84
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x595834]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 4
call fcn.0041be68
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40f8cc
mov ecx, dword [ebp - 0x18]
call fcn.0040a830
mov dword [ebp - 0x68], eax
jmp 0x40f8d3
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040a5d0
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x40f7d0
push 0
push 0
call fcn.0051ad9d
add esp, 0x18
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041b810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x414f80
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535e4d
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x10], ax
mov byte [ebp - 0x234], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x233]
push ecx
call fcn.0051ab50
add esp, 0xc
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x240]
push eax
call fcn.0040a760
add esp, 4
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
add ecx, 0x10
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 2
push 0x54ca9c
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.00411600
add esp, 0xc
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
call fcn.0041b810
push 0x200
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.0051ab50
add esp, 0xc
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x24c], ecx
cmp dword [ebp - 0x24c], 0x200
jle 0x4150c3
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0041b810
mov dword [ebp - 4], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041b810
jmp 0x4151e3
mov edx, dword [ebp - 0x238]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0x200
jae 0x415145
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x26c], ecx
lea edx, [ebp - 0x234]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x26c]
mov dl, byte [ecx]
mov byte [ebp - 0x275], dl
mov eax, dword [ebp - 0x270]
mov cl, byte [ebp - 0x275]
mov byte [eax], cl
mov edx, dword [ebp - 0x26c]
add edx, 1
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
add eax, 1
mov dword [ebp - 0x270], eax
cmp byte [ebp - 0x275], 0
jne 0x415102
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x25c]
mov byte [ebp + eax - 0x233], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 3
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
mov edx, 0x414
mov word [ebp - 0x1c], dx
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x12], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [ebp - 4], 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0041b810
mov dword [ebp - 4], 9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041b810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0051a243
mov esp, ebp
pop ebp
ret
Function at 0x41df36
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.0042a601
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41df6f
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.0041db87
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 0x41dfce
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 0x41dff2
cmp dword [edi + 0x54], 0
jne 0x41dff2
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042a601
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.0041df8e
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 0x4251fd
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 0x425244
call fcn.0042a601
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x425244
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x425260
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00424d77
mov esi, eax
test edi, edi
je 0x42525e
test ebx, ebx
je 0x42525e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x426186
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x53ef67
call fcn.0051d115
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4261ab
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4261f1
lea ecx, [ebp - 0x10]
call fcn.0040a830
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.0041c776
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00409e10
mov eax, esi
call fcn.0051d1ed
ret 8
Function at 0x42add8
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 0x42ae20
call fcn.0042a601
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42ae20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42ae63
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 0x42ae4c
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 0x42ae4c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42ae60
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 0x436a77
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x436ab0
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x436ad7
cmp dword [0x59b648], 0
jne 0x436ad7
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x436aca
push 0x12
call esi
test bx, ax
je 0x436ace
mov eax, edi
jmp 0x436b42
push edi
call fcn.0051feef
pop ecx
jmp 0x436b42
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.00428d67
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051a243
leave
ret 4
Function at 0x446aa0
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 0x446aba
call fcn.0041d3e4
call fcn.0042a601
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x446ada
xor eax, eax
jmp 0x446bf5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x446ad3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x446ad3
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.0041be68
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x446ab5
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 0x446b37
mov ecx, edi
call fcn.0043f56b
jmp 0x446b3c
call fcn.0043f455
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x446b4e
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x446b69
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x446be1
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x446bb8
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 0x446bab
test eax, eax
jbe 0x446bab
push eax
mov ecx, 0x59242c
call fcn.004fa4cb
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 0x446b82
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 0x446be1
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0041be97
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 0x44c58b
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 0x44c6cc
push esi
push edi
push 0x553098
call fcn.0042f9ba
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x44c61b
mov esi, dword [ebx + 0x168]
jmp 0x44c607
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 0x44c607
push edi
call fcn.00421ea2
push eax
push 0x593180
call fcn.0042f9d8
pop ecx
pop ecx
test eax, eax
je 0x44c607
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x44c607
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x44c5c7
lea ecx, [ebx + 0x164]
call fcn.0049628f
jmp 0x44c6ca
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x44c6ca
jmp 0x44c631
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004842d9
mov esi, dword [eax]
test esi, esi
jne 0x44c64a
xor ebx, ebx
jmp 0x44c64d
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44c6c0
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44c6c0
test edi, edi
je 0x44c692
push esi
push 0x593180
call fcn.0042f9d8
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x55c1fc
call fcn.0042f9d8
pop ecx
pop ecx
test eax, eax
je 0x44c6c0
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.0044badd
test eax, eax
jne 0x44c6c0
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0044baad
cmp dword [ebp - 8], 0
jne 0x44c62e
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x450c85
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.00450745
mov ebx, eax
cmp ebx, esi
je 0x450cf2
lea ecx, [ebp - 0x10c]
call fcn.0042a922
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051a243
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x450d10
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00450c85
cmp eax, esi
jne 0x450d57
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x100
call ebx
test eax, eax
je 0x450cfa
lea ecx, [ebp - 0x10c]
call fcn.0042a922
push dword [ebp - 0x114]
mov ecx, edi
call fcn.004506e6
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.0042a922
mov eax, esi
jmp 0x450ce1
Function at 0x45425a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x59b3b0], 0
mov dword [ebp - 4], ecx
jne 0x454270
xor eax, eax
jmp 0x4542aa
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x454280
call fcn.0042a601
mov esi, dword [eax + 0xc]
push edi
push dword [0x59c130]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4542a6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4542ae
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 0x4542cc
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4542a8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0045417c
mov esi, eax
jmp 0x4542be
Function at 0x455bc7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x539687
call fcn.0051d148
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0042ccce
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042c4db
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0042b6fc
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00434224
cmp eax, ebx
jne 0x455c5e
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00429c58
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041efcc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042cc26
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0042cd22
xor eax, eax
call fcn.0051d1ed
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042b722
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x59b2cc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0042c4bb
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.0045383e
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00455061
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00451ec5
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0042b722
call fcn.0041d79e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x455c21
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x455d10
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00429c58
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x455c2e
lea ecx, [ebp - 0x20]
call fcn.0042cea5
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x455d32
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00429c58
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041efcc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042cc26
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0042cd22
xor eax, eax
inc eax
jmp 0x455c56
Function at 0x463c86
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.0042078f
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x463d41
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.0046374e
jmp 0x463d56
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