joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052af
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x4052bd
and edx, 0x3fff
jmp fcn.00405221

Function at 0x4052c2
Capabilities:
Delete directory

Disassembly:
mov eax, 0x43c014
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407f9a
mov esi, dword [sym.imp.kernel32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x4052f1
push edi
call esi
test eax, eax
je 0x4052f1
mov al, 1
jmp 0x405335
test ebx, ebx
je 0x405333
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
push dword [ebp - 0x18]
je 0x40532d
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
test esi, esi
pop ecx
setne al
jmp 0x405335
call fcn.00401c54
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405344
Capabilities:
Move file

Disassembly:
mov eax, 0x43c030
call fcn.0043b650
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.00407f9a
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.00407f9a
mov edi, dword [sym.imp.kernel32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x40538d
cmp eax, ebx
je 0x40538d
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x40538d
mov al, bl
jmp 0x405404
test esi, esi
jne 0x405396
cmp dword [ebp - 0x14], esi
je 0x405402
lea ecx, [ebp - 0x30]
call fcn.00402b75
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402b75
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x4053b6
cmp dword [ebp - 0x14], ebx
jne 0x4053b8
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040d4da
test al, al
push dword [ebp - 0x24]
je 0x4053f3
push dword [ebp - 0x30]
call edi
mov esi, eax
push dword [ebp - 0x24]
call fcn.00401c54
push dword [ebp - 0x30]
call fcn.00401c54
pop ecx
test esi, esi
pop ecx
setne al
jmp 0x405404
call fcn.00401c54
push dword [ebp - 0x30]
call fcn.00401c54
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40550f
Capabilities:
Create directory

Disassembly:
mov eax, 0x43c060
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407f9a
mov esi, dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x40554d
push 0
push edi
call esi
test eax, eax
je 0x405540
mov al, 1
jmp 0x405596
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x405594
test ebx, ebx
je 0x405594
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
je 0x40558b
push 0
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
test esi, esi
pop ecx
setne al
jmp 0x405596
push dword [ebp - 0x18]
call fcn.00401c54
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4061e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x43c170
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407f9a
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x40620c
push edi
call esi
cmp eax, 0xffffffff
jne 0x40624e
test ebx, ebx
je 0x40624b
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
push dword [ebp - 0x18]
je 0x406245
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
pop ecx
mov eax, esi
jmp 0x40624e
call fcn.00401c54
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406a2b
Capabilities:
Get disk information

Disassembly:
mov eax, 0x43c23c
call fcn.0043b650
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401553
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x406af9
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406a67
mov eax, ebx
add eax, eax
push eax
call fcn.0040d4da
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x406af2
cmp ebx, dword [ebp - 0x14]
ja 0x406af2
lea ecx, [ebp - 0x2c]
call fcn.00402b75
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x406ada
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x406acf
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040d4da
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406aa5
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401c54
push esi
call fcn.00401c54
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x406afb
push esi
call fcn.00401c54
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40d4da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40d4e9
pop dword [ebp - 0x24]
mov eax, 0x78efbfdf
add eax, 0x8751150a
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3ae44
push 0
mov eax, 0x21d437f7
sub eax, 0x219027b7
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x239024cd
sub ecx, 0x238fdf55
mov edx, eax
mov esi, 0xdebc3818
add esi, 0x218935e8
add esi, dword [ebp - 0x24]
mov ebx, 0xff87a727
add ebx, 0x7171c55f
mov dword [ebp - 0x10], 0x736e3dbd
mov edi, dword [esi]
mov dword [ebp - 0x14], 0x78be1b3
add edi, ebx
sub dword [ebp - 8], 0xeb2ee1c0
mov dword [edx], edi
xor dword [ebp - 0x1c], 0x65bb6b80
add edx, 0x63cc7e2d
add edx, 0x9c3381d7
add esi, 0x1bbf8093
add esi, 0xe4407f71
loop 0x40d548
add eax, 0x108b3
mov ebx, eax
add eax, 0x774d2f52
add eax, 0x88b2d0b3
mov ecx, 0x164348f4
sub ecx, 0x160348f4
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x402332
Capabilities:
Create udp socket
Get system information on windows
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4060a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x28], 0
je 0x402352
xor eax, eax
jmp 0x4024c6
push ebx
push edi
call fcn.00402748
mov edi, eax
test edi, edi
jne 0x4024bb
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x30]
inc edi
push edi
push 0
push 0
push 6
push edi
push 2
mov dword [ebp - 0x18], eax
call dword [sym.imp.WS2_32.dll_WSASocketW]
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
jne 0x4023a5
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
test eax, eax
jg 0x4024d3
call edi
mov edi, eax
jmp 0x4024b7
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 0x20]
push ecx
push edi
push 6
push eax
mov dword [ebp - 0x20], edi
call ebx
cmp eax, 0xffffffff
je 0x40238c
push 4
lea eax, [ebp - 0x1c]
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x20]
mov dword [ebp - 0x1c], edi
call ebx
push dword [esi + 0x20]
call sub.webengine.dll_AttachHandleToThreadPool
mov edi, eax
test edi, edi
jne 0x4024bb
movzx eax, word [esi + 0x1c]
push eax
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
cmp byte [esi + 0x2a], 0
mov word [ebp - 0x12], ax
je 0x402406
and dword [ebp - 0x10], edi
jmp 0x402414
push 0x7f000001
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x402467
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271d
jne 0x40238c
and dword [ebp - 0x1c], 0
push 4
lea eax, [ebp - 0x1c]
push eax
push 0xfffffffffffffffb
push 0xffff
push dword [esi + 0x20]
call ebx
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x40238c
push bind
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x40238c
mov ebx, dword [ebp - 0x18]
imul ebx, ebx, 3
test ebx, ebx
mov byte [esi + 0x28], 1
mov dword [ebp - 0x18], ebx
jle 0x4024a4
mov ecx, esi
call fcn.004022c6
mov edi, eax
test edi, edi
jne 0x4024bb
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jg 0x40248f
push ebx
push 0x4012bc
push 0x40000434
call sub.webengine.dll_XspLogEvent
add esp, 0xc
test edi, edi
je 0x4024c2
mov ecx, esi
call fcn.0040224e
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404148
leave
ret
call edi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
jmp 0x4024b7
Function at 0x402671
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push str.SYSTEMCurrentControlSetServices_aspnet_stateParameters
push reloc.WS2_32.dll_bind
mov ebx, ecx
xor esi, esi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x4026a5
jg 0x4026ca
jmp 0x4026d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x40131c
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x4026d8
jle 0x4026d4
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x4026f3
cmp dword [ebp - 4], edi
jle 0x4026e6
cmp dword [ebp - 4], 0x7fffffff
jle 0x4026ed
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
cmp dword [ebp - 8], edi
je 0x402701
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x40270c
mov dword [ebx + 0x14], 0xf
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x402713
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
mov byte [esi + 0xc], bl
call fcn.00402671
push ebx
push ebx
push ebx
push 0x402604
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x402742
call fcn.004048df
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x402748
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetServices_aspnet_stateParameters
push reloc.WS2_32.dll_bind
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x40277c
jg 0x4027a1
jmp 0x4027ab
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x401338
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x4027af
jle 0x4027ab
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x4027b8
cmp dword [ebp - 0xc], ebx
setne al
mov byte [edi + 0x2a], al
cmp dword [ebp - 4], ebx
je 0x4027c6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4027cf
mov byte [edi + 0x2a], bl
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4027d6
Capabilities:
Initialize winsock library
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x1a4
mov eax, dword [0x4060a8]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x74], edi
call fcn.0040183b
mov ebx, eax
cmp ebx, edi
jne 0x4028d0
lea eax, [ebp - 0x70]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, edi
je 0x402832
jle 0x4028c5
and eax, 0xffff
or eax, 0x80070000
jmp 0x4028c5
push edi
push edi
push edi
push edi
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
je 0x4028c0
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetServices_aspnet_stateParameters
push reloc.WS2_32.dll_bind
mov word [esi + 0x1c], 0xa5b8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x4028a5
push 4
pop eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push str.Port
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x4028a5
mov eax, dword [ebp - 0x7c]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x4028a5
mov word [esi + 0x1c], ax
call fcn.0040357d
mov ebx, eax
cmp ebx, edi
jne 0x4028d0
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
cmp eax, edi
mov dword [esi + 0x10], eax
jne 0x4028c9
call fcn.004048df
mov ebx, eax
jmp 0x4028d0
call sub.webengine.dll_PerfCounterInitialize
xor ebx, ebx
cmp dword [ebp - 0x74], edi
je 0x4028de
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x120]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00404148
add ebp, 0x124
leave
ret

