joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416153
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416192
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x416192
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x416192
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x416192
cmp dword [ecx + 0x74], 0xe
jbe 0x416192
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42858d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42858d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10011b6b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10011b7a
pop dword [ebp - 0x18]
mov eax, 0xdcfd8f96
add eax, 0x33038be4
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x1b1ccaf3
sub dword [ebp - 0x28], 0xccca85a8
mov dword [ebp - 0x24], 0x58fe511c
add dword [ebp - 0x24], 0xd934fb29
mov dword [ebp - 0x20], 0x6a1bbe98
add dword [ebp - 0x20], 0xe2308596
mov dword [ebp - 0x1c], 0x81a3cab8
add dword [ebp - 0x1c], 0x7e5c3548
lea eax, [ebp - 0x28]
push eax
mov eax, 0x636a2b68
sub eax, 0x53683ac4
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x3def0d4f
add dword [ebp - 0x28], 0x36835c07
mov dword [ebp - 0x24], 0x810f2be3
sub dword [ebp - 0x24], 0x3fa2ca6e
mov dword [ebp - 0x20], 0x5b938ca3
add dword [ebp - 0x20], 0x7dbdfc9
mov dword [ebp - 0x1c], 0xf0da949a
add dword [ebp - 0x1c], 0xf256b66
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x31a1a0bc
add eax, 0xde604fe0
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3ab86
push 0
call eax
mov ecx, 0x466b
xor esi, esi
add esi, eax
mov edx, 0x57bb2974
sub edx, 0x47b88f74
add edx, dword [ebp - 0x18]
mov edi, 0xdd4f787
xor dword [ebp - 0xc], 0xd8d0b6e2
mov ebx, dword [edx]
mov dword [ebp - 4], 0x482ca783
sub ebx, edi
mov dword [esi], ebx
sub dword [ebp - 4], esi
add esi, 0x7a2bc6ed
sub esi, 0x7a2bc6e9
add edx, 4
loop 0x10011c92
add eax, 0x10c7f
mov ebx, eax
add eax, 0x8ac584fd
sub eax, 0x8ac584f8
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10011b6b
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10011b6b
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.10011b6b
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10011b6b
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10011b6b
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x5e4c6ab5
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x41720ca5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x7003197
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x70031a6
pop dword [ebp - 0x1c]
mov eax, 0x64a42791
add eax, 0xa25c0a15
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xca01263d
sub dword [ebp - 0x2c], 0x7baee0f2
mov dword [ebp - 0x28], 0xa5cf7743
add dword [ebp - 0x28], 0x8c63d502
mov dword [ebp - 0x24], 0x81ba8604
sub dword [ebp - 0x24], 0x356e41d6
mov dword [ebp - 0x20], 0x9a62b0ea
sub dword [ebp - 0x20], 0x9a62b0ea
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xdc35d42d
add eax, 0x2acb5c03
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x3beff90b
sub dword [ebp - 0x2c], 0xc77d8fb5
mov dword [ebp - 0x28], 0x62af28f
sub dword [ebp - 0x28], 0xc4be911a
mov dword [ebp - 0x24], 0x620848c1
sub dword [ebp - 0x24], 0xfe98dc55
mov dword [ebp - 0x20], 0xbd615b60
add dword [ebp - 0x20], 0x429ea4a0
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a2ef
push 0
call eax
mov ecx, 0xfa62dd6e
sub ecx, 0xfa629721
mov esi, eax
mov edx, 0x7020200
add edx, dword [ebp - 0x1c]
mov edi, 0x89e65c56
add edi, 0x19b99db4
sub dword [ebp - 0x14], 0x50d5def3
mov ebx, dword [edx]
sub dword [ebp - 0x14], 0xea58273a
xor ebx, edi
xor dword [ebp - 0x18], esi
mov dword [esi], ebx
mov dword [ebp - 0xc], 0x382f000a
add esi, 0xea3a0e90
sub esi, 0xea3a0e8c
add edx, 4
loop 0x70032bd
add eax, 0x8e688a9e
add eax, 0x71988169
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xaa0e1642
sub ecx, 0xa30e1642
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003197
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003197
int3
Function at 0x40a692
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x40a6bb
mov eax, 0xfffffffd
jmp 0x40a85c
mov ebx, dword [0x12d0cd4]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x40a82a
mov ebx, dword [0x12d0cd4]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x40a70a
mov ebx, dword [0x12d0cd4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x40a70a
mov eax, 1
jmp 0x40a70f
mov eax, 0
test eax, eax
je 0x40a73f
call fcn.0040a862
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40a72c
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12d0cd4]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x40a776
mov ebx, dword [0x12d0cd4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x40a776
mov eax, 1
jmp 0x40a77b
mov eax, 0
test eax, eax
jne 0x40a7cb
mov ebx, dword [0x12d0cd4]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x40a7ba
mov ebx, dword [0x12d0cd4]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x40a7ba
mov eax, 1
jmp 0x40a7bf
mov eax, 0
test eax, eax
jne 0x40a7cb
xor eax, eax
jmp 0x40a7d0
mov eax, 1
test eax, eax
je 0x40a7fc
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40a7e5
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x12d0cd4]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x40a852
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40a85c
mov esp, ebp
pop ebp
ret 4

