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

Disassembly:
mov eax, 0x46ef08
call fcn.0044a938
sub esp, 0x164
push esi
lea eax, [ebp - 0x170]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x170]
push str.pnxetkey.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x170]
push 0x11
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410c93
lea eax, [ebp - 0x170]
push 0
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov esi, eax
cmp esi, 0xffffffff
je 0x410d04
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x6c]
call fcn.0041a320
and dword [ebp - 4], 0
push str.Invalid_password.
lea ecx, [ebp - 0x6c]
call fcn.0041a33f
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a496
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a496
lea eax, [ebp - 0x20]
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041a335
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x410d11
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46ef1c
call fcn.0044a938
sub esp, 0x164
push edi
lea eax, [ebp - 0x170]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x170]
push str.pnxetkey.dat
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x170]
push 0x20
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410d63
xor eax, eax
jmp 0x410e1b
push esi
lea ecx, [ebp - 0x6c]
call fcn.0041a320
and dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll__lread]
lea eax, [ebp - 0x20]
push 0x10
push eax
push edi
call esi
cmp eax, 0x10
jne 0x410e03
push str.Invalid_password.
lea ecx, [ebp - 0x6c]
call fcn.0041a33f
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a4ad
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a4ad
and byte [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
jne 0x410dc9
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00417c74
jmp 0x410dd5
push dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push eax
call fcn.00410c06
pop ecx
test eax, eax
pop ecx
jne 0x410de4
lea eax, [ebp - 0x20]
push 0x10
push eax
push edi
jmp 0x410d7d
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
cmp dword [ebp + 0xc], 0
je 0x410dfe
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
pop esi
jmp 0x410e0c
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041a335
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret
Function at 0x417133
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46f110
call fcn.0044a938
sub esp, 0x260
push ebx
mov dword [ebp - 0x10], ecx
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.0041a320
push 0x20
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll__lopen]
mov edi, eax
cmp edi, 0xffffffff
je 0x41729e
mov esi, dword [sym.imp.KERNEL32.dll__llseek]
push 2
push 0xfffffffffffffff4
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll__lread]
lea eax, [ebp - 0x18]
push 4
push eax
push edi
call ebx
cmp dword [ebp - 0x18], 0xe79a45c9
jne 0x4171f0
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x4171d0
and byte [ebp - 0x26c], al
push eax
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
call fcn.00410d11
add esp, 0x10
test eax, eax
jne 0x4171f0
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0041a335
xor eax, eax
jmp 0x4172ac
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00412a93
test eax, eax
jne 0x4171f0
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
xor esi, esi
jmp 0x41729e
push 2
push 0xfffffffffffffffc
push edi
call esi
lea eax, [ebp - 0x14]
push 4
push eax
push edi
call ebx
cmp eax, 4
jne 0x417258
xor ebx, ebx
push ebx
push ebx
push edi
call esi
lea eax, [ebp - 0x168]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x168]
push str.etrnview.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x168]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41725b
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push edi
push ebx
call fcn.00416fa5
test eax, eax
jne 0x41727e
jmp 0x41725b
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll__lclose]
push edi
call esi
cmp ebx, 0xffffffff
je 0x4171e9
push ebx
call esi
lea eax, [ebp - 0x168]
push eax
call fcn.0044ae50
pop ecx
jmp 0x4171e9
mov esi, dword [sym.imp.KERNEL32.dll__lclose]
push edi
call esi
push ebx
call esi
lea eax, [ebp - 0x168]
push eax
push dword [ebp + 8]
call fcn.0044ad60
pop ecx
pop ecx
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0041a335
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x419b0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0044b2a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, esi
xor edx, edx
and edi, 0x3f
jbe 0x419b53
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, edx
and ecx, 3
mov eax, edx
movzx ebx, byte [ebx]
shl ecx, 3
shr eax, 2
shl ebx, cl
lea eax, [ebp + eax*4 - 0x40]
xor dword [eax], ebx
inc dword [ebp + 0xc]
inc edx
cmp edx, edi
jb 0x419b2f
pop ebx
mov ecx, esi
mov eax, esi
and ecx, 3
push 1
shr eax, 2
lea ecx, [ecx*8 + 7]
pop edx
and eax, 0xf
shl edx, cl
lea eax, [ebp + eax*4 - 0x40]
xor dword [eax], edx
cmp edi, 0x37
jbe 0x419b93
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.00417dc4
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0044b2a0
add esp, 0x14
mov eax, esi
shl eax, 3
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
shr esi, 0x1d
shl eax, 3
or esi, eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.00417dc4
pop ecx
pop ecx
pop edi
pop esi
leave
ret

Function at 0x41a352
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0044ae90
pop ecx
mov edx, 0x487270
mov ecx, dword [ebp + 0xc]
push 4
xor edi, edi
mov dword [ebp - 0xc], eax
sub edx, ecx
mov dword [ebp - 4], 0x12
pop ebx
xor esi, esi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
movsx eax, di
shl esi, 8
mov al, byte [eax + ebx]
and eax, 0xff
or esi, eax
inc edi
cmp di, word [ebp - 0xc]
jl 0x41a39e
xor edi, edi
dec dword [ebp - 8]
jne 0x41a382
mov eax, dword [edx + ecx]
push 4
xor eax, esi
pop ebx
mov dword [ecx], eax
add ecx, ebx
dec dword [ebp - 4]
jne 0x41a37d
mov eax, dword [ebp + 0x10]
mov esi, ebx
mov ecx, 0x4872b8
mov edx, pe_nt_image_headers32
sub ecx, dword [ebp + 0x10]
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, ebx
dec edx
jne 0x41a3c6
dec esi
jne 0x41a3b9
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov esi, dword [ebp + 0xc]
push 9
pop edi
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a43f
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
add esi, 8
dec edi
jne 0x41a3e1
mov esi, dword [ebp + 0x10]
mov edi, 0x80
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a43f
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
add esi, 8
dec edi
jne 0x41a410
dec ebx
jne 0x41a40b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a43f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx]
mov edi, dword [ecx]
mov dword [ebp + 8], esi
mov dword [ebp + 0x10], 0x10
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
xor eax, dword [ecx]
push eax
mov dword [ebp - 4], eax
call fcn.0041a2d3
add dword [ebp + 8], 4
pop ecx
xor eax, edi
dec dword [ebp + 0x10]
mov edi, dword [ebp - 4]
pop ecx
jne 0x41a45d
mov ecx, eax
mov eax, dword [esi + 0x40]
xor eax, ecx
mov ecx, dword [esi + 0x44]
xor ecx, edi
pop edi
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [ecx], eax
leave
ret

Function at 0x41a4c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
mov ebx, dword [ecx]
push edi
lea edi, [esi + 0x44]
mov dword [ebp + 0x10], 0x10
xor eax, dword [edi]
push dword [ebp + 0x14]
push eax
mov dword [ebp - 4], eax
call fcn.0041a2d3
pop ecx
xor eax, ebx
mov ebx, dword [ebp - 4]
sub edi, 4
dec dword [ebp + 0x10]
pop ecx
jne 0x41a4e2
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, dword [esi + 4]
pop edi
xor eax, ecx
mov ecx, dword [esi]
xor ecx, ebx
pop esi
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
pop ebx
mov dword [ecx], eax
leave
ret

Function at 0x41bc51
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jle 0x41bc87
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
push edi
mov eax, dword [ecx]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x4882fc]
xor edi, eax
inc edx
dec esi
mov dword [ecx], edi
jne 0x41bc64
pop edi
pop ebx
pop esi
ret
Function at 0x41de54
Capabilities:
Copy file

Disassembly:
mov eax, 0x46f234
call fcn.0044a938
sub esp, 0x250
push ebx
push esi
push edi
mov edi, 0x474400
push 0x104
mov dword [ebp - 0x1c], edi
call fcn.0045db27
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov byte [esi], bl
push 0x80
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x24], edi
call fcn.0045db27
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], edi
mov byte [edi], bl
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.0041d99f
call fcn.00408250
push eax
lea ecx, [ebp - 0x158]
call fcn.0041da13
push dword [0x4887ac]
push edi
call fcn.0044ad60
cmp byte [ebp + 0x18], bl
pop ecx
pop ecx
je 0x41dedf
push dword [0x4887b0]
push edi
call fcn.0044ad70
pop ecx
pop ecx
push 0x489258
push edi
call fcn.0044ad70
push esi
push str.E_Transcript
push 0x41e2b0
push ebx
push str..ptx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041dc4e
add esp, 0x30
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x41e00b
call fcn.0040826e
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 8]
push 0x2e
push esi
call fcn.0044ab00
pop ecx
cmp eax, ebx
pop ecx
je 0x41df4e
push str..exe
push eax
call fcn.0044e1a0
pop ecx
test eax, eax
pop ecx
jne 0x41df4e
mov byte [ebp - 0xd], 1
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [ebp - 0xd], bl
jne 0x41dfaf
cmp byte [ebp + 0x18], bl
je 0x41dfaf
push 0x2e
push esi
call fcn.0044ab00
pop ecx
cmp eax, ebx
pop ecx
je 0x41df86
push str..ptx
push eax
call fcn.0044ad60
pop ecx
pop ecx
lea eax, [ebp - 0x25c]
push 1
push eax
lea eax, [ebp + 0x18]
push dword [ebp + 0x14]
mov dword [ebp + 0x18], ebx
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0040826e
mov ecx, eax
call fcn.00416dad
jmp 0x41dfba
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41dfcf
push ebx
push ebx
push dword [0x4887b4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x5c
push esi
call fcn.0044ab00
push esi
push 0x4951d0
mov byte [eax], bl
call fcn.0044ad60
add esp, 0x10
call fcn.00408250
push eax
lea ecx, [ebp - 0x158]
call fcn.0041db52
push edi
call fcn.0045db50
push esi
call fcn.0045db50
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42100b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0x42144f
push dword [ebp + 8]
push 0x2a4
push dword [0x493b24]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push dword [ebp + 0xc]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
call fcn.004214b7
push 8
mov edi, eax
call fcn.0045db27
mov ebx, dword [ebp + 0x10]
pop ecx
pop ecx
mov dword [eax], edi
push eax
push 8
push esi
mov dword [eax + 4], ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push edi
call fcn.004214e2
pop ecx
push eax
mov eax, dword [ebp - 8]
add eax, 0xffffffe6
push eax
push 0xd
push 0xd
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
test ebx, ebx
jne 0x4210d1
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
push esi
call ebx
lea eax, [ebp - 8]
push eax
push esi
call ebx
xor ebx, ebx
push ebx
push 2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push 6
add eax, 0xfffffffe
push eax
push dword [ebp - 8]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42116c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x49538c]
add ecx, 0x64
cmp ecx, eax
jae 0x4211c6
call esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
xor edi, edi
push 1
mov dword [0x49538c], eax
push edi
push edi
lea eax, [ebp - 0x1c]
push edi
push eax
call esi
test eax, eax
je 0x4211c6
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push edi
push edi
lea eax, [ebp - 0x1c]
push edi
push eax
jmp 0x4211a1
pop edi
pop esi
leave
ret

Function at 0x421a1d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0044b2a0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x421a6e
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
je 0x421a86
mov eax, dword [ebp - 0x8c]
dec eax
dec eax
jne 0x421a86
cmp dword [ebp - 0x98], 5
jb 0x421a86
push 1
pop eax
jmp 0x421a88
xor eax, eax
pop esi
leave
ret
Function at 0x421d58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x461
mov edi, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push eax
mov dword [ebp - 4], eax
call esi
and dword [ebp + 8], 0
mov ebx, eax
test ebx, ebx
jle 0x421de3
push 2
push dword [ebp + 8]
push 0x102c
push dword [ebp - 4]
call esi
and eax, 2
cmp al, 2
je 0x421db2
inc dword [ebp + 8]
cmp dword [ebp + 8], ebx
jl 0x421d92
jmp 0x421de3
mov ebx, 0x104
add edi, 0x6fc
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x2c]
and dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], edi
push 0x102d
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42d5e3
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 8], esi
je 0x42d607
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x42d60e
xor eax, eax
jmp 0x42d777
push eax
call fcn.0042d77c
cmp dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
je 0x42d62d
push 1
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SetStretchBltMode]
push edi
push 3
push dword [ebp + 8]
call ebx
push dword [ebp + 0x20]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
push 0
mov ecx, dword [esi]
push dword [ebp - 0xc]
sub edx, eax
push dword [ebp - 4]
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0xc]
sub ecx, eax
push ecx
mov ecx, dword [edi]
sub edx, ecx
push edx
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchDIBits]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
test eax, eax
mov dword [ebp - 0x10], ecx
jne 0x42d755
mov eax, dword [ebp - 0xc]
mov cx, 8
cmp cx, word [eax + 0xe]
sbb ecx, ecx
inc ecx
push ecx
push eax
push eax
call fcn.0042d77c
push eax
push 4
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push 3
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
call ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x18], eax
push eax
call ebx
mov edx, dword [edi]
push dword [ebp + 0x20]
mov ecx, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0x14], edx
mov edx, dword [esi + 0xc]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0xc]
push dword [ebp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [edi + 8]
sub ecx, dword [ebp + 0x14]
push ecx
push eax
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
jne 0x42d73b
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push dword [ebp - 0x24]
lea eax, [ebp - 0x130]
push 0
push str.cant_paint__page__d___d_bytes_left_n
push eax
call fcn.0044ca26
add esp, 0x10
push dword [ebp - 4]
push dword [ebp + 0x18]
call ebx
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 8], 0
pop edi
pop ebx
je 0x42d774
push 1
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [ebp - 0x10]
pop esi
leave
ret 0x1c
Function at 0x439afd
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x470080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x48fb18]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004036ad
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004036ad
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.004036ad
lea ecx, [esp + 4]
mov byte [esp + 0x28], 4
mov dword [esp + 4], 0x473a0c
call fcn.004398d0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 4]
push eax
call fcn.00439930
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 5
push ecx
lea ecx, [esp + 8]
call fcn.00439ec0
mov eax, dword [eax]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x2c], 6
call fcn.0045df6f
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 5
call fcn.0045dde6
lea edx, [esp + 0x30]
lea ecx, [esp + 4]
push edx
call fcn.00439f10
mov eax, dword [eax]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0x2c], 7
call fcn.0045df6f
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 5
call fcn.0045dde6
mov dword [esi + 0x18], 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xb
call fcn.0045dde6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0xa
call fcn.0045dde6
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 9
call fcn.0045dde6
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 8
call fcn.0045dde6
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0045dde6
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x43acd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
push 0x486234
rep stosd dword es:[edi], eax
mov ax, word [esp + 0x174]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x24], 0x44
mov word [esp + 0x54], ax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x168]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x60]
push edx
push eax
call esi
lea ecx, [esp + 0x60]
push 0x48c108
push ecx
call esi
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x43ad41
lea edx, [esp + 0x60]
push eax
push edx
call esi
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x7c]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x43ad89
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.0043bb30
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x158
ret 0x10
mov eax, dword [esp + 0x174]
test eax, eax
je 0x43ada1
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop edi
pop esi
mov eax, 0x20
pop ebx
add esp, 0x158
ret 0x10
Function at 0x43add8
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push eax
push ecx
push 0
push edi
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jae 0x43ae05
push edi
push eax
mov ecx, esi
call fcn.0043bb30
xor eax, eax
pop edi
pop esi
ret 0x10

Function at 0x43ae2d
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x48fb18]
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], eax
mov cl, byte [esp + 0x24]
xor eax, eax
add cl, 0x30
push 0xc
mov byte [esp + 0xe], cl
mov ecx, esi
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc], 0x25
mov byte [esp + 0xd], 0x30
mov byte [esp + 0xf], 0x6c
mov byte [esp + 0x10], 0x64
mov byte [esp + 0x11], al
call fcn.0045e216
mov edx, dword [esp + 0x20]
mov ecx, dword [esi]
lea eax, [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
call fcn.0045e265
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8