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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x3ac6
push 0x33
mov ebx, eax
xor edx, edx
pop ecx
lea eax, [ebx + ebx]
div ecx
neg edx
sbb edx, edx
and edx, 8
push edx
push dword [0xa04fb8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [ebp + 8]
mov dword [0x428800], eax
mov eax, dword [ebp + 0xc]
sub esi, eax
mov edi, 0x264d
mov cl, byte [esi + eax]
xor cl, bl
mov byte [eax], cl
inc eax
sub ebx, 2
dec edi
jne 0x4011f0
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret

Function at 0x40d42c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427cb4]
jne 0x40d436
repz ret
jmp fcn.0040d43b

Function at 0x41014b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427cb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040dfed
and dword [ebp - 0x14], 0
cmp dword [0xa04e64], 0
mov dword [ebp - 0x18], eax
jne 0x4101fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4102a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4102a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4221e0
push ebx
mov dword [0xa04e64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xa04e68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xa04e6c], eax
call edi
push eax
call esi
mov dword [0xa04e74], eax
test eax, eax
je 0x4101fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xa04e70], eax
mov eax, dword [0xa04e70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410257
cmp dword [0xa04e74], ecx
je 0x410257
push eax
call esi
push dword [0xa04e74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410257
test ebx, ebx
je 0x410257
call edi
test eax, eax
je 0x41024e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41024e
test byte [ebp - 8], 1
jne 0x410257
or dword [ebp + 0x10], 0x200000
jmp 0x41028a
mov eax, dword [0xa04e68]
cmp eax, dword [ebp - 0x18]
je 0x41028a
push eax
call esi
test eax, eax
je 0x41028a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41028a
mov eax, dword [0xa04e6c]
cmp eax, dword [ebp - 0x18]
je 0x41028a
push eax
call esi
test eax, eax
je 0x41028a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xa04e64]
call esi
test eax, eax
je 0x4102a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4102a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d42c
leave
ret
Function at 0x40993f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x409997
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x409997
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x409997
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x4099c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x409a2e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x409a25
cmp dword [ebp - 0xc], 4
jne 0x409a25
cmp dword [ebp - 0x10], edi
je 0x409a25
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x626c08], edi
xor eax, eax
jmp 0x409a56
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x626c08], edi
jge 0x409a51
mov dword [0x626c08], edi
call fcn.0040999b
test eax, eax
je 0x409a51
emms
mov dword [0x626c08], 1
mov eax, dword [0x626c08]
pop edi
leave
ret

Function at 0x409b36
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x409b6d
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x409b8f
cmp dword [ebp - 0x20], 4
ja 0x409b99
jne 0x409b89
cmp dword [ebp - 0x1c], 0xa
jb 0x409b89
cmp word [ebp - 0x18], 0x55d
jae 0x409b99
mov byte [ebp + 0x73], 1
jmp 0x409b99
cmp dword [ebp - 0x14], 2
jne 0x409baf
test bl, bl
je 0x409bca
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x409bba
dec eax
je 0x409bb3
sub eax, 3
jne 0x409baf
cmp byte [ebp + 0x73], 0
je 0x409bdb
xor eax, eax
jmp 0x409be3
call fcn.00409a59
jmp 0x409be3
cmp byte [ebp + 0x73], 0
jne 0x409baf
call fcn.00409a91
and eax, 4
jmp 0x409be3
cmp dword [ebp + 0x7c], 0xa
je 0x409bdb
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x409be3
call fcn.00409a91
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x415e3b
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x78], esi
push edi
mov edi, ecx
jne 0x415e5c
mov eax, 0x8876086c
jmp 0x415f3e
cmp dword [ebp + 0x7c], esi
je 0x415ed6
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x18], 2
je 0x415eb6
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push esi
call ebx
mov dword [ebp + 0x6c], eax
add eax, 3
and eax, 0xfffffffc
call fcn.00559130
mov dword [ebp + 0x7c], esp
push esi
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push esi
call ebx
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], esi
cmp dword [ebp + 0x7c], esi
je 0x415ed6
push esi
push 0x10000000
push 3
push esi
push 1
push closesocket
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x415eef
push esi
push 0x10000000
push 3
push esi
push 1
push closesocket
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x415f2f
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x415f2f
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
je 0x415f2f
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
jne 0x415f3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x415f3e
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8

Function at 0x41609b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x4160ae
call fcn.0041607c
cmp dword [ebp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
jne 0x4160bf
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp dword [ebp + 0x10], esi
je 0x4160d4
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
jne 0x4160e4
push 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
je 0x416113
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 8], eax
je 0x416113
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebx], eax
je 0x416113
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebx + 4], eax
jne 0x416120
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x416122
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41cc57
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x41cc84
push esi
call fcn.0042f72d
cmp byte [esi + 0x40], 0
pop ecx
je 0x41cc7d
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x41ccf3
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x41cce8
mov eax, dword [esi + 8]
test eax, eax
je 0x41cca5
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x41cce4
cmp eax, 2
je 0x41cce8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41cc9a
cmp eax, 3
je 0x41ccc9
cmp eax, 1
jne 0x41cc9a
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x41cc9a
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x41cc9a
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x41cd11
cmp eax, 0xcc
je 0x41cd11
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.0041c9b6
pop esi
ret

Function at 0x431199
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4311a7
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x43127b
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x5ea680]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x5ea680]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x5ea680]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x5ea680]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x5ea680]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x5ea680]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x5ea680]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x5ea680]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x4311c4
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x43129b
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x5ea680]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x431281
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x4404e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c21c1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x62a780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0x52455301
mov word [edi + 8], 0x56
mov byte [edi + 0x22], 0
mov dword [edi + 0x24], vtable.ISocketHandler.0
lea esi, [edi + 0x848]
mov dword [edi], vtable.IOCPServer.0
mov dword [edi + 0x24], vtable.IOCPServer.1.0
mov dword [edi + 0x838], 0
mov dword [edi + 0x83c], 0
mov dword [edi + 0x840], 0
mov dword [edi + 0x844], 0
push 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00558849
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x850], 0
push 0xfa0
mov byte [ebp - 4], 1
mov dword [edi + 0x868], 0x3e8
call fcn.00558d96
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 8
mov dword [edi + 0x854], eax
lea eax, [edi + 0x86c]
mov dword [edi + 0x860], 0
mov dword [edi + 0x85c], 0
push eax
mov dword [edi + 0x858], 0
mov dword [edi + 0x864], 0x3e8
call esi
push 0xfa0
mov byte [ebp - 4], 2
mov dword [edi + 0x898], 0x3e8
call fcn.00558d96
add esp, 4
mov dword [edi + 0x884], eax
lea eax, [edi + 0x89c]
mov dword [edi + 0x890], 0
mov dword [edi + 0x88c], 0
mov dword [edi + 0x888], 0
push eax
mov dword [edi + 0x894], 0x3e8
call esi
lea ecx, [edi + 0x8b8]
mov byte [ebp - 4], 3
mov dword [edi + 0x8b4], 0
call fcn.0044e5c0
lea ecx, [edi + 0x8bc]
mov byte [ebp - 4], 4
call fcn.0044e5c0
lea ecx, [edi + 0x8c0]
mov byte [ebp - 4], 5
call fcn.0044e5c0
lea ecx, [edi + 0x8c4]
mov byte [ebp - 4], 6
call fcn.0044e5c0
mov dword [edi + 0x30], 0
mov eax, edi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442fc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x60f010]
xor ecx, ecx
mov edx, 4
mov dword [ebp - 4], 0
mul edx
push esi
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00558d96
mov ecx, dword [0x60f010]
shl ecx, 2
push ecx
push 0
push eax
mov dword [0x62d0d0], eax
call fcn.0055b250
xor esi, esi
add esp, 0x10
cmp dword [0x60f010], esi
jle 0x443045
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x443450
push 0x10000
push 0
call edi
mov ecx, dword [0x62d0d0]
mov dword [ecx + esi*4], eax
mov eax, dword [0x62d0d0]
cmp dword [eax + esi*4], 0
je 0x44304d
inc esi
cmp esi, dword [0x60f010]
jl 0x443012
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
jg 0x44339c
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
sub eax, 2
je 0x443329
sub eax, 1
je 0x4432e0
sub eax, 1
jne 0x44339a
mov ecx, dword [esi + 0x10]
push dword [edi + 0x1c]
push dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
jne 0x443393
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 0x10]
push 0
push dword [edi + 0x1c]
mov eax, dword [ecx]
push dword [esi + 4]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x4432ff
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
call fcn.00443b20
test al, al
jne 0x44339a
push str.HandleGoodIoCompletions__:_setup_new_accept_failed
call fcn.00444270
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 8]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x14]
nop dword [eax]
push 0
push ebx
push dword [ebp + 0x10]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x44337f
test edi, edi
je 0x443367
push edi
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00443670
cmp edi, ebx
je 0x443330
mov ecx, esi
call fcn.00443800
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x44339a
mov eax, dword [ecx]
push 0
push dword [esi + 4]
call dword [eax + 0xc]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.HandleGoodIoCompletions__:_recv_failed:_error_code:__d
call fcn.00444270
add esp, 8
mov ecx, esi
call fcn.00443800
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x443800
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push ebx
push 0x60f02c
call edi
push 0x60f02c
call edi
mov eax, dword [0x60f018]
cmp eax, dword [0x60f01c]
push 0x60f02c
sete bl
call esi
test bl, bl
je 0x443871
push 0x60f02c
call esi
push 0x3e8
call fcn.00443060
add esp, 4
jmp 0x443834
mov ecx, dword [0x60f01c]
mov eax, dword [0x60f014]
pop ebx
mov edi, dword [eax + ecx*4]
inc ecx
mov dword [0x60f01c], ecx
cmp ecx, dword [0x60f024]
jl 0x443899
mov eax, dword [0x60f020]
mov dword [0x60f01c], eax
push 0x60f02c
call esi
push dword [edi + 0x20]
call fcn.00558d9f
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [edi + 0x18], 2
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
test ecx, ecx
je 0x4438de
mov eax, dword [ecx + 4]
mov dword [edi + 0x28], eax
push 0
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x44395c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x44395c
push eax
push str.RegisterRecv__:_registration_failed:_error_code:__d
call fcn.00444270
push dword [edi + 0x20]
call fcn.00558d9f
add esp, 0xc
mov dword [edi + 0x18], 0
mov ecx, 0x60f014
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
push edi
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.00443770
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4439b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
call fcn.00558d96
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
mov dword [ebp - 0x10], esi
call fcn.0055acd0
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [eax + eax]
push 0x60f02c
call edi
push 0x60f02c
call edi
mov eax, dword [0x60f018]
cmp eax, dword [0x60f01c]
push 0x60f02c
sete bl
call esi
test bl, bl
je 0x443a2d
push 0x60f02c
call esi
push 0x3e8
call fcn.00443060
add esp, 4
jmp 0x4439f0
mov ecx, dword [0x60f01c]
mov eax, dword [0x60f014]
mov ebx, dword [eax + ecx*4]
inc ecx
mov dword [0x60f01c], ecx
cmp ecx, dword [0x60f024]
jl 0x443a54
mov eax, dword [0x60f020]
mov dword [0x60f01c], eax
push 0x60f02c
call esi
push dword [ebx + 0x20]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
call fcn.00558d9f
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], 0
test ecx, ecx
je 0x443a97
mov eax, dword [ecx + 4]
mov dword [ebx + 0x28], eax
push 0
push ebx
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x443b0c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x443b0c
push dword [ebx + 0x20]
call fcn.00558d9f
add esp, 4
mov dword [ebx + 0x18], 0
mov ecx, 0x60f014
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
push ebx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.00443770
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x443b20
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62a780]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
mov eax, ecx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
push ecx
push 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0xb5367df1
push ecx
push 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x11cfcbac
push ecx
push 0xc8000006
push dword [eax + 4]
mov dword [ebp - 0xc], 0x8000ca95
mov dword [ebp - 8], 0x92a1485f
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x443bb8
push str.Failed_to_create_socket_in_IOCP_setup.
call fcn.00444270
add esp, 4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558887
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push 0x60f02c
call edi
push 0x60f02c
call edi
mov eax, dword [0x60f018]
cmp eax, dword [0x60f01c]
push 0x60f02c
sete bl
call esi
test bl, bl
je 0x443c04
push 0x60f02c
call esi
push 0x3e8
call fcn.00443060
add esp, 4
jmp 0x443bc7
mov ecx, dword [0x60f01c]
mov eax, dword [0x60f014]
mov ebx, dword [eax + ecx*4]
inc ecx
mov dword [0x60f01c], ecx
cmp ecx, dword [0x60f024]
jl 0x443c2b
mov eax, dword [0x60f020]
mov dword [0x60f01c], eax
push 0x60f02c
call esi
push dword [ebx + 0x20]
call fcn.00558d9f
mov ecx, dword [ebp - 0x20]
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x18], 3
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov eax, dword [ecx + 4]
push 0x62d0f4
mov dword [ebx + 0x28], eax
call edi
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push ebx
push eax
mov eax, dword [ebp - 0x20]
push 0x20
push 0x20
push 0
push 0x62d140
push edi
push dword [eax + 4]
call dword [ebp - 0x24]
test eax, eax
jne 0x443ce0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x443ce0
push str.AcceptEx___Failed_and_IO_aint_pending.
call fcn.00444270
add esp, 4
mov ecx, ebx
call fcn.00443970
push ebx
mov ecx, 0x60f014
call fcn.00443770
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x62d0f4
call esi
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00558887
mov esp, ebp
pop ebp
ret
push 0x62d0f4
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00558887
mov esp, ebp
pop ebp
ret