joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ccd4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ce7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ce60
mov dl, 1
mov eax, dword [0x417680]
call fcn.00403334
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404238
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ce4f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044a300
test al, al
je 0x45ce42
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45ce90
lea eax, [ebp - 0x254]
call fcn.00409a64
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ce42
xor eax, eax
push ebp
push 0x45ce3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45cec8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ce24
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044a8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45ce24
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ce42
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45cd45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c424
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ce86
lea eax, [ebp - 0x260]
call fcn.00404238
ret

Function at 0x45d7b4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d0bec]
cmp byte [eax + 0xa5], 0
jne 0x45d825
cmp dword [0x4d0c04], 0
jne 0x45d7e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d770
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d0c04], eax
cmp dword [0x4d0c00], 0
jne 0x45d801
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d0c00], eax
cmp dword [0x4d0c08], 0
jne 0x45d825
push esp
push 0
push 0
push 0x45d714
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d0c08], eax
pop edx
ret
Function at 0x45d91c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d933
add esp, 0xfffffff0
call fcn.00403688
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420930
mov eax, dword [0x4cf844]
cmp word [eax + 2], 0
jne 0x45d95b
mov eax, dword [0x4cf844]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f00c
mov eax, dword [0x4cf994]
cmp word [eax + 2], 0
jne 0x45d975
mov eax, dword [0x4cf994]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f204
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416e70]
call fcn.00403334
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416e70]
call fcn.00403334
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x422ea4]
call fcn.0042aae8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45dafc
mov eax, dword [0x4cf6b0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042aeb8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f7b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cf6b0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d330
test eax, eax
je 0x45da6a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409444
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d358
test eax, eax
je 0x45da7e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044a8
mov eax, dword [0x4cf448]
cmp byte [eax], 0
jne 0x45dab2
mov eax, ebx
call fcn.0045dc24
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045f990
mov eax, ebx
call fcn.00460354
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45daf2
call fcn.004036e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dea4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d0bec]
cmp dword [eax + 0x30], 0
je 0x45df4e
cmp dword [ebx + 0x94], 0
jne 0x45df48
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45de34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45df48
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45df0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45df48
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419758
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45df1d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45eab0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45eae5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404328
jmp 0x45eaf2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040428c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45fb6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45fbad
mov eax, esi
call fcn.00445884
test al, al
je 0x45fbad
mov eax, dword [ebx + 0x84]
call fcn.00445580
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45fbad
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445580
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x466d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x466dca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404944
mov eax, dword [0x4cf540]
cmp byte [eax], 0
je 0x466d7f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404d98
mov eax, dword [ebx]
call fcn.00404ad0
push eax
mov eax, dword [ebx]
call fcn.00404ac0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ad0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404d98
jmp 0x466db1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004095f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466dd1
lea eax, [ebp - 0x3f0]
call fcn.00404238
ret
Function at 0x469fa4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x469ffe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0046a008
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a005
ret

Function at 0x47044c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x470482
jmp 0x470528
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4704c6
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x17c], 0
je 0x4704c6
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
jmp 0x4704d6
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x178]
test edx, edx
je 0x4704d6
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4704ef
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0046cdf0
jmp 0x470528
mov dl, 1
mov eax, dword [0x422704]
call fcn.00424648
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00425000
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.004241f8
mov edx, esp
mov eax, esi
call fcn.00424d4c
mov eax, esi
call fcn.00403364
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x472d2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00445580
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043ecb8
pop ebx
ret
Function at 0x4792a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x479362
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404944
mov eax, dword [0x4cf540]
cmp byte [eax], 0
je 0x479317
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404d98
mov eax, dword [ebx]
call fcn.00404ad0
push eax
mov eax, dword [ebx]
call fcn.00404ac0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ad0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404d98
jmp 0x479349
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004095f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479369
lea eax, [ebp - 0x3f0]
call fcn.00404238
ret

Function at 0x479370
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.004095f4
add esp, 0x3ec
pop ebx
ret

Function at 0x479530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4795f6
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00456194
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004791ec
mov edi, eax
test edi, edi
je 0x47958f
mov al, byte [0x479604]
cmp al, bl
jne 0x47958f
mov edx, edi
mov eax, ebp
call fcn.00479124
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4795f6
cmp byte [ebp + 0x161], 2
jne 0x4795ba
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4cfadc]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0043ff4c
test eax, eax
jne 0x4795f6
jmp 0x4795f1
mov edx, dword [0x4cf954]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4795f1
test byte [eax + 0x2f4], 8
jne 0x4795f1
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4cf954]
mov eax, edx
mov edx, 0xb006
call fcn.0043ff4c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47f654
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4cfadc]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x47f6fa
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x47f699
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47f6d5
jmp 0x47f69d
pop edx
pop eax
jge 0x47f6d5
mov eax, dword [0x4cfadc]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047a31c
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47f6fa
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47f6fa
cmp dword [ebx + 0x11c], 0
je 0x47f6fa
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00431818
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x48a1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48a321
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x48a306
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.004095f4
mov dl, 1
mov eax, dword [0x460d60]
call fcn.00460db8
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x417994]
call fcn.00403334
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00460e34
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x48a303
mov dl, 1
mov eax, dword [0x462328]
call fcn.00462390
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x48a338
call fcn.0046159c
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404544
xor eax, eax
push ebp
push 0x48a2fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00462690
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048a340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a303
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403364
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a328
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040425c
ret
Function at 0x48e268
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48e296
mov eax, ebx
call fcn.0048ed1c
cmp dword [ebx + 0x40], 0
je 0x48e28f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48e307
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48e2f9
cmp dword [ebx + 8], 0
je 0x48e2b8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48e2ca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48e2f9
cmp dword [ebx + 8], 0
je 0x48e2ab
cmp eax, 3
je 0x48e2dd
dec eax
jne 0x48e2ab
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48e2ab
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48e2ab
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48e325
cmp dword [ebx + 0x14], 0xcc
je 0x48e325
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048e330
pop ebx
ret
Function at 0x4bfee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4bfee8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c00da
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4c00f0
mov eax, esi
call fcn.004bdac8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040428c
lea ecx, [ebp - 0x10]
mov edx, 0x4c0104
mov eax, esi
call fcn.004bdac8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040428c
lea ecx, [ebp - 0x14]
mov edx, 0x4c011c
mov eax, esi
call fcn.004bdac8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040428c
lea ecx, [ebp - 0x18]
mov edx, 0x4c0138
mov eax, esi
call fcn.004bdac8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040428c
lea ecx, [ebp - 0x1c]
mov edx, 0x4c0154
mov eax, esi
call fcn.004bdac8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040428c
lea ecx, [ebp - 0x24]
mov edx, 0x4c016c
mov eax, esi
call fcn.004bdac8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408828
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408c40
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4c0184
mov eax, esi
call fcn.004bdac8
mov eax, dword [ebp - 0x28]
call fcn.004b746c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4c0194
mov eax, esi
call fcn.004bdac8
mov eax, dword [ebp - 0x2c]
call fcn.004b746c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4c01ac
mov eax, esi
call fcn.004bdac8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408c40
inc eax
je 0x4c007d
lea ecx, [ebp - 0x34]
mov edx, 0x4c01ac
mov eax, esi
call fcn.004bdac8
mov eax, dword [ebp - 0x34]
call fcn.00408c04
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a3b4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a718
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4c0098
lea ecx, [ebp - 0x40]
mov edx, 0x4c01ac
mov eax, esi
call fcn.004bdac8
mov eax, dword [ebp - 0x40]
call fcn.004b746c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4c01bc
mov eax, esi
call fcn.004bdac8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040428c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c00e1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040425c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040425c
ret
Function at 0x4cb09c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cb1e5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0xf
call fcn.004ca5a8
mov dword [ebp - 4], eax
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.004ca5c8
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4cb1b2
lea edx, [ebp - 8]
lea eax, [ebp - 0x110]
call fcn.004095f4
mov eax, dword [ebp - 0x12c]
test eax, eax
jbe 0x4cb115
mov ebx, eax
jmp 0x4cb117
xor ebx, ebx
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, esi
call fcn.004cb21c
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0xc]
call fcn.00408614
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [esi + 0x378]
call fcn.00408614
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404644
jne 0x4cb19e
push 0xffffffffffffffff
push ebx
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4cb19e
push 0x4cb1fc
push dword [esi + 0x378]
push 0x4cb218
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.004045b8
mov eax, dword [ebp - 0x140]
call fcn.0042f3e4
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.004ca5e8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4cb0f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb1ec
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.0040425c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040425c
ret
Function at 0x4cb308
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4cb310
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4cb48a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3a8], 0
jne 0x4cb460
mov eax, ebx
call fcn.004cb09c
mov eax, dword [ebx + 0x398]
mov edx, 0x4cb4a0
call fcn.00404644
jne 0x4cb44d
mov eax, dword [ebx + 0x384]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4cb438
inc eax
mov dword [ebp - 8], eax
xor esi, esi
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x378]
call fcn.00409288
push dword [ebp - 0xc]
push 0x4cb4b0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x218]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, 0x4cb4b0
mov edx, 0x4cb4bc
call fcn.004ca1f4
push dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004045b8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409288
mov eax, dword [ebp - 0x18]
call fcn.00409004
test al, al
je 0x4cb42e
push 0
mov eax, dword [ebp - 4]
call fcn.004046f8
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0x360]
mov eax, dword [eax + 0x218]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, 0x4cb4b0
mov edx, 0x4cb4bc
call fcn.004ca1f4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebx + 0x390]
call fcn.00404544
mov eax, dword [ebp - 0x1c]
call fcn.004046f8
push eax
call sub.kernel32.dll_CopyFileA
inc esi
dec dword [ebp - 8]
jne 0x4cb36f
push 1
mov eax, dword [ebx + 0x378]
call fcn.004046f8
push eax
call sub.kernel32.dll_WinExec
jmp 0x4cb460
push 1
mov eax, dword [ebx + 0x398]
call fcn.004046f8
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
call fcn.0040417c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb491
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.0040425c
lea eax, [ebp - 4]
call fcn.00404238
ret