Function at 0x40b639
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040b69b
test eax, eax
je 0x40b67c
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40b67c
cmp word [eax], 0x5a4d
jne 0x40b67c
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40b67c
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040b76d
mov eax, dword [ebp + 8]
jmp 0x40b695
mov esp, ebp
pop ebp
ret 4

Function at 0x40b69b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40b74e
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x429938
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x429970
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x42995e
mov al, 1
jmp 0x4299ba
cmp dword [ebx + 0x54], ecx
jne 0x429967
mov al, 2
jmp 0x4299ba
cmp dword [ebx + 0x7c], ecx
jne 0x4299ba
mov al, 3
jmp 0x4299ba
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x429985
mov al, 4
jmp 0x4299ba
cmp ecx, 5
jne 0x4299a5
cmp ebx, 0
jne 0x429993
mov al, 5
jmp 0x4299ba
cmp ebx, 1
jne 0x42999c
mov al, 6
jmp 0x4299ba
cmp ebx, 2
jne 0x4299a5
mov al, 7
jmp 0x4299ba
cmp ecx, 6
jne 0x4299b1
cmp ebx, 0
jne 0x4299b3
mov al, 8
jmp 0x4299ba
cmp ebx, 1
jne 0x4299ba
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c874d
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4c8784
mov esp, ebp
pop ebp
ret

Function at 0x50f1af
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x50f262
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x513f4d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0050f1af
test eax, eax
je 0x513f90
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x513f90
cmp word [eax], 0x5a4d
jne 0x513f90
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x513f90
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00513faf
mov eax, dword [ebp + 8]
jmp 0x513fa9
mov esp, ebp
pop ebp
ret 4

Function at 0x514165
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x51418e
mov eax, 0xfffffffd
jmp 0x51432f
mov ebx, dword [0x12d1154]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x5142fd
mov ebx, dword [0x12d1154]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x5141dd
mov ebx, dword [0x12d1154]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x5141dd
mov eax, 1
jmp 0x5141e2
mov eax, 0
test eax, eax
je 0x514212
call fcn.00514335
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x5141ff
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12d1154]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x514249
mov ebx, dword [0x12d1154]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x514249
mov eax, 1
jmp 0x51424e
mov eax, 0
test eax, eax
jne 0x51429e
mov ebx, dword [0x12d1154]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x51428d
mov ebx, dword [0x12d1154]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x51428d
mov eax, 1
jmp 0x514292
mov eax, 0
test eax, eax
jne 0x51429e
xor eax, eax
jmp 0x5142a3
mov eax, 1
test eax, eax
je 0x5142cf
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x5142b8
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x12d1154]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x514325
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x51432f
mov esp, ebp
pop ebp
ret 4
Function at 0x52d050
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6222eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.006143e7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x52d0d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006117ed
mov eax, dword [eax]
push 0x12a9f40
push eax
call fcn.00602444
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00614672
test bl, bl
je 0x52d0d2
push 0x12a9f40
lea ecx, [esp + 0xc]
call fcn.00614a4e
push 0x12a9f4c
lea ecx, [esp + 0xc]
call fcn.00614a4e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x52d10e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00614672
jmp 0x52d1d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x52d192
lea edx, [esp + 0x7c]
push 0x12a9f48
push edx
call fcn.00602444
add esp, 8
test eax, eax
je 0x52d192
lea eax, [esp + 0x7c]
push 0x12a9f44
push eax
call fcn.00602444
add esp, 8
test eax, eax
je 0x52d192
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x52d122
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00614672
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x52d9f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x52da52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x52da60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x62236b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x12cc3b8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x52db98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x52dac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00614672
xor eax, eax
jmp 0x52dc0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.006147fb
push esi
lea ecx, [esp + 0xc]
call fcn.00614a8a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x12a9f80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x52dbed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x12a9f78
push closesocket
call fcn.0052d9f0
test eax, eax
jne 0x52dbed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x12a9f64
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0052d9f0
test eax, eax
jne 0x52dbed
lea eax, [esp + 0x14]
push 0x12a9f5c
push eax
call fcn.006036c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x52dbcc
lea ecx, [esp + 0x14]
push 0x12a9f58
push ecx
call fcn.00603640
mov esi, eax
add esp, 8
test esi, esi
jne 0x52dbcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x52dbcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006147ab
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x52dade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00614672
xor eax, eax
jmp 0x52dc0f
mov byte [esi], 0
push 0x12a9f54
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00614672
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x53c616
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x53c63e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret