joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eed0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x5f8698]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x5f8698]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x45ffd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x46001f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x460015
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x460079
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x46003f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00572480
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x461be0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x461bfb
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x461c05
mov eax, 0x1000000
jmp 0x461d2b
mov edx, dword [ebp - 0x10]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0x244
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
mov word [ebp - 0xa], ax
add dword [ebp - 0x14], 2
cmp word [ebp - 0xa], 0
jne 0x461c2e
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x24]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + edx*2 + 0x242]
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0x5c
je 0x461c9f
movzx eax, word [ebp - 8]
cmp eax, 0x2f
je 0x461c9f
mov ecx, dword [ebp - 0x10]
add ecx, 0x242
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov ax, word [edx + 2]
mov word [ebp - 0xc], ax
add dword [ebp - 0x18], 2
cmp word [ebp - 0xc], 0
jne 0x461c7e
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x5fa06c]
mov dword [edi], ecx
cmp dword [ebp + 0x10], 1
jne 0x461ce3
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x461cc7
mov dword [ebp - 0x1c], 1
jmp 0x461cce
mov dword [ebp - 0x1c], 0
mov al, byte [ebp - 0x1c]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x461ce3
mov eax, 0x2000000
jmp 0x461d2b
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045fc90
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x461d09
mov eax, dword [ebp - 0x30]
jmp 0x461d2b
mov eax, dword [ebp - 0x20]
push eax
call fcn.004604e0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x461d29
mov eax, 0x200
jmp 0x461d2b
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464180
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
sub eax, dword [ecx + 0x80]
mov edx, dword [ebp - 0xc]
sbb edx, dword [ecx + 0x84]
mov ecx, eax
call fcn.00570730
mulsd xmm0, qword [0x5ff418]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x88]
mov edx, dword [ecx + 0x8c]
mov ecx, eax
movsd qword [ebp - 0x18], xmm0
call fcn.00570730
movsd xmm1, qword [ebp - 0x18]
divsd xmm1, xmm0
mov ecx, dword [ebp - 4]
addsd xmm1, qword [ecx + 0x20]
mov edx, dword [ebp - 4]
movsd qword [edx + 0x20], xmm1
mov eax, dword [ebp - 4]
add eax, 0x80
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.0041eb00
movzx ecx, al
test ecx, ecx
je 0x46428a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x10]
jle 0x464235
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x14]
jge 0x46424e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x10]
jge 0x464270
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x14]
jg 0x464270
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.00419f60
mov ecx, dword [ebp - 4]
call fcn.00464300
jmp 0x46428a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
je 0x46428a
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.00419f60
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x18], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4723c0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b949d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6218c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], 0
push 0
push 0
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x28]
call fcn.00406d00
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0
je 0x4724cc
push 0
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407ac0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.00406a50
push eax
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x28]
call fcn.00406a20
movzx edx, al
test edx, edx
jne 0x4724cc
lea ecx, [ebp - 0x28]
call fcn.00406a30
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00406a50
movzx eax, word [eax]
test eax, eax
jne 0x4724a0
lea ecx, [ebp - 0x28]
call fcn.00406a30
sub eax, 1
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407a10
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040b6c0
lea ecx, [ebp - 0x40]
call fcn.00406c10
push str.microsoft_sharedinkTabTip.exe
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.004726c0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040b6c0
lea ecx, [ebp - 0x58]
call fcn.00406c10
lea ecx, [ebp - 0x28]
call fcn.00406a20
movzx eax, al
test eax, eax
je 0x4724e8
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x28]
call fcn.00409780
push 0xa
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00406a40
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret
Function at 0x478e40
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x478ec8
push 0x10000
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x478eb8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x478ea0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x478eca
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x478eca
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x478eca
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x480ed0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba050
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6218c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00480a90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CryptoPP::BaseN_Decoder.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00480b70
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004bb900
lea edx, [ebp + 0xc]
push edx
call fcn.00483400
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.004830e0
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004801d0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
call fcn.0047fdb0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004c8a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00481e60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x48a980
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5babdd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6218c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00405010
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405010
add esp, 4
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.0048b5a0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0047a8c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0048d120
mov dword [ebp - 0x20], 0x48a7c0
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.00412af0
push eax
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
call fcn.00586c22
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x48aa2c
lea ecx, [ebp - 0x14]
call fcn.0047fb50
jmp 0x48aa3d
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call fcn.0055c938
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0048d120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x48c760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5baf0f
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x6218c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.005224f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.005224f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0x28
push eax
call fcn.0048b340
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
movsd xmm0, qword [0x5ca428]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [ebp - 0x14]
movsd xmm0, qword [0x5ca428]
movsd qword [edx + 0x38], xmm0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x40], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.0048c6a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
push ecx
call fcn.0048b410
add esp, 4
mov byte [ebp - 4], 4
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0xd]
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x58
push eax
call fcn.0048b4d0
add esp, 8
mov byte [ebp - 4], 5
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0xe]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x60
push edx
call fcn.0048b4d0
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
add eax, 0x5c
mov ecx, eax
call fcn.0047e0c0
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
add eax, 0x2c
mov ecx, eax
call fcn.0047e0c0
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
add eax, 0x44
mov ecx, eax
call fcn.0047e0c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
xorps xmm0, xmm0
movsd qword [eax + 0x20], xmm0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
xorps xmm0, xmm0
movsd qword [eax + 0x18], xmm0
push 0x5c9ac1
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
add eax, 0x74
mov ecx, eax
call fcn.0040ba10
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
mov dword [eax + 0xc], 0
push 0x5c9ac2
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
add eax, 0x8c
mov ecx, eax
call fcn.0040ba10
push 0x5c9ac3
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
add eax, 0xa4
mov ecx, eax
call fcn.0040ba10
push 0x5c9af6
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00412010
add eax, 0xbc
mov ecx, eax
call fcn.0040ba10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4926a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x4926c0
jl 0x4926b7
cmp dword [ebp + 0xc], 0
ja 0x4926c0
xor eax, eax
xor edx, edx
jmp 0x4927f7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x4926e2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00488c00
jmp 0x4927f7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00486cb0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x492751
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00479690
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00487ae0
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0047f130
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.00487a50
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x4927e8
mov ecx, dword [ebp - 8]
call fcn.0048e860
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x4927c1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00585f53
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x4927bf
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x4927f7
jmp 0x49276d
cmp dword [ebp - 4], 0
jbe 0x4927e8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00585f53
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4933e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x6218c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x438], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x49342d
or eax, 0xffffffff
jmp 0x49354d
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49344d
mov byte [ebp - 0x439], 1
jmp 0x493454
mov byte [ebp - 0x439], 0
mov dl, byte [ebp - 0x439]
mov byte [ebp - 0x43b], dl
movzx eax, byte [ebp - 0x43b]
test eax, eax
je 0x49353e
mov ecx, dword [ebp - 0x430]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x4934f7
push 0x208
lea edx, [ebp - 0x20c]
push edx
push 0
mov eax, dword [ebp - 0x440]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x4934ea
mov ecx, dword [ebp - 0x448]
cmp dword [ecx], 0
je 0x4934ea
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x448]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x444]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x493517
mov byte [ebp - 0x43a], 1
jmp 0x49351e
mov byte [ebp - 0x43a], 0
mov cl, byte [ebp - 0x43a]
mov byte [ebp - 0x43b], cl
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
jmp 0x493460
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret
Function at 0x495bf0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb988
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6218c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
push 0x288
call fcn.00586f0b
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x288
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x495c67
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00584c22
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00586f0b
add esp, 4
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x495daf
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x190]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x194
push edx
lea ecx, [ebp - 0x28]
call fcn.00425150
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0xe8]
call fcn.004852a0
mov byte [ebp - 4], 1
push 0x30
lea eax, [ebp - 0x35]
push eax
call fcn.00494e50
add esp, 8
push eax
push 0x497af0
push 0x497780
lea ecx, [ebp - 0xe8]
call fcn.004955b0
mov ecx, eax
call fcn.004955b0
push eax
call fcn.00493d40
add esp, 8
mov dword [ebp - 0x30], 0
jmp 0x495cfc
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
call fcn.00406a30
cmp dword [ebp - 0x30], eax
jae 0x495d66
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.00406de0
movsx eax, byte [eax]
push eax
push 0
push 2
lea ecx, [ebp - 0x50]
push ecx
call fcn.0055cb48
add esp, 0xc
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.00493d60
add esp, 8
mov ecx, eax
call fcn.00495290
lea ecx, [ebp - 0x28]
call fcn.00406a30
sub eax, 1
cmp dword [ebp - 0x30], eax
jae 0x495d64
push 0x5ca6cc
lea eax, [ebp - 0xe8]
push eax
call fcn.00493d90
add esp, 8
jmp 0x495cf3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00584c22
add esp, 4
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xe8]
call fcn.004888d0
mov eax, dword [ebp - 0x34]
or eax, 1
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.004863b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406170
mov eax, dword [ebp + 8]
jmp 0x495dd4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00584c22
add esp, 4
push 0x5ca4ee
mov ecx, dword [ebp + 8]
call fcn.004061c0
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret