joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cd90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43cdc3
push esi
call fcn.0043fe80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43cdbc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ce49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ce32
mov eax, dword [esi + 8]
test eax, eax
je 0x43cde7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43ce2e
cmp eax, 2
je 0x43ce32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43cdda
cmp eax, 3
je 0x43ce0d
cmp eax, 1
jne 0x43cdda
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43cdda
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43cdda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ce70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ce58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ce70
add esp, 4
pop esi
ret

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x448196
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x448196
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x448177
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x448520
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x448558
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4491e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x449229
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4496a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00449250
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004492d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004492d0
lea ecx, [esi + 0xc]
call fcn.004637fe
lea ecx, [esi + 0x10]
call fcn.004637fe
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044a860
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044a860
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044a860
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00463873
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00463873
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44b300
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44b3a3
test eax, eax
jbe 0x44b3a3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44b3a3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44b34e
xor esi, esi
jmp 0x44b354
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44b37f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00402ec0
add esi, eax
push esi
mov ebx, esi
call fcn.00402ec0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44b360
pop ebp
test edi, edi
pop edi
jne 0x44b3a3
test ebx, ebx
je 0x44b3a3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00453e60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x44b4e5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44b5fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44b5fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00465276
mov esi, eax
test esi, esi
je 0x44b5fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44b5fd
mov ecx, esi
call fcn.0044b450
cmp edi, eax
jge 0x44b5fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44b583
mov dword [esp + 0x34], 1
jmp 0x44b5de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44b5fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044aa50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x44e8d0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44e91a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x44e949
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x44e98b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x465c1a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x465c52
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00463cce
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00463ca6
jmp 0x465c5e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x467308
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46734a
call fcn.0046d07d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46734a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x467341
xor eax, eax
jmp 0x467352
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467358
pop edi
pop esi
pop ebx
ret 4

Function at 0x46d5ad
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46d5db
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d5f9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d513
jmp 0x46d5f9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d5f9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d513
test edi, edi
mov eax, edi
jne 0x46d5e3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x42fbec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0xfc], ebx
mov eax, 0xf
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x100], 3
call fcn.004032a0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 4
call fcn.004024c0
mov eax, dword [esp + 0x5c]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0xfc], 3
jb 0x403700
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00422ab7
add esp, 4
push 1
push 0x4316dc
lea ecx, [esp + 0x30]
call fcn.004027d0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.004024c0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0x18]
call fcn.004026e0
cmp dword [esp + 0x11c], ebp
mov eax, dword [esp + 0x108]
jae 0x403748
lea eax, [esp + 0x108]
push edi
push eax
movzx eax, word [esp + 0x128]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp dword [esp + 0x28], ebp
mov eax, dword [esp + 0x14]
jae 0x403785
lea eax, [esp + 0x14]
push 1
push 0x1b6
push 0x20
push eax
lea ecx, [esp + 0x74]
call fcn.00403480
push esi
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x108], 5
call fcn.004022e0
lea ecx, [esp + 0x68]
call fcn.00403240
test eax, eax
pop edi
jne 0x4037e0
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x68]
mov edx, dword [esp + ecx + 0x88]
lea ecx, [esp + ecx + 0x60]
or eax, 2
cmp edx, ebx
jne 0x4037d9
or eax, 4
push ebx
push eax
call fcn.00420ec1
lea ecx, [esp + 0xc0]
mov byte [esp + 0xfc], 3
call fcn.004035c0
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], 0x4315f4
call fcn.00420dd7
cmp dword [esp + 0x40], ebp
jb 0x40381e
mov edx, dword [esp + 0x2c]
push edx
call fcn.00422ab7
add esp, 4
cmp dword [esp + 0x24], ebp
mov esi, 0xf
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x403842
mov eax, dword [esp + 0x10]
push eax
call fcn.00422ab7
add esp, 4
cmp dword [esp + 0x11c], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jb 0x403867
mov ecx, dword [esp + 0x108]
push ecx
call fcn.00422ab7
add esp, 4
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x11c], esi
pop esi
cmp eax, ebp
pop ebp
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
pop ebx
jb 0x40389a
mov edx, dword [esp + 0x11c]
push edx
call fcn.00422ab7
add esp, 4
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
add esp, 0xf4
ret
Function at 0x405960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
push esi
push edi
call fcn.00404f60
cmp eax, 0xa28
jne 0x4059ef
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov ecx, 0xd
mov esi, str.rundll32.exe_shell32.dll_Control_RunDLL_sysdm.cpl__2
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push 0x30
push eax
push eax
push eax
lea eax, [esp + 0x80]
push eax
push 0
mov dword [esp + 0x6c], 1
mov word [esp + 0x70], 5
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4059ef
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407cdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407cf1
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x407d03
xor eax, eax
jmp 0x407d35
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x407d27
cmp esi, eax
jae 0x407cff
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407d19
cmp esi, eax
jae 0x407cff
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x40836f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x4083c2
call fcn.0042c75d
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x4083c2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4083b8
xor eax, eax
jmp 0x4084db
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x4083f2
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x4083f2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4084d8
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x40841f
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.00409964
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x4084d8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x408468
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x408468
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x408462
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.00409964
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4084c8
and dword [ebp + 0xc], 0
jmp 0x4084c8
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x4084c8
push 0xc
call fcn.00422a8c
mov esi, eax
test esi, esi
pop ecx
je 0x4084aa
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4084ac
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x4084c3
push dword [ebp - 8]
call fcn.0042255f
jmp 0x4084c8
call fcn.00422536
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x40842d
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x413262
Capabilities:
Terminate process

