joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10061c9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x1007a0c4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x28]
call fcn.1005e9b8
mov esi, eax
test esi, esi
je 0x10061d02
lea eax, [esp + 0x10]
mov dword [esp + 0x15], 0x6f646e69
push eax
push esi
mov word [esp + 0x22], 0x41
mov dword [esp + 0x18], 0x646e6946
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x21], 0x77
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10061cfb
push ebp
push edi
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x20]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002261a
add esp, 0x14
ret

Function at 0x10061d17
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1007a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
call fcn.1005e9b8
mov esi, eax
test esi, esi
je 0x10061d6f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x646e6957
push eax
push esi
mov word [ebp - 0xc], 0x776f
mov byte [ebp - 0xa], bl
mov dword [ebp - 0x14], 0x776f6853
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10061d68
push dword [ebp + 0xc]
push edi
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002261a
mov esp, ebp
pop ebp
ret
Function at 0x10061dd9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x80
mov eax, dword [0x1007a0c4]
xor eax, esp
mov dword [esp + 0x7c], eax
and dword [esp + 0x14], 0
mov eax, ecx
push ebx
mov ebx, dword [esp + 0x88]
push ebp
push esi
push edi
lea ebp, [eax + 0x4c]
mov dword [esp + 0x11], 0x34333231
push 8
pop ecx
mov esi, ebp
mov word [esp + 0x15], 0x3635
lea edi, [esp + 0x28]
mov dword [esp + 0x1d], 0x666564
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov word [esp + 0x18], 0x3938
mov word [esp + 0x1b], 0x6362
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x1a], 0x61
mov byte [esp + 0x17], 0x37
call fcn.1006227d
push 0xf
xor edx, edx
xor esi, esi
pop edi
mov ecx, dword [ebp]
mov eax, ecx
shr eax, 0x1c
mov al, byte [esp + eax + 0x10]
mov byte [esp + edx + 0x48], al
mov eax, ecx
shr eax, 0x18
and eax, edi
mov al, byte [esp + eax + 0x10]
mov byte [esp + edx + 0x49], al
mov eax, ecx
shr eax, 0x14
and eax, edi
mov al, byte [esp + eax + 0x10]
mov byte [esp + edx + 0x4a], al
mov eax, ecx
shr eax, 0x10
and eax, edi
mov al, byte [esp + eax + 0x10]
mov byte [esp + edx + 0x4b], al
mov eax, ecx
shr eax, 0xc
and eax, edi
mov al, byte [esp + eax + 0x10]
mov byte [esp + edx + 0x4c], al
mov eax, ecx
shr eax, 8
and eax, edi
mov al, byte [esp + eax + 0x10]
mov byte [esp + edx + 0x4d], al
mov eax, ecx
shr eax, 4
and ecx, edi
and eax, edi
mov al, byte [esp + eax + 0x10]
mov byte [esp + edx + 0x4e], al
mov al, byte [esp + ecx + 0x10]
mov byte [esp + edx + 0x4f], al
add edx, 8
mov eax, dword [esp + esi*4 + 0x28]
inc esi
mov dword [ebp], eax
lea ebp, [ebp + 4]
cmp esi, 8
jl 0x10061e4c
cmp edx, 0x41
jae 0x10061f0a
lea eax, [esp + 0x48]
mov byte [esp + edx + 0x48], 0
push eax
mov ecx, ebx
call fcn.10004348
mov ecx, dword [esp + 0x8c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002261a
add esp, 0x80
ret 4
call fcn.10022a0b
int3

Function at 0x10062090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push eax
mov word [ebp - 0x18], 0x7250
mov dword [ebp - 0x15], 0x73736563
mov dword [ebp - 0x11], 0x654e3233
mov word [ebp - 0xd], 0x7478
mov byte [ebp - 0xb], bl
mov byte [ebp - 0x16], 0x6f
call fcn.100021b9
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100620e6
push edi
push esi
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002261a
mov esp, ebp
pop ebp
ret
Function at 0x100623b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
or esi, 0xffffffff
push eax
mov word [ebp - 0x15], 0x4664
mov word [ebp - 9], 0x57
mov dword [ebp - 0xe], 0x6d756c6f
mov word [ebp - 0x18], 0x6946
mov dword [ebp - 0x13], 0x74737269
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0xf], 0x56
call fcn.100021b9
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10062412
push ebx
push edi
call eax
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002261a
mov esp, ebp
pop ebp
ret

Function at 0x100624af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x1007a0c4]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.1005dc54
mov esi, eax
test esi, esi
je 0x10062553
lea eax, [esp + 0x18]
mov word [esp + 0x28], 0x656c
push eax
push esi
mov dword [esp + 0x21], 0x73756a64
mov dword [esp + 0x29], 0x72506e65
mov byte [esp + 0x20], 0x41
mov word [esp + 0x33], 0x7365
mov byte [esp + 0x32], 0x67
mov word [esp + 0x2d], 0x7669
mov dword [esp + 0x25], 0x6b6f5474
mov byte [esp + 0x35], bl
mov byte [esp + 0x2f], 0x69
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006254c
push dword [esp + 0x10]
push dword [esp + 0x18]
push dword [esp + 0x50]
push ebp
push dword [esp + 0x50]
push edi
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x34]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002261a
add esp, 0x28
ret
Function at 0x10062568
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x1007a0c4]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
push esi
push edi
mov dword [esp + 0x14], eax
xor edi, edi
mov eax, dword [esp + 0x50]
inc edi
mov dword [esp + 0x10], eax
call fcn.1005dc54
mov esi, eax
test esi, esi
je 0x10062611
lea eax, [esp + 0x20]
mov dword [esp + 0x2d], 0x577845
push eax
push esi
mov word [esp + 0x2b], 0x7551
mov word [esp + 0x2e], 0x7972
mov word [esp + 0x29], 0x6765
mov dword [esp + 0x31], 0x65756c61
mov byte [esp + 0x28], 0x52
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x30], 0x56
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006260a
push dword [esp + 0x10]
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebp
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002261a
add esp, 0x28
ret

Function at 0x10062800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x1007a0c4]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x44]
push eax
mov word [esp + 0x27], 0x656d
mov dword [esp + 0x30], 0x6e6f6974
mov dword [esp + 0x22], 0x6c6f5674
mov dword [esp + 0x2a], 0x726f666e
mov word [esp + 0x2e], 0x616d
mov word [esp + 0x20], 0x6547
mov word [esp + 0x34], 0x57
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x29], 0x49
call fcn.100021b9
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100628a6
push dword [esp + 0x5c]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push ebp
push dword [esp + 0x5c]
push edi
push esi
call eax
mov ebx, eax
mov ecx, dword [esp + 0x38]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002261a
add esp, 0x2c
ret

Function at 0x10063040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
or ecx, 0xffffffff
mov al, byte [edx]
test al, al
je 0x10063073
push esi
movzx eax, al
push 7
xor ecx, eax
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jns 0x10063056
inc edx
mov al, byte [edx]
test al, al
jne 0x1006304e
pop esi
not ecx
mov eax, ecx
ret
Function at 0x10063866
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
call fcn.1005dc54
mov esi, eax
test esi, esi
je 0x100638c1
lea eax, [ebp - 0x18]
mov dword [ebp - 0xe], 0x676f4c
push eax
push esi
mov dword [ebp - 0x12], 0x746e6576
mov dword [ebp - 0x17], 0x65736f6c
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x13], 0x45
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100638ba
push edi
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002261a
mov esp, ebp
pop ebp
ret
Function at 0x10063cdf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x1007a0c4]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], eax
inc edi
call fcn.1005dc54
mov esi, eax
test esi, esi
je 0x10063d60
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0x78457965
push eax
push esi
mov dword [esp + 0x1f], 0x6e65704f
mov word [esp + 0x28], 0x57
mov word [esp + 0x1c], 0x6552
mov byte [esp + 0x23], 0x4b
mov byte [esp + 0x1e], 0x67
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10063d59
push dword [esp + 0x10]
push dword [esp + 0x40]
push dword [esp + 0x40]
push ebp
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002261a
add esp, 0x1c
ret
Function at 0x406ca6
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x406ccf
mov eax, 0xfffffffd
jmp 0x406e70
mov ebx, dword [0x1128c40]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x406e3e
mov ebx, dword [0x1128c40]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x406d1e
mov ebx, dword [0x1128c40]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x406d1e
mov eax, 1
jmp 0x406d23
mov eax, 0
test eax, eax
je 0x406d53
call fcn.00406e76
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x406d40
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x1128c40]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x406d8a
mov ebx, dword [0x1128c40]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x406d8a
mov eax, 1
jmp 0x406d8f
mov eax, 0
test eax, eax
jne 0x406ddf
mov ebx, dword [0x1128c40]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x406dce
mov ebx, dword [0x1128c40]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x406dce
mov eax, 1
jmp 0x406dd3
mov eax, 0
test eax, eax
jne 0x406ddf
xor eax, eax
jmp 0x406de4
mov eax, 1
test eax, eax
je 0x406e10
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x406df9
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 [0x1128c40]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x406e66
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x406e70
mov esp, ebp
pop ebp
ret 4

