joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004ff0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov word [eax + 0x54], cx
mov dword [eax + 0x56], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret

Function at 0x10005130
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
cmp bp, 0x40
mov ebx, ebp
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 0x1c], 0xc3d2e1f0
jl 0x1000518f
mov esi, dword [esp + 0x28]
push edi
movsx edi, bp
shr edi, 6
lea eax, [esp + 0x10]
push esi
push eax
sub ebx, 0x40
call fcn.10004d00
add esp, 8
add esi, 0x40
dec edi
jne 0x10005175
pop edi
jmp 0x10005193
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
and ebp, 0xffff
push ebp
push ebx
push esi
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.10004f20
add esp, 0x14
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1001e41b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1001e42a
pop dword [ebp - 0x20]
mov eax, 0xd61440c3
sub eax, 0xc6125c99
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xec638d79
sub dword [ebp - 0x30], 0x9e11482e
mov dword [ebp - 0x2c], 0x17d6343f
sub dword [ebp - 0x2c], 0xe5a2e7fa
mov dword [ebp - 0x28], 0xc2a52156
add dword [ebp - 0x28], 0x89a722d8
mov dword [ebp - 0x24], 0x1fd87c95
add dword [ebp - 0x24], 0xe027836b
lea eax, [ebp - 0x30]
push eax
mov eax, 0xa0560633
sub eax, 0x9055f503
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xd2ea521b
sub dword [ebp - 0x30], 0x5e77e8c5
mov dword [ebp - 0x2c], 0xa69bf8d2
sub dword [ebp - 0x2c], 0x652f975d
mov dword [ebp - 0x28], 0x32ec1db
sub dword [ebp - 0x28], 0x9fbf556f
mov dword [ebp - 0x24], 0xa9c68c17
sub dword [ebp - 0x24], 0xa9c68c17
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x76592617
add eax, 0x99a6eafd
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x40738
push 0
call eax
mov ecx, 0x50d3c2e8
sub ecx, 0x50d37397
mov edx, eax
mov ebx, 0x1002f800
add ebx, dword [ebp - 0x20]
mov esi, 0x688988de
sub esi, 0x2a355323
mov edi, dword [ebx]
sub dword [ebp - 0xc], edi
add edi, esi
xor dword [ebp - 4], 0x820c0f05
mov dword [edx], edi
add dword [ebp - 8], 0xcbc04161
add edx, 0xc7f834e4
add edx, 0x3807cb20
add ebx, 0x7b5836f5
add ebx, 0x84a7c90f
loop 0x1001e546
add eax, 0x9c4d0c23
sub eax, 0x9c4bdc0c
mov ebx, eax
add eax, 0x31174997
sub eax, 0x31174992
mov ecx, 0x1a00d108
add ecx, 0xf5ff2ef8
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x100269ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100060ec]
jne 0x10027054
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1002bda8], eax
mov dword [0x1002bda4], ecx
mov dword [0x1002bda0], edx
mov dword [0x1002bd9c], ebx
mov dword [0x1002bd98], esi
mov dword [0x1002bd94], edi
mov word [0x1002bdc0], ss
mov word [0x1002bdb4], cs
mov word [0x1002bd90], ds
mov word [0x1002bd8c], es
mov word [0x1002bd88], fs
mov word [0x1002bd84], gs
pushfd
pop dword [0x1002bdb8]
mov eax, dword [ebp]
mov dword [0x1002bdac], eax
mov eax, dword [ebp + 4]
mov dword [0x1002bdb0], eax
lea eax, [ebp + 8]
mov dword [0x1002bdbc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1002bcf8], 0x10001
mov eax, dword [0x1002bdb0]
mov dword [0x1002bcac], eax
mov dword [0x1002bca0], 0xc0000409
mov dword [0x1002bca4], 1
mov eax, dword [0x100060ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1002baac]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1002bcf0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100060fc
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1002bcf0], 0
jne 0x10027140
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x320010e7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x320010f6
pop dword [ebp - 0x24]
mov eax, 0x897d8181
sub eax, 0x577d708b
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x36a02411
add dword [ebp - 0x34], 0x17b2213a
mov dword [ebp - 0x30], 0xb7828bd4
add dword [ebp - 0x30], 0x7ab0c071
mov dword [ebp - 0x2c], 0xe915ce9e
add dword [ebp - 0x2c], 0x63367590
mov dword [ebp - 0x28], 0xf760ad2f
add dword [ebp - 0x28], 0x89f52d1
lea eax, [ebp - 0x34]
push eax
mov eax, 0xdee1337f
add eax, 0x5323fd05
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x810a71e9
sub dword [ebp - 0x34], 0xc980893
mov dword [ebp - 0x30], 0x65c21e85
add dword [ebp - 0x30], 0xdbaa42f0
mov dword [ebp - 0x2c], 0xad3453b4
sub dword [ebp - 0x2c], 0x49c4e748
mov dword [ebp - 0x28], 0x86dd2fcf
sub dword [ebp - 0x28], 0x86dd2fcf
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x4d788
push 0
call eax
mov ecx, 0x608f
xor ebx, ebx
add ebx, eax
mov edx, 0x9eaceee2
add edx, 0x935ab31e
add edx, dword [ebp - 0x24]
mov edi, 0x65ffe42b
sub edi, 0x990309f3
sub dword [ebp - 0x18], 0x74664ee0
mov esi, dword [edx]
xor dword [ebp - 0x18], 0xb549c046
sub esi, edi
xor dword [ebp - 0x14], ecx
mov dword [ebx], esi
xor dword [ebp - 0x1c], eax
add ebx, 4
add edx, 4
loop 0x3200120f
add eax, 0x3d644574
add eax, 0xc29d2f9b
mov ebx, eax
add eax, 0xad8417d7
add eax, 0x527be82e
mov ecx, 0x32000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x402560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4025f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4025d8
xor eax, eax
push ebp
push 0x4025d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402614
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4025d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402e48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call fcn.00401088
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403000
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x402ea9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40301c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402f16
xor eax, eax
push ebp
push 0x402f0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x402ef8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40303c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f16
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call fcn.004010a8
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.00401098
push eax
call fcn.00401080
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x402ff7
cmp byte [ebp - 0xd], 0
jne 0x402f58
cmp byte [ebp - 0x12], 0
je 0x402ff7
lea eax, [ebp - 0x11d]
push eax
call fcn.004010b0
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x402f71
dec ebx
cmp byte [ebx], 0x2e
je 0x402f80
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x402f70
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x402ff7
inc ebx
cmp byte [ebp - 0x12], 0
je 0x402fad
lea eax, [ebp - 0x12]
push eax
push ebx
call fcn.004010a8
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004010a0
mov esi, eax
test esi, esi
jne 0x402ff7
cmp byte [ebp - 0xd], 0
je 0x402ff7
lea eax, [ebp - 0xd]
push eax
push ebx
call fcn.004010a8
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004010a0
mov esi, eax
test esi, esi
jne 0x402ff7
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call fcn.004010a8
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004010a0
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4239f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x423a05
pop dword [ebp - 0x20]
mov eax, 0xf62b84ea
sub eax, 0xf5e94ae5
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3a0ed
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x56646b81
add ecx, 0xa99bda0a
xor ebx, ebx
add ebx, eax
mov edx, 0x80c999ee
sub edx, 0x8084d3ee
add edx, dword [ebp - 0x20]
mov edi, 0xb7031267
sub edi, 0x198d5e66
xor dword [ebp - 0x10], edx
mov esi, dword [edx]
add dword [ebp - 0x18], 0xfca4d442
sub esi, edi
xor dword [ebp - 0x14], 0x1cd98305
mov dword [ebx], esi
add dword [ebp - 8], 0xc3c83cfa
add ebx, 0x796b2ce3
add ebx, 0x8694d321
add edx, 0xcd37f515
sub edx, 0xcd37f511
loop 0x423a61
add eax, 0x108ff
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x4281f2
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x436de3
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43a908
mov dword [esi + 4], 0x43a8f4
mov dword [esi + 8], 0x438e70
mov dword [esi + 0xc], 0x43a8d8
mov dword [esi + 0x10], 0x43a8c4
mov dword [esi + 0x14], 0x43a8b4
mov dword [esi + 0x18], 0x438e60
mov dword [esi + 0x1c], 0x438e50
mov dword [esi + 0x20], 0x43a8ac
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.004028e9
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004028e9
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
or dword [esi + 0x9c], 0xffffffff
mov byte [ebp - 4], 7
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xa4], bl
mov byte [esi + 0xa5], bl
mov byte [esi + 0xa6], bl
mov byte [esi + 0xa7], bl
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
mov dword [esi + 0xac], ebx
mov dword [esi], 0x43a880
mov dword [esi + 4], 0x43a86c
mov dword [esi + 8], 0x43a854
mov dword [esi + 0xc], 0x43a838
mov dword [esi + 0x10], 0x43a824
mov dword [esi + 0x14], 0x43a814
mov dword [esi + 0x18], 0x43a804
mov dword [esi + 0x1c], 0x43a7f4
mov dword [esi + 0x20], 0x43a7ec
call fcn.0040d4f9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
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.0040bbb3
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040bbb3
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040bbb3
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040bbb3
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040bbb3
mov dword [0x41203c], eax
call fcn.0040bbb3
test eax, eax
jge 0x402550
push 8
call fcn.0040bbb3
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040bbb3
pop ecx
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040bbb3
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.0040bbb3
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040bbb3
jmp 0x402495

