joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x230], eax
cmp dword [0x4bb13c], 0
push esi
jne 0x423ec7
push 0x104
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.00457ee0
push 0x104
lea ecx, [esp + 0x139]
push 0
push ecx
mov byte [esp + 0x140], 0
call fcn.00457ee0
push str.Chinese_simplified
push 0
call fcn.00455548
add esp, 0x20
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x128]
push 0x5c
push ecx
call fcn.0045222b
mov esi, eax
add esp, 8
test esi, esi
jne 0x423def
lea esi, [esp + 0x128]
jmp 0x423df0
inc esi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x49e17c
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x4bac20
call fcn.004523c4
push 0x49e17c
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x4bae2a
call fcn.004523c4
push 0x49e17c
push esi
lea eax, [esp + 0x58]
push eax
push str._s_s__s
push 0x104
push 0x4bad25
call fcn.004523c4
add esp, 0x48
push 0x49e17c
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x4baf2f
call fcn.004523c4
push 0x49e168
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x4bb034
call fcn.004523c4
add esp, 0x30
lea eax, [esp + 8]
push eax
mov dword [0x4bb13c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x234]
imul eax, eax, 0x105
pop esi
xor ecx, esp
add eax, 0x4bac20
call fcn.004512da
mov esp, ebp
pop ebp
ret
Function at 0x424220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
movzx ecx, word [esp + 4]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x424266
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42425f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor eax, eax
pop ebp
ret 0xc
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4242b2
test ebp, ebp
jne 0x4242a5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [ebx], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42430c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
lea eax, [ebp + 1]
pop ebp
ret 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4242da
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4242d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4242f6
lea ecx, [esp + 0x14]
call fcn.00405ca0
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
push edi
push eax
push ebp
call fcn.0045a160
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [ebx], edi
call fcn.00405ca0
pop edi
pop esi
mov eax, 1
pop ebp
ret 0xc

Function at 0x424fc0
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push 0x424fb0
call fcn.0043e42a
mov edi, eax
call fcn.004384a4
test eax, eax
jne 0x424fec
push 0x80004005
call fcn.00405cc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
add esi, 0x10
call fcn.00424750
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 8]
mov dword [esp + 8], 0
mov edx, dword [edi + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esp + 8]
mov ecx, dword [edi + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42504c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ecx
ret
Function at 0x425070
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x4250b9
push edi
call fcn.00431836
mov ecx, dword [esp + 8]
add esp, 4
push eax
push edi
push ecx
push ebx
mov dword [esi], eax
call sub.VERSION.dll_GetFileVersionInfoA
mov edx, dword [esi]
test eax, eax
jne 0x4250c0
push edx
call fcn.0043182b
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
pop edi
add esp, 0xc
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push str.VarFileInfoTranslation
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4250de
mov eax, dword [esi]
push eax
jmp 0x4250a4
mov eax, dword [esp + 8]
movzx ecx, word [eax]
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 4], ecx
mov eax, 1
pop edi
add esp, 0xc
ret
Function at 0x425560
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
xor eax, eax
mov word [0x4c2cbe], ax
mov eax, dword [0x4b7abc]
mov word [0x4c2cc0], ax
inc eax
mov dword [0x4b7abc], eax
mov eax, dword [0x4b7ac0]
mov word [0x4c2cc2], ax
inc eax
mov dword [0x4b7ac0], eax
mov byte [0x4c2cbc], 8
mov byte [0x4c2cbd], 0
xor eax, eax
jmp 0x4255a0
mov cl, al
add cl, 0x20
mov byte [eax + 0x4c2cc9], cl
inc eax
cmp eax, 0x20
jl 0x4255a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c2cc5], eax
xor eax, eax
mov ecx, 0x4c2cbc
lea edx, [eax + 0x16]
push esi
movzx esi, word [ecx]
add eax, esi
add ecx, 2
sub edx, 1
jne 0x4255c7
mov dword [esp + 4], edx
mov dl, byte [ecx]
mov byte [esp + 4], dl
movzx ecx, word [esp + 4]
add eax, ecx
mov ecx, eax
sar ecx, 0x10
and eax, 0xffff
add ecx, eax
mov eax, dword [esp + 0x10]
push 0x10
push eax
mov edx, ecx
push 0
sar edx, 0x10
push 0x2d
add edx, ecx
mov ecx, dword [esp + 0x1c]
push 0x4c2cbc
not edx
push ecx
mov word [0x4c2cbe], dx
call dword [sym.imp.WS2_32.dll_sendto]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42562f
push str.sendto__
call fcn.004256c0
mov eax, esi
pop esi
pop ecx
ret 8

