joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10089750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x1008976f
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10089791
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10089780
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x100897bb
mov eax, ebx
jmp 0x100897bf
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1008983e
cmp dword [edi + 0x14], 8
lea eax, [esi + 8]
mov ecx, edi
jb 0x100897d0
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x100897e6
mov eax, dword [eax]
cmp edx, dword [ebp - 4]
jne 0x100897fa
push edx
push ecx
push eax
call fcn.1002e070
add esp, 0xc
test eax, eax
je 0x10089804
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x100897b3
cmp dword [ebp - 0x10], 8
lea eax, [esi + 8]
jb 0x1008980f
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x10089817
mov edi, dword [edi]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jne 0x1008982e
push ecx
push eax
push edi
call fcn.1002e070
add esp, 0xc
test eax, eax
je 0x10089830
mov esi, ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1008a570
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10ca1848]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10ca11f4]
cmp eax, dword [ecx + 4]
jg 0x1008a5b9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10ca0d40
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x1008a5b4
add esi, 4
cmp esi, 0x10ca11f0
jne 0x1008a5a0
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10ca11f4
call fcn.100bda8d
add esp, 4
cmp dword [0x10ca11f4], 0xffffffff
jne 0x1008a58f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x101292c8
push 0x4b0
push 0x10ca0d40
push eax
call sub.PSAPI.DLL_EnumProcessModules
push 0x10ca11f4
mov dword [0x10ca11f0], eax
call fcn.100bda43
add esp, 4
jmp 0x1008a58f
Function at 0x1008a600
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008a640
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008a640
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008a640
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1008a642
add eax, 4
cmp eax, ecx
jb 0x1008a635
xor eax, eax
pop ebp
ret

Function at 0x1008a650
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008a6a7
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x1008a6a7
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x1008a689
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x1008a680
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x1008a960
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec5b1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x10122fb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x1008aa46
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1008a9e9
add esi, dword [ebp - 0x70]
jmp 0x1008aa39
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x1008aa37
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x1008aa37
test eax, 0x100
jne 0x1008aa37
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x10], edi
je 0x1008aa1e
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1008aa34
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10089d20
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x1008a9c0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x1008aa48
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x1008aae7
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x1008aad7
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.1008a870
mov esi, eax
add esp, 0x18
mov ecx, esi
test esi, esi
je 0x1008aad4
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], esi
inc esi
cmp dword [edi + 8], eax
je 0x1008aac0
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1008aacc
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.100091b0
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x1008aa90
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x1008aa72
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1008ab17
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1008ab0d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008ab2a
push ecx
push esi
call fcn.100bd88f
add esp, 8
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
call fcn.100c8b69
int3
Function at 0x1008ab30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1008abb3
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1008abb3
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1008abb3
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.1008dc60
add esp, 0xc
test eax, eax
je 0x1008abb3
mov edx, dword [ebp + 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008ab82
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.1008dcb0
add esp, 0x10
pop esi
test eax, eax
je 0x1008abb3
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1008ac90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10122fb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1008acde
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1008acde
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1008acde
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1008acef
add eax, 4
cmp eax, ecx
jb 0x1008acd3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1008ad5a
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1008ad45
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1008ad26
cmp dl, 0x11
jne 0x1008ad3f
inc eax
cmp eax, 6
jl 0x1008ad15
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1008ad13
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.1008b600
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
Function at 0x1008ade0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10122fb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008ae2d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008ae2d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008ae2d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1008ae3d
add eax, 4
cmp eax, ecx
jb 0x1008ae22
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x1008ae4d
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1008ae53
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x1008aeba
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1008aea5
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1008ae86
cmp dl, 0x11
jne 0x1008ae9f
inc eax
cmp eax, 6
jl 0x1008ae75
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1008ae73
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.1008b600
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret

Function at 0x1008aee0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10122fb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], esi
cmp ax, word [edx]
jne 0x1008af3b
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008af3b
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008af3b
mov edx, dword [ebp + 0xc]
nop dword [eax]
cmp dword [eax], edx
je 0x1008af60
add eax, 4
cmp eax, ecx
jb 0x1008af30
mov dword [esi], 0
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x1008af70
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1008af76
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push esi
call fcn.1008a960
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100bd89d
mov esp, ebp
pop ebp
ret
Function at 0x1008b6e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1008b630
add esp, 0x18
test eax, eax
je 0x1008b709
inc eax
cmp byte [eax], 0xcc
je 0x1008b703
pop ebp
ret

Function at 0x1008b910
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1008b850
add esp, 0x18
test eax, eax
je 0x1008b939
inc eax
cmp byte [eax], 0xcc
je 0x1008b933
pop ebp
ret

Function at 0x1008e230
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1008e3e0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1008e2fd
mov edx, dword [ebp - 4]
cmp edx, dword [0x10122e90]
jb 0x1008e27a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10122e94]
ja 0x1008e27a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1008e24a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100c05b0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1008e2a0
jmp 0x1008e2fd
cmp dword [ebp - 0x14], 0x10000
jne 0x1008e2e3
cmp dword [ebp - 0x18], 0x10000
jb 0x1008e2e3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008e2d6
mov eax, dword [ebp - 8]
jmp 0x1008e2ff
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1008e2f8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1008e3e0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1008e24a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1008e310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1008e410
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1008e3d5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10122e90]
jb 0x1008e355
mov eax, dword [ebp - 4]
cmp eax, dword [0x10122e94]
ja 0x1008e355
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1008e325
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100c05b0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1008e37b
jmp 0x1008e3d5
cmp dword [ebp - 0x14], 0x10000
jne 0x1008e3be
cmp dword [ebp - 0x18], 0x10000
jb 0x1008e3be
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008e3b1
mov eax, dword [ebp - 8]
jmp 0x1008e3d7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1008e3d0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1008e410
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1008e325
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100a949a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100dea02
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100de6c2
Function at 0x46497c
Capabilities:
Encode data using xor

Disassembly:
xchg dword [esi], ebp
push 0x1e
invalid
push esi
enter 0xffffffffffff96bc, 0xffffffffffffff82
ror dword [ebx], 0xb4
push es
or al, 0x63
push ebx
and esi, esp
stosd dword es:[edi], eax
jno 0x46497a
in al, dx
pop ds
daa
pop ds
pop ds
cmp al, 0x2b
xor byte [esi + 0x29], ch
xlatb
cwde
inc ecx
sti
mov bl, 0xa5
sub dl, byte [esi + edi*4 - 0x15a7259b]
mov esi, 0xea58da65
ficomp dword [eax - 0x16]
idiv byte [ebx - 0x51a360d4]
mov eax, dword [0x1a8b2762]
inc ebx
fcomp qword [esi + 0x76]
pop eax
inc esp
in al, 0xc
fsubr dword [ebx + 0xe]
jp 0x464921
jno 0x464930
jmp 0xb5c62e49
loope 0x464950
ficom word [eax + 0xb3fedcd]
out dx, eax
push eax
fld st(3)
jl 0x464993
xchg edi, eax
movsd dword es:[edi], dword [esi]
jbe 0x464956
invalid
mov dl, byte [eax - 0x10f471d0]
mov cs, word [ebx]
out dx, eax
push es
imul esp, dword [ecx + eax*2 - 0x7cb8191a], 0xffffff8a
outsb dx, byte [esi]
xchg edi, eax
loopne 0x4649d6
and eax, dword [ebp + 0x2c485959]
inc ebx
jno 0x464996
mov esi, 0x61d1e3c1
ret
sahf
jge 0x464a10
daa
sub al, 0xef
insb byte es:[edi], dx
sbb ecx, dword [eax]
jle 0x464a35
push cs
mov byte [0xfc362c1b], al
jbe 0x4649a3
outsb dx, byte [esi]
push edx
invalid
jne 0x4649d7
outsb dx, byte [esi]
invalid
cmp eax, 0x7755a084
mov bh, 0x83
mov esp, 0x3120ad4c
inc eax
xchg ebx, eax
pop edx
out 0xa1, al
or edx, dword [ebp + 0x22]
or byte [edx + ecx - 0x5d], dl
xor dl, ah
imul ecx, dword [eax + 0x3a], 0x4a798405
and al, 0x6e
adc eax, 0x84d690cd
out 0xe1, al
mov ebp, 0xdea22dd4
sub al, 0x2b
or eax, 0x11618400
nop
salc
test dh, ah
loope 0x4649f8
aam 0x2d
mov byte [0x652b2cde], al
or eax, 0x11618400
mov ebp, 0xdd139771
test al, 0xea
mov dh, 0x89
pop esi
sbb dword [ecx + 0x1d514490], esp
invalid
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x408958
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
call fcn.0040897b
mov edi, ebx
or ebx, ebx
xor dword [ecx], esi
inc ecx
and edi, ebx
or edi, ebx
cmp ecx, edx
jne fcn.00408958
or edi, ebx
sub edi, 0x6508f4b3
ret
Function at 0x4016b4
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_setsockopt]
call eax
sub esp, 0x14
leave
ret
Function at 0x40d1e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004187c0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004187c0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x40d240
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x44a068]
test esi, esi
jle 0x40d360
mov eax, dword [0x44a06c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x40d274
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x40d2f7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x40d260
mov dword [esp], ebx
call fcn.0040dc40
mov edi, eax
test eax, eax
je 0x40d387
mov eax, dword [0x44a06c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0040dd80
mov edx, dword [0x44a06c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40d367
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x40d2f0
lea edx, [eax - 0x40]
and edx, 0xffffffbf
jne 0x40d300
add dword [0x44a068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x44a06c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40d2f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0040d1e0
lea esi, cs:[esi]
nop
xor esi, esi
jmp 0x40d27e
mov eax, dword [0x44a06c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0040d1e0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0040d1e0
lea esi, cs:[esi]
nop