Function at 0x40bbb3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40bbc2
pop dword [ebp - 8]
mov eax, 0x63951897
sub eax, 0x63545cd5
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x379b9
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xb1da9bb
add ecx, 0xf4e296da
mov esi, eax
mov edi, 0xf347bdf6
sub edi, 0xf3068232
add edi, dword [ebp - 8]
mov ebx, 0x5a6b72f8
sub dword [ebp - 4], 0x46b42ff8
mov edx, dword [edi]
sub dword [ebp - 4], edi
sub edx, ebx
xor dword [ebp - 4], 0x7acdfe38
mov dword [esi], edx
add esi, 0xa5669a34
sub esi, 0xa5669a30
add edi, 0x2882bb00
sub edi, 0x2882bafc
loop 0x40bc16
add eax, 0xf527
mov ebx, eax
add eax, 0xb597a6d5
sub eax, 0xb597a6d0
mov ecx, 0x22f37ac
sub ecx, 0x1ef37ac
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x100022a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [0x10009938]
add esp, 0xc
push eax
lea ecx, [esp + 0x22c]
push 0x100071d0
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002341
sub eax, esi
push eax
lea edx, [esp + 0x22c]
push edx
mov esi, ebp
call fcn.10002690
add esp, 8
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, 0x41
lea esi, [esp + 0x128]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10002485
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea eax, [esp + 0x230]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
mov byte [esp + eax + 0x234], bl
call sub.MSVCR90.dll_memset
mov edx, dword [0x1000ae0c]
add esp, 0xc
push edx
lea eax, [esp + 0x22c]
push 0x100071d0
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002400
sub eax, esi
push eax
lea ecx, [esp + 0x22c]
push ecx
mov esi, ebp
call fcn.10002690
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10002485
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea edx, [esp + 0x230]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
jmp 0x10002487
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005e60
add esp, 0x278
ret
Function at 0x100034c0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [0x1000c340]
add esp, 0xc
push eax
lea ecx, [esp + 0x22c]
push 0x100071d0
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003561
sub eax, esi
push eax
lea edx, [esp + 0x22c]
push edx
mov esi, ebp
call fcn.10002690
add esp, 8
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, 0x41
lea esi, [esp + 0x128]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x100036a5
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea eax, [esp + 0x230]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
mov byte [esp + eax + 0x234], bl
call sub.MSVCR90.dll_memset
mov edx, dword [0x1000d814]
add esp, 0xc
push edx
lea eax, [esp + 0x22c]
push 0x100071d0
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003620
sub eax, esi
push eax
lea ecx, [esp + 0x22c]
push ecx
mov esi, ebp
call fcn.10002690
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x100036a5
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea edx, [esp + 0x230]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
jmp 0x100036a7
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005e60
add esp, 0x278
ret
Function at 0x100044b0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x278
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x128]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100
lea ecx, [esp + 0x20]
push ebx
push ecx
mov dword [esp + 0x24], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [0x1000d844]
add esp, 0xc
push eax
lea ecx, [esp + 0x22c]
push 0x100071d0
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10004551
sub eax, esi
push eax
lea edx, [esp + 0x22c]
push edx
mov esi, ebp
call fcn.10002690
add esp, 8
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, 0x41
lea esi, [esp + 0x128]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10004695
push 0x51
lea edx, [esp + 0x22c]
push ebx
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea eax, [esp + 0x230]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
mov byte [esp + eax + 0x234], bl
call sub.MSVCR90.dll_memset
mov edx, dword [0x1000ed18]
add esp, 0xc
push edx
lea eax, [esp + 0x22c]
push 0x100071d0
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [esp + 0x234]
add esp, 0xc
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10004610
sub eax, esi
push eax
lea ecx, [esp + 0x22c]
push ecx
mov esi, ebp
call fcn.10002690
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x41
lea esi, [esp + 0x130]
lea edi, [esp + 0x28]
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10004695
push 0x51
lea ecx, [esp + 0x22c]
push ebx
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push 0x51
lea edx, [esp + 0x230]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
jmp 0x10004697
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005e60
add esp, 0x278
ret
Function at 0x100048a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push edi
xor ebx, ebx
push ebx
push 0xf
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32First
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100048e0
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x10004908
mov al, byte [esp + ecx + 0x2c]
cmp al, 0x41
jl 0x10004903
cmp al, 0x5f
jg 0x10004903
add al, 0x20
mov byte [esp + ecx + 0x2c], al
inc ecx
cmp ecx, edx
jl 0x100048f1
mov ecx, esi
lea eax, [esp + 0x2c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004930
test dl, dl
je 0x1000492c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004930
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004910
xor eax, eax
jmp 0x10004935
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000494a
lea ecx, [esp + 8]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100048d5
jmp 0x10004959
mov edx, dword [esp + 0x10]
mov dword [0x1000f9d8], edx
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10005e60
add esp, 0x134
ret