Function at 0x407c4d
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.00407caf
test eax, eax
je 0x407c90
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x407c90
cmp word [eax], 0x5a4d
jne 0x407c90
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x407c90
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00407d81
mov eax, dword [ebp + 8]
jmp 0x407ca9
mov esp, ebp
pop ebp
ret 4

Function at 0x407caf
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x407d62
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 0x4149b2
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 0x4149ea
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4149d8
mov al, 1
jmp 0x414a34
cmp dword [ebx + 0x54], ecx
jne 0x4149e1
mov al, 2
jmp 0x414a34
cmp dword [ebx + 0x7c], ecx
jne 0x414a34
mov al, 3
jmp 0x414a34
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4149ff
mov al, 4
jmp 0x414a34
cmp ecx, 5
jne 0x414a1f
cmp ebx, 0
jne 0x414a0d
mov al, 5
jmp 0x414a34
cmp ebx, 1
jne 0x414a16
mov al, 6
jmp 0x414a34
cmp ebx, 2
jne 0x414a1f
mov al, 7
jmp 0x414a34
cmp ecx, 6
jne 0x414a2b
cmp ebx, 0
jne 0x414a2d
mov al, 8
jmp 0x414a34
cmp ebx, 1
jne 0x414a34
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x475b27
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 0x475b5e
mov esp, ebp
pop ebp
ret

Function at 0x4f9ba7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4f9c5a
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 0x4fe945
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.004f9ba7
test eax, eax
je 0x4fe988
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4fe988
cmp word [eax], 0x5a4d
jne 0x4fe988
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4fe988
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004fe9a7
mov eax, dword [ebp + 8]
jmp 0x4fe9a1
mov esp, ebp
pop ebp
ret 4

Function at 0x4feb5d
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x4feb86
mov eax, 0xfffffffd
jmp 0x4fed27
mov ebx, dword [0x11290cc]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x4fecf5
mov ebx, dword [0x11290cc]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x4febd5
mov ebx, dword [0x11290cc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x4febd5
mov eax, 1
jmp 0x4febda
mov eax, 0
test eax, eax
je 0x4fec0a
call fcn.004fed2d
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4febf7
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x11290cc]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x4fec41
mov ebx, dword [0x11290cc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x4fec41
mov eax, 1
jmp 0x4fec46
mov eax, 0
test eax, eax
jne 0x4fec96
mov ebx, dword [0x11290cc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x4fec85
mov ebx, dword [0x11290cc]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x4fec85
mov eax, 1
jmp 0x4fec8a
mov eax, 0
test eax, eax
jne 0x4fec96
xor eax, eax
jmp 0x4fec9b
mov eax, 1
test eax, eax
je 0x4fecc7
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4fecb0
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 [0x11290cc]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x4fed1d
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4fed27
mov esp, ebp
pop ebp
ret 4
Function at 0x516150
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x609dbb
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.005fbeb6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5161d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005f945d
mov eax, dword [eax]
push 0x1101f48
push eax
call fcn.005ea0b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005fc141
test bl, bl
je 0x5161d2
push 0x1101f48
lea ecx, [esp + 0xc]
call fcn.005fc51d
push 0x1101f54
lea ecx, [esp + 0xc]
call fcn.005fc51d
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 0x51620e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005fc141
jmp 0x5162d9
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 0x516292
lea edx, [esp + 0x7c]
push 0x1101f50
push edx
call fcn.005ea0b4
add esp, 8
test eax, eax
je 0x516292
lea eax, [esp + 0x7c]
push 0x1101f4c
push eax
call fcn.005ea0b4
add esp, 8
test eax, eax
je 0x516292
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 0x516222
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.005fc141
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 0x516af0
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 0x516b52
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 0x516b60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x609e3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x11243a8]
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 0x516c98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x516bc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005fc141
xor eax, eax
jmp 0x516d0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005fc2ca
push esi
lea ecx, [esp + 0xc]
call fcn.005fc559
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1101f88
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x516ced
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x1101f80
push closesocket
call fcn.00516af0
test eax, eax
jne 0x516ced
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x1101f6c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00516af0
test eax, eax
jne 0x516ced
lea eax, [esp + 0x14]
push 0x1101f64
push eax
call fcn.005eb330
mov esi, eax
add esp, 8
test esi, esi
jne 0x516ccc
lea ecx, [esp + 0x14]
push 0x1101f60
push ecx
call fcn.005eb2b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x516ccc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x516ccf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005fc27a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x516bde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005fc141
xor eax, eax
jmp 0x516d0f
mov byte [esi], 0
push 0x1101f5c
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.005fc141
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 0x524316
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x52433e
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