Function at 0x425640
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x154]
lea ecx, [esp]
push ecx
push eax
mov eax, dword [esp + 0x158]
push 0
push 0x141
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x425699
push str.recvfrom__
call fcn.004256c0
mov cl, byte [esp + 0xc]
mov byte [esi], cl
jmp 0x42569f
mov dl, byte [esp + 0xc]
mov byte [esi], dl
mov ecx, dword [esp + 0x148]
mov eax, dword [esp + 0x21]
xor ecx, esp
call fcn.004512da
add esp, 0x14c
ret 8

Function at 0x425790
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x94], eax
push edi
push 0x1fc
xor edi, edi
lea eax, [esi + 8]
push edi
push eax
mov dword [0x4bb140], esi
call fcn.00457ee0
push 0x90
lea ecx, [esp + 0x18]
push edi
push ecx
mov dword [esi + 0x210], edi
mov dword [esi + 0x214], 1
mov dword [esi + 0x218], 1
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], 1
mov dword [esi + 0x21c], edi
mov dword [esi + 0x23c], edi
mov dword [esi + 0x254], edi
mov dword [esi + 0x20c], edi
mov dword [esi + 0x260], edi
mov dword [esp + 0x1c], 0x94
call fcn.00457ee0
add esp, 0x18
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x425859
cmp dword [esp + 8], 5
jb 0x425859
mov eax, 1
mov dword [esi + 0x220], eax
pop edi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004512da
add esp, 0x98
ret
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x220], edi
pop edi
xor ecx, esp
call fcn.004512da
add esp, 0x98
ret
Function at 0x426040
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x426071
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x425f80
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
add esp, 0x24
ret
lea eax, [esp + 4]
push eax
push 5
mov dword [esp + 0xc], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4260de
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x426093
jmp dword [eax*4 + 0x426104]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], ecx
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], edx
mov dword [esi], ecx
mov dword [esi + 8], eax
pop edi
add esp, 0x24
ret
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 0x96
sub eax, 0x1e
mov dword [esi + 4], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret

Function at 0x426180
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 8
push 0x48
mov dword [esp + 0x18], 8
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [esp + 0xc], 0
je 0x4261ca
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [esp + 8]
call fcn.00426040
mov edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push edi
call fcn.00426120
add esp, 4
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
add esp, 0x28
ret