Function at 0x403097
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0x7f
jne 0x4030b6
cmp byte [esi + 0x31], 0
jne 0x4030b6
cmp byte [esi + 0x32], 0
jne 0x4030b6
cmp byte [esi + 0x33], 1
jne 0x4030b6
mov al, 1
pop esi
ret
push 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4030df
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4030df
mov eax, dword [ecx]
test eax, eax
je 0x4030df
mov esi, dword [esi + 0x30]
cmp dword [eax], esi
je 0x4030b2
add ecx, 4
mov eax, dword [ecx]
test eax, eax
jne 0x4030d2
xor al, al
pop esi
ret
Function at 0x403944
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x24
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], fcn.004038f6
call fcn.00404859
cmp eax, ebx
je 0x403972
push esi
mov ecx, eax
call fcn.00402e94
mov edi, eax
jmp 0x403974
xor edi, edi
cmp edi, ebx
jne 0x403984
mov dword [ebp - 4], 0x8007000e
jmp 0x403a10
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
push dword [esi + 0x60]
mov ecx, dword [0x4062f8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.004032cd
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
lea eax, [edi + 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x403a10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x403a10
push dword [esi + 0x60]
mov ecx, dword [0x4062f8]
call fcn.00403321
and dword [esi + 0x10], 0
mov eax, dword [edi]
push edi
call dword [eax + 8]
test ebx, ebx
jle 0x403a0d
and ebx, 0xffff
or ebx, 0x80070000
mov dword [ebp - 4], ebx
push edi
call fcn.00404c0a
push 0x40151c
push dword [ebp - 4]
mov ecx, esi
call fcn.0040375f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x403a2f
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
xor esi, esi
lea eax, [ebx + 0x80]
cmp byte [eax], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], esi
jne 0x403be0
mov byte [eax], 1
mov eax, dword [ebp + 0x18]
cmp eax, esi
je 0x403a66
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jmp 0x403a69
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
add eax, ecx
lea eax, [eax + eax + 0x3e]
push edi
push eax
mov dword [ebp - 0x10], eax
call fcn.00404836
mov edi, eax
cmp edi, esi
mov dword [ebp - 4], edi
je 0x403bd1
push esi
push esi
push dword [ebp - 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x10]
mov esi, eax
xor eax, eax
push eax
push eax
sub ecx, esi
push ecx
lea ecx, [esi + edi]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], esi
mov ecx, dword [ebp + 0xc]
add edi, esi
mov esi, 0x401538
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, 0x10
movsd dword es:[edi], dword [esi]
lea esi, [ecx + eax]
mov eax, dword [ebp - 0x10]
push 0xa
sub eax, ecx
push eax
push esi
push dword [ebp - 0xc]
call dword [sym.imp.MSVCR80.dll__itoa_s]
add esp, 0x10
test eax, eax
jne 0x403bce
mov eax, esi
jmp 0x403afc
inc eax
cmp byte [eax], 0
jne 0x403afb
mov ecx, dword [ebp - 4]
and dword [ebp - 4], 0
mov dword [eax], 0xa0d0a0d
sub eax, ecx
add eax, 4
cmp dword [ebp - 0xc], 0
lea edi, [ebx + 0x6c]
mov dword [edi], eax
mov dword [ebx + 0x70], ecx
jle 0x403b41
mov esi, dword [ebp + 0x18]
push esi
mov dword [ebx + 0x7c], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0xc]
add esi, 8
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], esi
mov dword [ebp - 0x14], 2
push 0x24
mov dword [ebx + 0x10], 0x403814
call fcn.00404859
test eax, eax
je 0x403b60
push ebx
mov ecx, eax
call fcn.00402e94
mov dword [ebp - 8], eax
jmp 0x403b64
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x403bce
mov esi, dword [ebp - 8]
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebx + 0x60]
mov ecx, dword [0x4062f8]
call fcn.004032cd
lea eax, [ebx + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
lea eax, [esi + 4]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x403bce
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x403bce
push dword [ebx + 0x60]
mov ecx, dword [0x4062f8]
call fcn.00403321
and dword [ebx + 0x10], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [ebp - 4]
push dword [ebp - 8]
call fcn.00404c0a
push edi
call fcn.0040487c
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x403ff6
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 1
xor edi, edi
push edi
push edi
push 6
push 1
push 2
mov esi, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_WSASocketW]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
jne 0x404043
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
test eax, eax
jg 0x404031
call ebx
mov ebx, eax
jmp 0x4040be
call ebx
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
jmp 0x4040be
push eax
call sub.webengine.dll_AttachHandleToThreadPool
mov ebx, eax
test ebx, ebx
jne 0x4040be
push 0x24
mov dword [esi + 0x10], 0x403eef
call fcn.00404859
test eax, eax
je 0x40406d
push esi
mov ecx, eax
call fcn.00402e94
mov edi, eax
jmp 0x40406f
xor edi, edi
test edi, edi
jne 0x40407a
mov ebx, 0x8007000e
jmp 0x4040be
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea eax, [edi + 4]
push eax
lea eax, [ebp - 4]
push eax
push 0x20
push 0x20
push 0
lea eax, [esi + 0x1c]
push eax
push dword [esi + 0x18]
push dword [ebp + 8]
call sub.MSWSOCK.dll_AcceptEx
test eax, eax
jne 0x4040be
call fcn.004048df
mov ebx, eax
cmp ebx, 0x800703e5
jne 0x4040b4
xor ebx, ebx
jmp 0x4040be
mov eax, dword [edi]
push edi
call dword [eax + 8]
and dword [esi + 0x10], 0
push edi
call fcn.00404c0a
push 0x401664
push ebx
mov ecx, esi
call fcn.0040375f
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x404148
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4060a8]
jne 0x404159
test ecx, 0xffff0000
jne 0x404159
ret
jmp fcn.0040415e

