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

Disassembly:
sub esp, 0x150
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
push ebx
mov ebx, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x15c]
push esi
mov esi, dword [esp + 0x164]
push ecx
mov dword [esp + 0x10], ecx
lea ecx, [ebx + 0x410]
push eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
call fcn.004ce0f0
test eax, eax
je 0x4db1df
mov ecx, dword [ebx + 0x418]
test ecx, ecx
jne 0x4db0b0
xor eax, eax
jmp 0x4db0b6
mov eax, dword [ebx + 0x414]
push dword [esi]
push ecx
push eax
mov ecx, ebx
call fcn.005d7900
test al, al
je 0x4db1df
push ebp
push edi
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x30]
mov ebx, 0x8461cefd
mul ebx
mov ebp, 0xabcc7711
mov dword [esp + 0x20], eax
mov esi, edx
mov eax, dword [esp + 0x30]
mul ebp
mov edi, eax
mov ebp, edx
mov eax, dword [esp + 0x34]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x34]
mov edx, 0xabcc7711
mul edx
add ecx, esi
mov dword [esp + 0x20], eax
adc ebx, 0
add edi, ecx
mov dword [esp + 0x28], edi
adc ebp, 0
xor eax, eax
add ebx, ebp
mov ebp, dword [esp + 0x20]
adc eax, eax
add ebp, ebx
adc edx, eax
lea eax, [esp + 0x58]
shrd ebp, edx, 0x1a
push eax
shr edx, 0x1a
push 0x104
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x40]
mov byte [esp + 0x5b], 0
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edx, dword [esp + 0x38]
xor edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov ecx, edx
xor edx, dword [esp + 0x44]
xor edx, dword [esp + 0x40]
xor ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push edx
push ecx
push ebp
mov ecx, esi
call fcn.005da520
cmp byte [esp + 0x170], 0
mov bl, al
pop edi
pop ebp
je 0x4db1db
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esi + 0x2f8]
call fcn.00536970
push 0xffffffffffffffff
push dword [esi + 0x2f8]
call fcn.00536a30
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov dword [ecx], eax
mov al, bl
jmp 0x4db1e1
xor al, al
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
xor ecx, esp
call fcn.00608a00
add esp, 0x150
ret 0x10
Function at 0x4dc8c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61f218
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov byte [edi], 0
mov byte [edi + 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [ebp - 4], 0
mov byte [edi + 0x34], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov byte [edi + 0x64], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
lea eax, [edi + 0x94]
mov dword [ebp - 0x10], eax
lea ecx, [eax + 0x408]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x1000
mov byte [ebp - 4], 3
call fcn.004e06f0
mov dword [edi + 0x4a8], 0
mov dword [edi + 0x4ac], 0
mov dword [edi + 0x4b0], 0
mov dword [edi + 0x4b4], 0
mov dword [edi + 0x4b8], 0
mov dword [edi + 0x4bc], 0
mov dword [edi + 0x4c0], 0
mov dword [edi + 0x4c4], 0
mov dword [edi + 0x4c8], 0
mov dword [edi + 0x4cc], 0
mov dword [edi + 0x4d0], 0
mov dword [edi + 0x4d4], 0
mov dword [edi + 0x4d8], 0
mov dword [edi + 0x4dc], 0
mov dword [edi + 0x4e0], 0
mov dword [edi + 0x4e4], 0
mov dword [edi + 0x4e8], 0
mov dword [edi + 0x4ec], 0
mov dword [edi + 0x4f0], 0
mov dword [edi + 0x4f4], 0
mov dword [edi + 0x4f8], 0
mov dword [edi + 0x4fc], 0
mov dword [edi + 0x500], 0
mov dword [edi + 0x504], 0
lea esi, [edi + 0x508]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x10], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x524], 0
mov dword [edi + 0x528], 7
mov word [edi + 0x514], ax
mov dword [edi + 0x510], 0x498a34
mov dword [edi + 0x540], eax
mov dword [edi + 0x544], 7
mov word [edi + 0x530], ax
mov dword [edi + 0x52c], 0x498a34
lea esi, [edi + 0x548]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x10], esi
push 0x14
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.006084b7
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x550]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x400
mov byte [ebp - 4], 0x11
call fcn.004e06f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ddc80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61f3a7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x130]
cmp eax, 0x3d0
jbe 0x4dde68
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebx + 0xb4]
add esi, 0x3f4
mov dword [ebx + 0x130], eax
mov ecx, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
call fcn.004d11c0
mov dword [ebp - 4], 0
call fcn.004cd030
add ebx, 0x134
mov dword [ebp - 0x10], 2
mov esi, eax
mov ecx, ebx
call fcn.004d1400
test al, al
je 0x4dde4c
push dword [ebx + 8]
call fcn.004d1360
add esp, 4
test al, al
je 0x4dddff
mov ecx, ebx
call fcn.004d1470
test eax, eax
je 0x4dde4c
cmp eax, 0xffffffff
jne 0x4ddd9f
mov edi, dword [0x6612c4]
test edi, edi
jne 0x4ddd87
push 0x4e4
call fcn.006084b7
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x4ddd7b
push 0x4e4
push 0
push edi
call fcn.0060a6d0
add esp, 0xc
mov ecx, edi
call fcn.004bec70
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004cf630
jmp 0x4ddd7d
xor edi, edi
mov byte [ebp - 4], 0
mov dword [0x6612c4], edi
mov edi, dword [edi + 0x3e8]
mov ecx, edi
call dword [0x6504ac]
call edi
test eax, eax
je 0x4dde4c
push ebx
lea ecx, [ebp - 0x14]
call fcn.004d3a50
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 8]
call fcn.004e08e0
mov ecx, ebx
call fcn.004d1550
mov ecx, ebx
call fcn.004d1280
push ebx
push 0x4e56c0
mov ecx, ebx
call fcn.004d12c0
test al, al
je 0x4dddec
push ebx
lea ecx, [ebp - 0x18]
call fcn.004d3a50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 8]
call fcn.004cac70
push dword [ebx + 8]
call fcn.004d1360
add esp, 4
test al, al
jne 0x4ddd23
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004d3a50
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 8]
call fcn.004e08e0
mov ecx, ebx
call fcn.004d1550
mov ecx, ebx
call fcn.004d1280
push ebx
push 0x4e56c0
mov ecx, ebx
call fcn.004d12c0
test al, al
je 0x4dde4c
push ebx
lea ecx, [ebp - 0x20]
call fcn.004d3a50
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 8]
call fcn.004cac70
add ebx, 0x18
sub dword [ebp - 0x10], 1
jne 0x4ddd01
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.004d1250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e40a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61fbb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x498e6c
push 0x24
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 8], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x10], eax
push 0x24
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x18], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x20], eax
push 0x4c
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
push 0x4c
mov byte [ebp - 4], 4
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x30], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 5
push 0x54
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x40]
mov byte [ebp - 4], 6
push 0x54
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006084b7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x48]
mov byte [ebp - 4], 7
push 0x2c
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006084b7
add esp, 0x24
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004e3510
mov ecx, edi
mov byte [edi + 4], al
mov byte [edi + 5], 0
call fcn.004e35e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e7b80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ffe5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
push 0x65fc70
movlpd qword [ebp - 0x1c], xmm0
call fcn.005073f0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00507420
test byte [0x65dfd8], 1
jne 0x4e7cce
push fcn.004e7b80
call fcn.00507480
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x4e7c04
push 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x20]
mov esi, dword [0x65e008]
xor ebx, ebx
add esi, ecx
cmp dword [0x65e00c], ebx
jbe 0x4e7c84
mov edi, dword [esi]
lea eax, [ebp - 0x14]
push eax
push 0x40
add edi, ecx
mov dword [ebp - 0x14], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4e7c43
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 5
lea eax, [esi + 4]
push eax
push edi
call fcn.0060a150
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4e7c75
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x20]
inc ebx
add esi, 9
cmp ebx, dword [0x65e00c]
jb 0x4e7c16
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x65fc78], eax
push 1
push 0
push 1
mov byte [ebp - 4], 1
call fcn.004e66b0
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov edi, eax
mov esi, edx
call fcn.00507460
mov ecx, edi
or ecx, esi
je 0x4e7cc4
push 0
push 1
push dword [ebp - 0x20]
mov ecx, edi
call dword [0x6504ac]
call edi
mov dword [0x65fc78], 0
lea ecx, [ebp - 0x1c]
call fcn.00507400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret
Function at 0x4f5900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6211e5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xd], bl
jne 0x4f59a0
mov esi, eax
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov dword [ebp - 0x18], esi
jb 0x4f595f
mov edx, dword [edi + 8]
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
jb 0x4f596b
mov ecx, dword [esi + 0x18]
push dword [edi + 0x18]
push edx
push dword [esi + 0x28]
push ecx
call fcn.004cabe0
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x4f598a
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
jmp 0x4f5991
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x10], ecx
movzx ebx, al
xor ebx, 1
cmp byte [esi + 0xd], 0
je 0x4f5950
mov esi, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x4f59f2
cmp dword [ecx + 0x2c], 0x10
lea eax, [edi + 8]
lea edx, [ecx + 0x18]
jb 0x4f59b5
mov edx, dword [ecx + 0x18]
cmp dword [edi + 0x1c], 0x10
jb 0x4f59bd
mov eax, dword [eax]
push dword [ecx + 0x28]
push edx
push dword [edi + 0x18]
push eax
call fcn.004cabe0
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x4f59f2
mov ecx, dword [ebp - 0x10]
mov byte [esi + 4], al
mov eax, esi
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x4924924
je 0x4f5a97
mov dword [ebp - 0x2c], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.006084b7
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
lea esi, [edi + 0x14]
add ecx, 8
mov dword [ebp - 4], 1
push ecx
lea ecx, [esi + 4]
mov dword [edi + 0x10], 0x4991b0
mov dword [ebp - 0x10], esi
call fcn.004be960
mov ecx, dword [ebp - 0x14]
mov dword [esi], 0x498708
push edi
push ebx
mov eax, dword [ecx + 0x20]
push dword [ebp - 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.004c6f30
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004c7ae0
int3
Function at 0x506050
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62244b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x659af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
mov dword [ebx], 0x499218
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov al, byte [edi + 4]
mov byte [ebx + 4], al
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
lea eax, [edi + 0x18]
push eax
call fcn.004be960
mov dword [esi], 0x498708
add ebx, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
add edi, 0x30
mov dword [ebx], fcn.004c33b0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 1
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x5061c5
mov esi, dword [edi + 8]
test esi, esi
jne 0x506118
xor edi, edi
jmp 0x50611b
mov edi, dword [edi + 4]
mov eax, dword [ebx + 4]
test eax, eax
je 0x506142
cmp dword [ebx + 0x14], 1
jne 0x506139
push dword [ebx + 8]
push 0
push eax
call fcn.0060a6d0
mov eax, dword [ebx + 4]
add esp, 0xc
push eax
call fcn.006084fe
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov byte [ebx + 0x10], 1
test esi, esi
je 0x506191
push esi
call fcn.006084f5
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
test edi, edi
je 0x50617f
push esi
push edi
push eax
call fcn.0060a150
jmp 0x50618e
cmp dword [ebx + 0x14], 1
jne 0x506191
push esi
push 0
push eax
call fcn.0060a6d0
add esp, 0xc
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x5061c5
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5061bd
mov eax, dword [eax]
push 1
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x6504ac]
mov ecx, dword [ebp - 0x14]
call edi
add esi, 4
cmp esi, dword [ebx + 0x1c]
jne 0x5061a0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0x498754
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x507980
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6226ba
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], 0
call fcn.004c4e10
push 0
push 2
mov esi, dword [eax + 0x224]
mov ecx, esi
call dword [0x6504ac]
call esi
mov esi, eax
mov dword [ebp - 0x148], esi
test esi, esi
jne 0x5079f9
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
jmp 0x507b4b
lea eax, [ebp - 0x148]
mov dword [ebp - 0x158], eax
push 0x124
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0060a6d0
add esp, 0xc
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x507a5b
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 2
jmp 0x507b30
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
call fcn.005ea3f0
mov ebx, eax
nop word [eax + eax]
cmp dword [ebp - 0x12c], ebx
jne 0x507ae5
mov edi, dword [ebp - 0x18]
cmp edi, dword [ebp - 0x14]
je 0x507ad5
mov esi, dword [ebp - 0x13c]
mov dword [edi], esi
mov dword [edi + 4], 0
call fcn.004c4e10
push esi
push 0
push 0x1fffff
mov esi, dword [eax + 0x238]
mov ecx, esi
call dword [0x6504ac]
call esi
mov dword [edi + 4], eax
add dword [ebp - 0x18], 8
jmp 0x507ae5
lea eax, [ebp - 0x13c]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00507640
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x507a90
mov ebx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 6
call fcn.004c4e10
push dword [ebp - 0x148]
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x6504ac]
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret
Function at 0x50a610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622c25
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 0x10]
push eax
call fcn.00509d30
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4993e0
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x2c], 0
call fcn.00544836
mov eax, dword [ebp - 0x2c]
add esp, 0x10
test eax, eax
je 0x50a724
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
push 1
push esi
call fcn.00544fd3
push dword [ebp - 0x2c]
call fcn.00544d63
push dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4993fc
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0054497b
mov edi, dword [edi + 0x24]
add esp, 0x24
test edi, edi
je 0x50a73f
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6504ac]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
test eax, eax
je 0x50a6ed
push eax
call fcn.00544a12
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 3
cmp eax, 0x10
jb 0x50a709
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004c84c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret
push 0x4993e4
lea ecx, [ebp - 0x3c]
call fcn.004c02d0
push 0x635434
lea eax, [ebp - 0x3c]
push eax
call fcn.00609d27
call fcn.005f382a
int3
Function at 0x50ac10
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622cd5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call fcn.005ea3f0
push eax
push 4
mov dword [ebp - 0x40], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x50ac75
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x50ad27
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
push ecx
push eax
mov dword [ebp - 0x38], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x50aca8
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 4], 1
jmp 0x50ad1e
xor esi, esi
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 2
nop
cmp dword [ebp - 0x2c], edi
jne 0x50acf9
cmp esi, ebx
je 0x50ace6
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x18], esi
jmp 0x50acf9
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0050a860
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x3c]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x50acd0
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
mov dword [ebp - 4], 4
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret