joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4024f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402509
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402544
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402540
lea ebx, [ebx]
cmp esi, eax
jae 0x402544
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402530
cmp esi, eax
jb 0x40254a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53b458
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x58b998]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x58b998]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], eax
mov word [esp + 0x10], cx
mov dword [esp + 8], edx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], eax
call fcn.00402d50
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0050bda6
mov esp, ebp
pop ebp
ret
Function at 0x405e40
Capabilities:
Get proxy
Set registry value

Disassembly:
sub esp, 0x28
mov eax, dword [0x58b998]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareIDM_Computer_SolutionsUpdate
push SysReAllocStringLen
mov esi, ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x405eaa
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareIDM_Computer_SolutionsUpdate
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405f69
mov ecx, dword [esi + 0x614]
mov ebx, 8
cmp dword [esi + 0x618], ebx
jb 0x405ec5
mov eax, dword [esi + 0x604]
jmp 0x405ecb
lea eax, [esi + 0x604]
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add ecx, ecx
push ecx
push eax
push 1
push 0
push str.ProxyServer
push edx
call edi
mov eax, dword [esi + 0x630]
cmp dword [esi + 0x634], ebx
jb 0x405efb
mov ecx, dword [esi + 0x620]
jmp 0x405f01
lea ecx, [esi + 0x620]
add eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x14]
push 1
push 0
push str.ProxyPort
push ecx
call edi
mov edx, dword [esi + 0x638]
lea esi, [esp + 0x14]
call fcn.00402e50
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebx
jae 0x405f32
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x28]
lea ecx, [edx + edx]
mov edx, dword [esp + 0xc]
push ecx
push eax
push 1
push 0
push str.ProxyType
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x2c], ebx
jb 0x405f69
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040dd3a
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050bda6
add esp, 0x28
ret
Function at 0x40aca0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x52d4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x58b998]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00401620
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40ad00
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0040ab50
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401620
cmp dword [esp + 0x28], 8
jb 0x40ad4d
mov eax, dword [esp + 0x14]
push eax
call fcn.0040dd3a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x40d060
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x52db7b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x58b998]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x58b998]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, dword [esp + 0x248]
push 0
mov esi, ecx
push 0x568a30
mov ecx, edi
mov bl, 1
call fcn.004018d0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, 0x80004005
je 0x40d0fe
cmp eax, 0x80070057
je 0x40d0fe
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
jmp 0x40d0e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d0e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.004018d0
jmp 0x40d107
xor bl, bl
mov byte [esi + 4], 1
mov dword [esi + 8], eax
mov edx, dword [esp + 0x24c]
cmp byte [edx], 0
je 0x40d168
xor eax, eax
push eax
push 0x568a30
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004018d0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x24c], 0
call fcn.004017c0
cmp dword [esp + 0x28], 8
jb 0x40d168
mov edx, dword [esp + 0x14]
push edx
call fcn.0040dd3a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0050bda6
add esp, 0x234
ret 8
Function at 0x40d1a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x52dbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58b998]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x78]
xor ebx, ebx
push ebx
push 0x568a30
mov ecx, esi
call fcn.004018d0
lea eax, [esp + 0x78]
push eax
push esi
mov ecx, edi
mov byte [esp + 0x80], bl
call fcn.0040d060
test al, al
je 0x40d335
xor ecx, ecx
mov ebp, 8
push ebp
mov word [esp + 0x1c], cx
push 0x53f0b4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.004018d0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x7c], ebx
call fcn.004017c0
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x2c], ebp
jb 0x40d24d
mov eax, dword [esp + 0x18]
push eax
call fcn.0040dd3a
add esp, 4
cmp dword [edi + 0x20], ebx
je 0x40d2cb
push 0x568a54
lea ecx, [esp + 0x34]
call fcn.00401580
add edi, 0xc
push edi
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x7c], 1
call fcn.00401c40
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x7c], 2
call fcn.004017c0
cmp dword [esp + 0x2c], ebp
jb 0x40d29d
mov edx, dword [esp + 0x18]
push edx
call fcn.0040dd3a
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x48], ebp
jb 0x40d2cb
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040dd3a
add esp, 4
lea edi, [esi + 4]
cmp dword [esi + 0x18], ebp
jb 0x40d2d7
mov eax, dword [edi]
jmp 0x40d2d9
mov eax, edi
push eax
call fcn.0040ba10
add esp, 4
test al, al
jne 0x40d2f5
cmp dword [esi + 0x18], ebp
jb 0x40d2ed
mov edi, dword [edi]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [esp + 0x7c]
cmp byte [edx], bl
je 0x40d331
push 0x568a54
lea ecx, [esp + 0x50]
call fcn.00401580
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x7c], 3
call fcn.004017c0
cmp dword [esp + 0x64], ebp
jb 0x40d331
mov eax, dword [esp + 0x50]
push eax
call fcn.0040dd3a
add esp, 4
mov al, 1
jmp 0x40d337
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
Function at 0x40d350
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x58b998]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x26c]
push esi
push edi
push 0
mov dword [esp + 0x1c], ecx
push 0x568a30
mov ecx, ebp
call fcn.004018d0
xor ebx, ebx
mov dword [esp + 0x1c], str.TEMP
mov dword [esp + 0x20], str.temp
mov dword [esp + 0x24], 0x53f03c
mov dword [esp + 0x28], 0x53f034
mov dword [esp + 0x2c], str.USERPROFILE
mov dword [esp + 0x30], str.userprofile
mov byte [esp + 0x13], bl
jmp 0x40d3c0
cmp byte [esp + 0x13], 0
jne 0x40d505
mov edi, dword [esp + ebx*4 + 0x1c]
push edi
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0050d1ae
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jbe 0x40d461
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040dd2f
mov esi, eax
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.0050d1ae
add esp, 0x14
cmp word [esi], 0
je 0x40d461
lea edx, [esp + 0x34]
push edx
push esi
call fcn.0050d38a
add esp, 8
test eax, eax
jne 0x40d461
test byte [esp + 0x3a], 2
je 0x40d458
mov eax, esi
mov byte [esp + 0x13], 1
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d440
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebp
call fcn.004018d0
push esi
call fcn.0040dd3a
add esp, 4
inc ebx
cmp ebx, 6
jl 0x40d3c0
cmp byte [esp + 0x13], 0
jne 0x40d505
lea eax, [esp + 0x64]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, 0x80004005
je 0x40d4f1
cmp eax, 0x80070057
je 0x40d4f1
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d4a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.004018d0
push 5
push str.Temp
mov ecx, ebp
call fcn.0040ab50
cmp dword [ebp + 0x18], 8
jb 0x40d4d5
mov eax, dword [ebp + 4]
jmp 0x40d4d8
lea eax, [ebp + 4]
push eax
call fcn.0040ba10
add esp, 4
test al, al
jne 0x40d505
push 0x568a30
mov ecx, ebp
call fcn.004015f0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x13]
push edx
push ebp
mov byte [esp + 0x1b], 0
call fcn.0040d1a0
mov eax, dword [esp + 0x278]
cmp byte [eax], 0
je 0x40d51f
push 1
push 0x568a54
mov ecx, ebp
call fcn.0040ab50
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0050bda6
add esp, 0x260
ret 8
Function at 0x40f15b
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.004181e2
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 0x40f194
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.0040eda7
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 0x415a36
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 0x415a7d
call fcn.004181e2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x415a7d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x415a99
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004155ae
mov esi, eax
test edi, edi
je 0x415a97
test ebx, ebx
je 0x415a97
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4162a0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5384e5
call fcn.0050e70c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4162c5
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41630b
lea ecx, [ebp - 0x10]
call fcn.00402780
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.0040def5
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.00402890
mov eax, esi
call fcn.0050e7e4
ret 8
Function at 0x41a723
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 0x41a76b
call fcn.004181e2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a76b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41a7ae
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 0x41a797
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 0x41a797
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41a7ab
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 0x426b2b
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x58b998]
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 0x426b64
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x426b8b
cmp dword [0x58f8d8], 0
jne 0x426b8b
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x426b7e
push 0x12
call esi
test bx, ax
je 0x426b82
mov eax, edi
jmp 0x426bfa
push edi
call fcn.00511aeb
pop ecx
jmp 0x426bfa
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0050cfa0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x426bb4
call fcn.0040e77f
call fcn.0041b2c7
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050bda6
leave
ret 4
Function at 0x436ae9
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 0x436b03
call fcn.0040e77f
call fcn.004181e2
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x436b23
xor eax, eax
jmp 0x436c3e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x436b1c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x436b1c
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.0040dd00
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x436afe
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 0x436b80
mov ecx, edi
call fcn.0042f661
jmp 0x436b85
call fcn.0042f54b
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x436b97
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x436bb2
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x436c2a
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x436c01
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 0x436bf4
test eax, eax
jbe 0x436bf4
push eax
mov ecx, 0x5883ac
call fcn.0043cd1a
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 0x436bcb
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 0x436c2a
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040dd3a
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 0x43c69e
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 0x43c7df
push esi
push edi
push 0x546638
call fcn.0041f97f
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x43c72e
mov esi, dword [ebx + 0x168]
jmp 0x43c71a
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 0x43c71a
push edi
call fcn.0041265b
push eax
push 0x589198
call fcn.0041f99d
pop ecx
pop ecx
test eax, eax
je 0x43c71a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x43c71a
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x43c6da
lea ecx, [ebx + 0x164]
call fcn.00441d08
jmp 0x43c7dd
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x43c7dd
jmp 0x43c744
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0041054d
mov esi, dword [eax]
test esi, esi
jne 0x43c75d
xor ebx, ebx
jmp 0x43c760
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c7d3
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43c7d3
test edi, edi
je 0x43c7a5
push esi
push 0x589198
call fcn.0041f99d
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x550c24
call fcn.0041f99d
pop ecx
pop ecx
test eax, eax
je 0x43c7d3
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.0043bbf0
test eax, eax
jne 0x43c7d3
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043bb84
cmp dword [ebp - 8], 0
jne 0x43c741
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x440e34
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x58b998]
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 - 0x20c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.004408e2
mov ebx, eax
cmp ebx, esi
je 0x440ea1
lea ecx, [ebp - 0x20c]
call fcn.0041b2aa
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050bda6
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x440ebf
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00440e34
cmp eax, esi
jne 0x440f06
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], pe_nt_image_headers32
call ebx
test eax, eax
je 0x440ea9
lea ecx, [ebp - 0x20c]
call fcn.0041b2aa
push dword [ebp - 0x214]
mov ecx, edi
call fcn.00440883
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.0041b2aa
mov eax, esi
jmp 0x440e90
Function at 0x444452
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x58f640], 0
mov dword [ebp - 4], ecx
jne 0x444468
xor eax, eax
jmp 0x4444a2
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x444478
call fcn.004181e2
mov esi, dword [eax + 0xc]
push edi
push dword [0x5903c0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44449e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4444a6
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 0x4444c4
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4444a0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00444374
mov esi, eax
jmp 0x4444b6
Function at 0x445dca
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x530460
call fcn.0050e73f
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0041deb8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041d6a3
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0041e121
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.004242e2
cmp eax, ebx
jne 0x445e61
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0041c5ea
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041d0dd
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041de10
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041df0c
xor eax, eax
call fcn.0050e7e4
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041e298
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x58f55c
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.0041d639
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.00443a36
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.00445264
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0044218b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0041e298
call fcn.0040e9d9
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x445e24
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x445f13
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0041c5ea
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x445e31
lea ecx, [ebp - 0x20]
call fcn.0041e08f
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x445f35
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0041c5ea
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041d0dd
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041de10
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041df0c
xor eax, eax
inc eax
jmp 0x445e59