Function at 0x404d08
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x404d1e
xor eax, eax
jmp 0x404d73
push ebx
push esi
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push esi
lea eax, [ebp - 0x10c]
xor ebx, ebx
push eax
inc ebx
push esi
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, esi
je 0x404d6b
cmp eax, 0xffffffff
je 0x404d6f
push 2
push ebx
lea eax, [ebp + 0xb]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
je 0x404d6f
cmp eax, 0xffffffff
je 0x404d6f
mov eax, ebx
jmp 0x404d71
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x10001440
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ebx, ecx
shr ebx, 0x10
movzx esi, dl
xor esi, 0x811c9dc5
imul edi, esi, 0x1000193
movzx esi, dh
xor esi, edi
movzx edi, bl
mov ebx, ecx
shr ebx, 0x18
imul esi, esi, 0x1000193
xor eax, esi
imul eax, eax, 0x1000193
mov esi, edx
shr esi, 0x18
xor esi, eax
imul eax, esi, 0x1000193
movzx esi, cl
xor esi, eax
imul eax, esi, 0x1000193
movzx esi, ch
xor esi, eax
imul eax, esi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
xor eax, ebx
imul esi, eax, 0x1000193
and esi, dword [0x10196374]
mov edi, dword [0x10196368]
mov eax, dword [edi + esi*8 + 4]
cmp eax, dword [0x10196360]
je 0x1000150d
mov ebx, dword [eax + 8]
xor ebx, edx
mov ebp, dword [eax + 0xc]
xor ebp, ecx
or ebp, ebx
je 0x10001505
add esi, esi
mov esi, dword [edi + esi*4]
nop word cs:[eax + eax]
cmp eax, esi
je 0x1000150d
mov eax, dword [eax + 4]
mov edi, dword [eax + 0xc]
xor edi, ecx
mov ebx, dword [eax + 8]
xor ebx, edx
or ebx, edi
jne 0x100014f0
add eax, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push str.invalid_unordered_map_K__T__key
call fcn.1001b1ea
int3