Function at 0x426200
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 8
push 0x48
mov dword [esp + 0x18], 8
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [esp + 0xc], 0
je 0x426261
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [esp + 0x18]
call fcn.00426040
push 0
push edi
call dword [sym.imp.USER32.dll_SetParent]
lea edx, [esp + 8]
push edx
mov eax, esi
push eax
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x28
ret
push 0
push edi
call dword [sym.imp.USER32.dll_SetParent]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x28
ret
Function at 0x426a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x310]
sub esp, 0x310
push 0xffffffffffffffff
push 0x48d920
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4afa68]
xor eax, ebp
mov dword [ebp + 0x30c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor esi, esi
push 0x207
lea eax, [ebp + 1]
push esi
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
call fcn.00457ee0
push 0x103
lea ecx, [ebp + 0x209]
push esi
mov dword [ebp - 4], esi
push ecx
mov byte [ebp + 0x208], 0
call fcn.00457ee0
imul ebx, ebx, 0x704
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
add esp, 0x18
add ebx, str.ePass2001_4FE7_A218_48BDAE051E2B_ZJRCU
mov eax, ebx
mov dword [ebp - 0x18], 0x104
movsb byte es:[edi], byte [esi]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426b30
lea edi, [ebp]
sub eax, edx
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426b40
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
push edx
push 0x20019
mov ecx, eax
push 0
lea eax, [ebp]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x426ba3
lea ecx, [ebp - 0x14]
push ecx
push 0x20119
push 0
lea edx, [ebp]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x426ba3
mov dword [ebp - 0x20], eax
push 0x4a74e4
lea eax, [ebp - 0x20]
push eax
call fcn.004581eb
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + 0x208]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push str.DisplayName
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x426be3
push 0x4a74e4
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], eax
call fcn.004581eb
mov eax, 0x426bde
ret
lea eax, [ebp + 0x208]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426bf0
sub eax, edx
cmp eax, 3
jb 0x426c0b
cmp dword [ebp - 0x18], 3
jb 0x426c0b
mov esi, 1
jmp 0x426c0d
xor esi, esi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x426c1b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 + 0x30c]
xor ecx, ebp
call fcn.004512da
add ebp, 0x310
mov esp, ebp
pop ebp
ret
Function at 0x426c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x350]
sub esp, 0x350
push 0xffffffffffffffff
push 0x48ea00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4afa68]
xor eax, ebp
mov dword [ebp + 0x34c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x3f
lea eax, [ebp + 0x30d]
push esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov byte [ebp + 0x30c], 0
call fcn.00457ee0
push 0x207
lea ecx, [ebp + 1]
push esi
push ecx
mov dword [ebp - 0x20], esi
call fcn.00457ee0
push 0x103
lea edx, [ebp + 0x209]
push esi
mov dword [ebp - 4], esi
push edx
mov byte [ebp + 0x208], 0
call fcn.00457ee0
mov ebx, dword [ebp + 0x358]
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [ebp]
add esp, 0x24
imul ebx, ebx, 0x704
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + str.ePass2001_4FE7_A218_48BDAE051E2B_ZJRCU]
mov dword [ebp - 0x1c], 0x104
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426d06
lea edi, [ebp]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426d13
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x14]
push eax
and ecx, 3
push 0x20019
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0
lea ecx, [ebp]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x426d76
lea edx, [ebp - 0x14]
push edx
push 0x20119
push 0
lea eax, [ebp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x426d76
push 0x4a74e4
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], eax
call fcn.004581eb
lea ecx, [ebx + 0x4b1c30]
lea edx, [ebp + 0x30c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x426d82
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x208]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
push 0
lea edx, [ebp + 0x30c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x426dc3
push 0x4a74e4
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
call fcn.004581eb
lea eax, [ebp + 0x208]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426dd0
sub eax, edx
cmp eax, 3
jb 0x426e10
cmp dword [ebp - 0x1c], 3
jb 0x426e10
push ecx
lea edx, [ebp + 0x208]
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov esi, 1
push edx
mov dword [ebp - 0x18], esi
call fcn.004031c0
call fcn.00426e50
jmp 0x426e12
xor esi, esi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x426e20
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 + 0x34c]
xor ecx, ebp
call fcn.004512da
add ebp, 0x350
mov esp, ebp
pop ebp
ret 4
Function at 0x426e50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48e008
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
mov eax, dword [0x4afa68]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x70], 0
call fcn.00457ee0
mov edx, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x426ec9
push 0
lea ecx, [esp + 0x70]
call fcn.00403000
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 8]
push ecx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x426f29
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x60
ret 4
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x60
ret 4
Function at 0x427750
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x8c], 0
je 0x4277b3
cmp dword [esi + 0x80], 0
je 0x4277b9
mov ecx, dword [esi + 0xd0]
sub ecx, dword [esi + 0xcc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4277b9
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x427ca0
push 0
push 0
call fcn.00455e14
add esp, 0x18
mov dword [esi + 0xa8], eax
test eax, eax
je 0x4277b3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4277b3
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x4277b3
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret

Function at 0x427840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0043d1fe
mov eax, dword [eax + 0xc]
push str.PIC_JPEG
push 0x560
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4278ec
call fcn.0043d1fe
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x4278ec
call fcn.0043d1fe
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4278ec
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4278e5
test ebx, ebx
je 0x4278e5
push edi
push eax
push ebx
call fcn.0045a160
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
push edi
push esi
call fcn.00427160
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x42a790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48dac8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x4afa68]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0044141e
push eax
lea ecx, [esp + 0x30]
call fcn.00445e27
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0044141e
mov ecx, eax
call fcn.00445b2f
cmp dword [esi + 0x11c], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x42a8b1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x118]
call fcn.00445d8f
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x128]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00446061
test edi, edi
je 0x42a86b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x11c]
push edi
push eax
call fcn.004460f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x11c]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x118]
test edx, edx
je 0x42a8ce
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00445e7b
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4