Disassembly:
push 8
push 0x434fc8
call fcn.004148f8
push 8
call fcn.00415573
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x443784], esi
jne 0x413296
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x443780], esi
mov al, byte [ebp + 0x10]
mov byte [0x44377c], al
cmp dword [ebp + 0xc], edi
jne 0x4132e0
cmp dword [0x44514c], edi
je 0x4132d0
mov eax, dword [0x445148]
sub eax, 4
mov dword [0x445148], eax
cmp eax, dword [0x44514c]
jb 0x4132d0
mov eax, dword [eax]
cmp eax, edi
je 0x4132b1
call eax
jmp 0x4132b1
push 0x43e0a0
mov eax, 0x43e098
call fcn.004131e0
pop ecx
push 0x43e0ac
mov eax, 0x43e0a4
call fcn.004131e0
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.00413311
cmp dword [ebp + 0x10], edi
jne 0x41331f
mov dword [0x443784], esi
push dword [ebp + 8]
call fcn.0041319e
xor edi, edi
xor esi, esi
inc esi
call fcn.00414933
ret

Function at 0x41341e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00412c90
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4134b9
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x443744]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4134b9
cmp eax, 1
je 0x4134da
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4134b9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x413486
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4134b5
xor eax, eax
inc eax
jmp 0x4134f9
cmp edi, eax
jae 0x4134bd
xor eax, eax
jmp 0x4134f9
cmp eax, esi
jae 0x4134c4
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x443744]
jmp 0x4134dd
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413672
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x434fe8
call fcn.004148f8
mov edi, 0x94
mov eax, edi
call fcn.00412c90
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x443744], ecx
mov eax, dword [esi + 4]
mov dword [0x443750], eax
mov edx, dword [esi + 8]
mov dword [0x443754], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x443748], esi
cmp ecx, 2
je 0x4136d2
or esi, 0x8000
mov dword [0x443748], esi
shl eax, 8
add eax, edx
mov dword [0x44374c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x41370d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41370d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x413725
cmp eax, 0x20b
je 0x413712
mov dword [ebp - 0x1c], esi
jmp 0x413739
cmp dword [ecx + 0x84], 0xe
jbe 0x41370d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x413733
cmp dword [ecx + 0x74], 0xe
jbe 0x41370d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004153cf
pop ecx
test eax, eax
jne 0x41374d
push 0x1c
call fcn.0041364e
pop ecx
call fcn.00416ba4
test eax, eax
jne 0x41375e
push 0x10
call fcn.0041364e
pop ecx
call fcn.00419b31
mov dword [ebp - 4], esi
call fcn.0041a565
test eax, eax
jge 0x413777
push 0x1b
call fcn.00413629
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x445140], eax
call fcn.0041a443
mov dword [0x443788], eax
call fcn.0041a3a1
test eax, eax
jge 0x41379d
push 8
call fcn.00413629
pop ecx
call fcn.0041a16e
test eax, eax
jge 0x4137ae
push 9
call fcn.00413629
pop ecx
push 1
call fcn.004131f8
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4137c4
push eax
call fcn.00413629
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0041a111
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4137e5
movzx eax, word [ebp - 0x40]
jmp 0x4137e8
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00421828
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x413806
push edi
call fcn.00413325
call fcn.00413347
jmp 0x413838
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00414933
ret
Function at 0x413dfc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x413e19
call fcn.00414e0a
mov dword [eax], 0x16
xor eax, eax
jmp 0x413e83
push esi
push 0x8c
push 1
call fcn.004152fa
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x413e6e
push esi
call fcn.004169aa
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x413e4c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x413d67
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x413e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0041193d
test ebx, ebx
pop ecx
je 0x413e80
push ebx
call fcn.00414e1c
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret