joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10138dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013abdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 0xb]
test ecx, ecx
jne 0x10138df4
xor al, al
jmp 0x10138ea6
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 4], 0xffffffff
jne 0x10138e2e
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x10137190
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 4], 0xffffffff
jne 0x10138e2e
jmp 0x10138ea3
lea ecx, [ebp - 0x34]
call fcn.10117cb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x88]
call eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xcc
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xb8
call fcn.10118330
mov eax, dword [ebp - 0x3c]
add eax, 0xcc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10117d10
xor ecx, ecx
jne 0x10138df4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1f74a44
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1f74a4e
pushal
call 0x1f74a54
pop ebp
sub ebp, 0x10
sub ebp, 0x1b74a44
jmp 0x1f74a6a
mov eax, 0x1b74a44
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b3
mov edx, 0x3882db8f
xor byte [eax], dl
inc eax
dec ecx
jne 0x1f74a81
jmp 0x1f74a94
add al, 0x42
add al, 6
mov bl, 0x8f
invalid
Function at 0x401e50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x4da0c0]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
push edi
mov edi, ecx
test esi, esi
je 0x401fe9
cmp dword [edi + 4], 0xffffffff
je 0x401e89
call fcn.00401dc0
mov al, byte [esi]
sub al, 0x30
push esi
cmp al, 9
ja 0x401eb1
xorps xmm0, xmm0
mov eax, 2
movlpd qword [esp + 0x2c], xmm0
mov word [esp + 0x24], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x24], eax
jmp 0x401ee9
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x401fe9
xorps xmm0, xmm0
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x20], xmm0
movsx ecx, word [esi + 0xa]
push ecx
mov ecx, dword [esi + 0xc]
push dword [ecx]
push eax
call fcn.00475270
mov ax, word [esi + 8]
add esp, 0xc
mov word [esp + 0x20], ax
push 0x3afc
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [esp + 0x2e], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x401f29
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00473461
mov esp, ebp
pop ebp
ret 0xc
push 4
lea eax, [esp + 0x3c]
mov dword [edi + 4], esi
push eax
push 0x1002
push 0xffff
push esi
mov dword [esp + 0x4c], 0x40000
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x401f8c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00473461
mov esp, ebp
pop ebp
ret 0xc
push 0x31
push 0x401
push dword [esp + 0x1c]
push esi
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401fb0
sub ecx, esi
push ecx
push edx
lea ecx, [edi + 0xc]
call fcn.00402b70
mov dword [edi + 0x24], 0x3afc
xor eax, eax
mov dword [edi + 0x40028], 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00473461
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x3c]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.00473461
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402000
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4da0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4021f1
cmp dword [esi + 0x40028], 0
je 0x4021f1
lea ecx, [ebp - 8]
xor ebx, ebx
push ecx
push 0x4004667f
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 8], ebx
jbe 0x4021e6
mov ecx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [esi + 0x28]
mov dword [ebp - 0x18], ecx
push 0
push 0x40000
push eax
push dword [esi + 4]
call ecx
mov edi, eax
cmp edi, 0xffffffff
je 0x4021ca
test edi, edi
je 0x4021b9
add ebx, edi
mov dword [ebp - 0x14], ebx
test edi, edi
jle 0x4021b9
lea eax, [esi + 0x40030]
mov ebx, eax
mov dword [ebp - 0x10], ebx
nop dword [eax]
mov edx, dword [esi + 0x4003c]
mov ecx, edx
sub ecx, dword [esi + 0x40038]
jns 0x4020a7
add ecx, dword [eax]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebx]
mov eax, ebx
sub eax, ecx
cmp edi, eax
jl 0x402123
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + ebx]
push eax
mov dword [ecx], eax
call fcn.004734b7
add esp, 4
mov dword [ebp - 0xc], eax
push ebx
push dword [esi + 0x40034]
push eax
call fcn.00475270
mov eax, dword [esi + 0x4003c]
add esp, 0xc
cmp eax, dword [esi + 0x40038]
jge 0x4020fe
push eax
push dword [esi + 0x40034]
mov eax, dword [ebp - 0xc]
add eax, ebx
push eax
call fcn.00475270
add esp, 0xc
add dword [esi + 0x4003c], ebx
push dword [esi + 0x40034]
call fcn.0047346f
mov eax, dword [ebp - 0xc]
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x40034], eax
lea eax, [esi + 0x40030]
jmp 0x402090
mov ebx, dword [esi + 0x40030]
lea eax, [edx + edi]
cmp eax, ebx
jl 0x40219a
sub ebx, edx
sub edi, ebx
test ebx, ebx
jne 0x402151
push 0x37
push 0x4cde50
push 0x4cdedc
push str.ERROR____s_n_s:__d_n_n
call fcn.00401910
add esp, 0x10
push ebx
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x4003c]
add eax, dword [esi + 0x40034]
push eax
call fcn.00475270
add esp, 0xc
lea eax, [esi + 0x4003c]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x402194
lea eax, [esi + 0x28]
push edi
add eax, ebx
push eax
push dword [esi + 0x40034]
call fcn.00475270
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax], edi
jmp 0x4021b6
xor edi, edi
mov dword [eax], edi
jmp 0x4021b6
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x40034]
add eax, edx
push eax
call fcn.00475270
add esp, 0xc
add dword [esi + 0x4003c], edi
mov ebx, dword [ebp - 0x14]
lea eax, [esi + 0x28]
mov ecx, dword [ebp - 0x18]
cmp ebx, dword [ebp - 8]
jb 0x402055
jmp 0x4021e6
push 0xc6
push 0x4cdf08
push str.socket_receive_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.00401910
add esp, 0x10
mov ecx, esi
call fcn.00402210
test eax, eax
jne 0x4021e6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473461
mov esp, ebp
pop ebp
ret
Function at 0x402810
Capabilities:
Encode data using xor
Hash data with crc32
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a81d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4da0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40058], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
je 0x4029cc
cmp dword [ebx + 4], 0xffffffff
je 0x4029cc
cmp dword [ebx + 0x40028], 0
je 0x4029cc
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], vtable.DataPack.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
cmp dword [0x4ddb3c], eax
je 0x402929
mov eax, dword [0x4ddb38]
push esi
inc eax
push edi
push 0x4de104
mov dword [0x4ddb38], eax
mov dword [0x4de100], eax
call fcn.00475270
lea edi, [esi + 4]
add esp, 0xc
or ecx, 0xffffffff
xor edx, edx
test edi, edi
je 0x4028eb
nop dword [eax]
movzx eax, byte [edx + 0x4de100]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce020]
cmp edx, edi
jb 0x4028d0
push 0x4de100
lea eax, [esi + 8]
mov dword [esi + 0x4de104], ecx
push 0x4de100
mov esi, eax
push eax
mov dword [ebp - 0x20], esi
call fcn.0041d390
push esi
mov dword [ebp - 0x18], esi
call fcn.004734b7
push esi
mov edi, eax
mov dword [ebp - 0x24], eax
push 0x4de100
push edi
mov dword [ebp - 0x28], edi
call fcn.00475270
add esp, 0x10
lea eax, [esi + 6]
cmp eax, 0xc8
jg 0x4029c1
mov esi, dword [sym.imp.WS2_32.dll_htons]
lea edi, [ebx + 0x28]
push 0xaa55
call esi
mov word [edi], ax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov word [edi + 2], ax
add edi, 4
push edi
call fcn.00475270
add esp, 0xc
push 0x55aa
call esi
mov ecx, dword [ebp - 0x20]
mov word [ecx + edi], ax
lea esi, [ecx + 6]
xor eax, eax
test esi, esi
jle 0x4029bb
push 0
mov edi, eax
lea eax, [ebx + 0x28]
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x40299f
test ecx, ecx
lea eax, [ecx + edi]
cmove eax, edi
cmp eax, esi
jl 0x402978
jmp 0x4029bb
push 0x151
push 0x4cdf08
push str.socket_send_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.00401910
add esp, 0x10
add dword [ebx + 0x40040], esi
push dword [ebp - 0x28]
call fcn.0047346f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473461
mov esp, ebp
pop ebp
ret 8
Function at 0x405890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4058c2
jl 0x4058b5
test ecx, ecx
jne 0x4058c2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x405982
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.004071f0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40592e
jg 0x4058ed
test esi, esi
je 0x40592e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x405905
mov eax, dword [esp + 0x10]
jl 0x4058ff
cmp eax, esi
jae 0x405905
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00475270
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40594f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40596b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x4058d4
jl 0x40596b
test ecx, ecx
jne 0x4058d4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4059c0
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x4059c0
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.00475270
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x405a29
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4059e6
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x405a14
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0047b77f
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x405a29
cmp edi, eax
ja 0x4059f2
test edi, edi
je 0x405a29
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0047b77f
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4077b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ad90
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4da0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00473474
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00471f64
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00407750
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409f30
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b0b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4da0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4ddb80]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsCount]
test eax, eax
je 0x409f7b
mov dword [esi + 8], eax
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004734b7
mov edi, dword [0x4ddb80]
add esp, 4
mov dword [0x4ddb58], eax
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsList]
test eax, eax
je 0x409fb6
mov dword [edi + 8], eax
mov esi, dword [0x4ddb80]
lea eax, [ebp - 0x14]
push eax
push dword [0x4ddb58]
mov dword [ebp - 0x14], 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameCount]
test eax, eax
je 0x409fdd
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [0x4ddb80]
mov dword [0x4ddb4c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x5100
push dword [esi + 4]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItemSize]
test eax, eax
je 0x40a00b
mov dword [esi + 8], eax
mov esi, dword [ebp - 0x1c]
push esi
call fcn.0047dba7
mov edi, dword [0x4ddb80]
add esp, 4
mov dword [0x4ddb6c], eax
push eax
push esi
push 0x5100
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetPropertyItem]
test eax, eax
je 0x40a039
mov dword [edi + 8], eax
cmp dword [0x4ddb4c], 1
jbe 0x40a0a5
push str.NOTICED:_GDIHelper::InitializeImage____Image_file_has_more_than_1_frame__its_playable__2_._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 4
mov dword [0x4ddb48], 1
call fcn.00473474
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x409b10
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x40a340
push 0
push 0
call fcn.0047dada
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40a0c5
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00409990
cmp dword [ebp - 0x14], 0
jne 0x40a0c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473461
mov esp, ebp
pop ebp
ret
call fcn.0047db6b
push 6
mov dword [ebp - 0x14], 0
call fcn.00471dbe
int3
Function at 0x40f400
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b48d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4da0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Path.ini
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.00408750
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40f476
mov eax, dword [eax]
push ecx
push eax
push 0
lea ecx, [ebp - 0x44]
call fcn.00413030
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push eax
push 0xa
push str.Count
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], eax
cmp ecx, 0xf
jbe 0x40f50e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f504
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5b6
push ecx
push edx
call fcn.004734a9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x40f557
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f54d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5b6
push ecx
push edx
call fcn.004734a9
add esp, 8
mov eax, dword [edi + 4]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test eax, eax
js 0x40f575
cmp eax, 0xa
jle 0x40f57c
mov dword [edi + 4], 0
mov eax, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x40f5a2
nop dword [eax]
push 0
push esi
mov ecx, edi
call fcn.004100c0
add esi, 0x18
cmp esi, dword [ebp - 0x14]
jne 0x40f590
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047b2e0
int3
Function at 0x41d390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, cl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
jle 0x41d3ee
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, ecx
nop dword [eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x4ddd38]
mov ecx, edi
xor dl, byte [ebx + esi]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov byte [esi], dl
cmp eax, dword [ebp + 8]
jl 0x41d3c0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421ae0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x4de07c], 2
jne 0x421c35
mov eax, dword [0x4ddbb8]
cmp byte [eax + 0x14c], 0
je 0x421c35
push ebx
mov byte [ebp - 0x1c], 0x15
mov al, 0x5a
xor al, byte [ebp - 0x1c]
mov cl, 0x65
xor cl, byte [ebp - 0x1c]
mov bh, 0x70
mov byte [ebp - 0x1b], al
mov ah, 0x7a
mov byte [ebp - 0x1a], cl
mov dl, 0x61
mov cl, byte [ebp - 0x1c]
mov ch, 0x7b
mov byte [ebp - 1], 0x6d
xor ah, cl
mov al, byte [ebp - 1]
mov dh, 0x3b
xor al, cl
mov byte [ebp - 2], bh
mov byte [ebp - 0x13], al
mov bl, 0x7c
mov al, byte [ebp - 2]
xor dl, cl
push 9
push 0
xor al, cl
mov byte [ebp - 0x17], ah
push 0
mov byte [ebp - 0x12], al
xor bl, cl
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x11], 0
push eax
push 0
xor ch, cl
mov dword [0x4ddbcc], 1
xor dh, cl
mov dword [0x4de07c], 1
xor bh, cl
mov byte [ebp - 0x19], dl
push 0
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x16], ch
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
mov byte [ebp - 0x11], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 2
jne 0x421c2c
movaps xmm0, xmmword [0x4d4510]
mov al, 0x19
mov byte [ebp - 0x10], 0x55
mov cl, 0x34
xor al, byte [ebp - 0x10]
mov ch, 0x3d
mov byte [ebp - 0xf], al
mov dl, 0x20
mov al, byte [ebp - 0x10]
mov bl, 0x3b
mov ah, 0x36
mov byte [ebp - 7], 0
mov dh, 0x30
mov byte [ebp - 7], 0
mov bh, 0x27
mov dword [ebp - 0x24], 0x716a7079
xor cl, al
mov word [ebp - 0x20], 0x317b
xor ch, al
mov byte [ebp - 0xe], cl
xor dl, al
mov byte [ebp - 0xa], ch
xor bl, al
mov byte [ebp - 0xd], dl
xor ah, al
mov byte [ebp - 0xc], bl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 9], dh
mov byte [ebp - 8], bh
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x1e], 0
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x15
jb 0x421c00
push 0x40
lea eax, [ebp - 0xf]
mov byte [ebp - 0x1e], 0
push eax
lea eax, [ebp - 0x33]
push eax
push dword [0x4ddb88]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423b10
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x4da0c0]
xor eax, esp
mov dword [esp + 0x164], eax
push esi
push edi
push 0
push 2
mov dword [esp + 0x48], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x423c58
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x423c58
nop
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x64]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423b90
sub ecx, edx
lea eax, [esp + 0x64]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00408750
movaps xmm0, xmmword [0x4d42a0]
xor eax, eax
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x13
nop dword [eax]
mov cl, byte [esp + 0xc]
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0x10
jb 0x423bc0
lea edx, [esp + 0xd]
mov byte [esp + 0x1d], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x423be0
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xd]
mov esi, dword [esp + 0x20]
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x24]
cmp edi, 0xf
push eax
cmova ecx, esi
push 0
call fcn.004083b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x423c6e
cmp edi, 0xf
jbe 0x423c40
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x423c36
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423cae
push ecx
push esi
call fcn.004734a9
add esp, 8
lea eax, [esp + 0x40]
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x423b70
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.00473461
mov esp, ebp
pop ebp
ret
cmp edi, 0xf
jbe 0x423c98
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x423c8e
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423cae
push edi
push esi
call fcn.004734a9
add esp, 8
mov ecx, dword [esp + 0x16c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00473461
mov esp, ebp
pop ebp
ret
call fcn.0047b2e0
int3