joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x55c
push esi
push edi
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 0x358], 0
mov ecx, 0xc
mov esi, 0x448b44
lea edi, [ebp - 0x354]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x34
xor eax, eax
lea edi, [ebp - 0x324]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0x44
push str.IN_CMainFrame::ShowTonerOrderWebSite__
call fcn.00401000
add esp, 4
lea ecx, [ebp - 0x354]
push ecx
mov ecx, dword [ebp - 0x55c]
call fcn.00407e30
lea edx, [ebp - 0x254]
push edx
mov ecx, dword [ebp - 0x55c]
add ecx, 0x3cc
call fcn.00404c23
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x354]
push ecx
push 0x448b9c
lea edx, [ebp - 0x558]
push edx
call fcn.00419dae
add esp, 0x10
lea eax, [ebp - 0x558]
push eax
push str.WebSite_URL_is__s
call fcn.00401000
add esp, 8
call fcn.00405472
test eax, eax
je 0x407de4
push 2
lea ecx, [ebp - 0x558]
push ecx
mov ecx, dword [ebp - 0x55c]
call fcn.00408cf8
jmp 0x407e2a
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x558]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0
jne 0x407e2a
lea edx, [ebp - 0x558]
push edx
push 0x448bb8
call fcn.00401000
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a35d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.http_shellopencommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x407f83
mov dword [ebp - 0x1c], 0xff
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4503b0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20]
call fcn.00403990
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042c4a6
lea ecx, [ebp - 0x20]
call fcn.0042b373
lea ecx, [ebp - 0x20]
call fcn.0042b327
lea ecx, [ebp - 0x20]
call fcn.00403a90
test eax, eax
jle 0x407f74
push 0x448bf4
lea ecx, [ebp - 0x20]
call fcn.0042af8e
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0
jl 0x407f16
mov ecx, dword [ebp - 0x28]
add ecx, 1
push ecx
push 0x448bf8
lea ecx, [ebp - 0x20]
call fcn.0042af9c
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042af16
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x20]
call fcn.0042c456
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042c31d
lea ecx, [ebp - 0x20]
call fcn.004039b0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00419a10
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.IE_is__s
call fcn.00401000
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0042c31d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x408aca
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x718
mov dword [ebp - 0x718], ecx
push 0xff
lea eax, [ebp - 0x514]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea ecx, [ebp - 0x714]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x514]
push eax
call fcn.0041a624
add esp, 0x14
push 0x451d3d
push 0x448f28
lea ecx, [ebp - 0x414]
push ecx
call fcn.00419dae
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x414]
push eax
push str._s_is_deleted
call fcn.00401000
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x408bce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push edi
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x54], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0x44
push 0x452f50
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 0x15b8]
push edx
push 0x453250
push 0x453450
push 0x454510
push 0x453bd0
push str._sOrderSupLauncher.exe__s__s__s__s__s
lea eax, [ebp - 0x254]
push eax
call fcn.00419dae
add esp, 0x20
mov ecx, dword [ebp - 0x29c]
add ecx, 0x15b4
call fcn.004039b0
push eax
lea ecx, [ebp - 0x298]
push ecx
mov ecx, 0x4504b8
call fcn.0040c7d8
test eax, eax
je 0x408c97
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0x254]
push eax
push str._s__s
lea ecx, [ebp - 0x254]
push ecx
call fcn.00419dae
add esp, 0x10
lea edx, [ebp - 0x254]
push edx
push str.Launch_path____s_
call fcn.00401000
add esp, 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x254]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0
jne 0x408cee
push str.ShowXeroxOrderSupplies___is_failed
call fcn.00401000
add esp, 4
xor eax, eax
jmp 0x408cf3
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4094a7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a4d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x14]
push eax
push 0x20006
push 0
lea ecx, [ebp + 8]
call fcn.004039b0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409552
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
lea ecx, [ebp + 0xc]
call fcn.004039b0
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x409548
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0042c31d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0042c31d
mov eax, dword [ebp - 0x18]
jmp 0x409577
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0042c31d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0042c31d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409587
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a4f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], 4
lea ecx, [ebp + 8]
call fcn.004039b0
push eax
push str._INTO_LoadRegistry__RegKey_is__s
call fcn.00401000
add esp, 8
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
lea ecx, [ebp + 8]
call fcn.004039b0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4096a2
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004039b0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x409655
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x409637
mov dword [ebp - 0x30], 0x4490d0
jmp 0x40963e
mov dword [ebp - 0x30], str.FALSE
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._Load_Registry_Value___s_is__s
call fcn.00401000
add esp, 0xc
jmp 0x409696
mov edx, dword [ebp + 0xc]
push edx
push str._ERROR___s_in_Registry_is_NOT_LOADED_in_memory_variable
call fcn.00401000
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0042c31d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0042c31d
mov eax, dword [ebp - 0x20]
jmp 0x4096ee
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4096c9
mov dword [ebp - 0x24], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0042c31d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0042c31d
mov eax, dword [ebp - 0x24]
jmp 0x4096ee
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0042c31d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0042c31d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c15c
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xca
jne 0x40c198
mov edx, dword [ebp - 8]
add edx, 0x304
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00419a10
add esp, 8
mov eax, 1
jmp 0x40c2d5
mov dword [ebp - 4], 0
jmp 0x40c1aa
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x41c]
jge 0x40c2d3
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040c2db
test eax, eax
jne 0x40c20e
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.0040d46b
test eax, eax
jne 0x40c20e
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040dae5
test eax, eax
jne 0x40c20e
jmp 0x40c1a1
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x104
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40c26e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcc
jne 0x40c26e
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x40c2d5
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 0xc]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x204
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40c2ce
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcb
jne 0x40c2ce
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x40c2d5
jmp 0x40c1a1
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40d863
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x40d87e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x41c]
jge 0x40d9ae
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040c2db
test eax, eax
jne 0x40d8e2
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040d46b
test eax, eax
jne 0x40d8e2
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.0040dae5
test eax, eax
jne 0x40d8e2
jmp 0x40d875
mov eax, dword [ebp - 4]
imul eax, eax, 0x54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x414]
mov eax, dword [edx + eax + 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40d926
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + 0x404]
cmp eax, 0xcc
jne 0x40d926
mov eax, 1
jmp 0x40d9b0
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x414]
mov ecx, dword [eax + ecx + 0xc]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x204
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40d968
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x404]
cmp ecx, 0xcb
jne 0x40d968
mov eax, 1
jmp 0x40d9b0
mov edx, dword [ebp - 4]
imul edx, edx, 0x54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + edx + 0x10]
push edx
mov eax, dword [ebp - 8]
add eax, 0x304
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40d9a9
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x404]
cmp edx, 0xca
jne 0x40d9a9
mov eax, 1
jmp 0x40d9b0
jmp 0x40d875
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40e0bf
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00403990
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00403990
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00403990
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00403990
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00403990
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00403990
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
push 0x4503d8
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0042c4a6
push 0x4503dc
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0042c4a6
push 0x4503e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0042c4a6
push 0x4503e4
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0042c4a6
push 0x4503e8
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0042c4a6
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
push 0x4503ec
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0042c4a6
push 8
push 0
mov edx, dword [ebp - 0x10]
add edx, 0x34
push edx
call fcn.0041a040
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4118f7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41194f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x43cb64
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411942
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x411951
xor eax, eax
pop esi
leave
ret 4
Function at 0x42a6b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041a5b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42a77b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42a77b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42a72e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42a739
or bh, 8
and edi, 0x8000000
je 0x42a754
mov eax, dword [0x45863c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42a77b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ab50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42ab7b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42ab9f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42abba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42c92d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x42c94f
cmp dword [edi + 0x3c], 0
jne 0x42c94f
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00437257
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
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0042c97c
pop edi
pop esi
pop ebx
ret 8

Function at 0x42ccbc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43ab50
call fcn.0041b048
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00437257
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x42ccfb
call fcn.00437257
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42cd09
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42cd17
or eax, 0xffffffff
jmp 0x42cdff
mov ecx, esi
call fcn.0042cc32
mov dword [ebp - 0x14], eax
call fcn.0042daf1
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x42cd4e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42cd4e
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0042daa5
push dword [ebp - 0x14]
call fcn.0042d5d7
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0042c9ca
cmp eax, edi
je 0x42cdc1
test byte [esi + 0x24], 0x10
je 0x42cd8f
push 4
mov ecx, esi
pop ebx
call fcn.0042fe46
test ah, 1
je 0x42cd87
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0042f880
cmp dword [esi + 0x1c], edi
je 0x42cdc1
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042ff5d
jmp 0x42cdc1
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x42cdd5
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42cdee
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42cdee
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0042cc6c
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret