joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55c440
Capabilities:
Connect pipe

Disassembly:
lea eax, [ecx + 0xc]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
push edi
mov edi, dword [esp + 8]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [ecx + 8]
push eax
mov dword [ecx + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x55c4bc
call fcn.004895c0
test al, al
jne 0x55c4af
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x55c4af
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str.ConnectNamedPipe___succeeded_immediately
push 0x7d
push 0x6ac450
push 0
push eax
call edx
add esp, 0x14
mov ecx, edi
call fcn.0048f510
mov al, 1
pop edi
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x217
jne 0x55c520
call fcn.004895c0
test al, al
jne 0x55c512
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x55c512
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push str.Pipe_is_already_connected
push 0x85
push 0x6ac450
push 0
push eax
call edx
add esp, 0x14
mov ecx, edi
call fcn.0048f510
pop esi
mov al, 1
pop edi
ret 4
cmp esi, 0x3e5
je 0x55c519
call fcn.004895c0
test al, al
jne 0x55c56e
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x55c56e
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push esi
push str.CreateNamedPipe___has_failed__error:__i
push 0x8d
push 0x6ac450
push 2
push eax
call edx
add esp, 0x18
pop esi
xor al, al
pop edi
ret 4
Function at 0x561c40
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x62faa0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x72d150]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x41c]
mov esi, dword [ebp + 0x424]
mov edi, dword [ebp + 0x428]
mov ebx, dword [ebp + 0x430]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp + 0x20a]
push edx
mov dword [ebp - 0x18], eax
mov word [ebp + 0x208], cx
call fcn.005cddf0
mov ecx, dword [ebp + 0x420]
mov edx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
push ebx
push ecx
push edx
mov dword [ebp - 4], 0
call fcn.005619d0
add esp, 0x1c
test al, al
je 0x561e29
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
push eax
lea ecx, [ebp + 0x208]
push ecx
call fcn.00563ee0
add esp, 8
lea edx, [ebp + 0x208]
push 0x68afdc
push edx
call fcn.00563ee0
add esp, 8
lea eax, [ebp + 0x208]
push str._dmp
push eax
call fcn.00563ee0
add esp, 8
push 0
lea ecx, [ebp + 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp + 0x208]
push 0x68afdc
push edx
call fcn.00563ee0
add esp, 8
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x208]
push ecx
call fcn.00563ee0
add esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp + 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x561e29
test edi, edi
je 0x561d96
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0xa
test esi, esi
je 0x561daf
push esi
call fcn.00563dc0
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x561db6
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], 1
test eax, eax
jne 0x561dd6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x561de6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
neg esi
sbb esi, esi
push 0
lea ecx, [ebp - 0x2c]
and esi, ecx
mov ecx, dword [ebp - 0x14]
push esi
neg edi
sbb edi, edi
lea edx, [ebp - 0x38]
and edi, edx
push edi
push 0x1014
push ebx
push ecx
push eax
call fcn.005ef2b0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne al
jmp 0x561e2b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.005cd251
add ebp, 0x414
mov esp, ebp
pop ebp
ret
Function at 0x561f30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x62fae3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004bbaa0
mov edx, dword [esp + 0x38]
xor ebx, ebx
lea edi, [esi + 0x64]
mov dword [esi], vtable.CPnzDbRecordCacheable::CMetaInfo.0
mov eax, edx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x20], ebx
mov byte [edi + 4], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x561fa0
sub eax, ebp
push eax
push edx
mov ecx, edi
call fcn.00403490
push 0x11
mov byte [esi + 0x80], 1
mov dword [esi + 0x84], ebx
mov edx, dword [edi + 0x14]
push str.The_proxy_dynamic
push edx
push ebx
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.00412a20
test eax, eax
je 0x562020
mov eax, dword [edi + 0x14]
push 0x10
push str.The_view_dynamic
push eax
push ebx
mov ecx, edi
call fcn.00412a20
test eax, eax
je 0x562020
cmp dword [esi + 0x78], ebx
je 0x562016
push str.The_table_with_multiple_readers_single_writer_access
push edi
call fcn.00489a90
add esp, 8
test al, al
je 0x562016
mov eax, 1
mov byte [esi + 0x80], al
jmp 0x562027
xor eax, eax
mov byte [esi + 0x80], al
jmp 0x562027
mov byte [esi + 0x80], 1
mov ecx, esi
call fcn.00494760
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
call fcn.00441e80
push 0x34
mov dword [eax], esi
mov edx, dword [edi + 0x14]
push str.The_table_with_multiple_readers_single_writer_access
push edx
push ebx
mov ecx, edi
call fcn.00412a20
test eax, eax
sete al
mov byte [esi + 0x88], al
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x563de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x50
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x58]
push ebx
push ebp
push esi
test ecx, ecx
push edi
mov edi, dword [esp + 0x64]
setl bl
mov ebp, edi
lea esi, [esp + 0x1c]
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x11], 0x31
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x13], 0x33
mov byte [esp + 0x14], 0x34
mov byte [esp + 0x15], 0x35
mov byte [esp + 0x16], 0x36
mov byte [esp + 0x17], 0x37
mov byte [esp + 0x18], 0x38
mov byte [esp + 0x19], 0x39
test ecx, ecx
jne 0x563e42
mov byte [edi], 0x30
mov eax, edi
jmp 0x563ea3
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
mov edx, eax
mov eax, ecx
sub eax, edx
mov dl, byte [esp + eax + 0x10]
sub ecx, eax
mov byte [esi], dl
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
je 0x563e7e
inc esi
jmp 0x563e42
test bl, bl
je 0x563e86
mov byte [edi], 0x2d
inc edi
mov cl, byte [esi]
lea edx, [esp + 0x1c]
mov byte [edi], cl
cmp esi, edx
je 0x563ea1
mov al, byte [esi - 1]
dec esi
inc edi
lea ecx, [esp + 0x1c]
mov byte [edi], al
cmp esi, ecx
jne 0x563e92
mov eax, ebp
mov ecx, dword [esp + 0x5c]
mov byte [edi + 1], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005cd251
add esp, 0x50
ret

Function at 0x573bb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x631aae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 8]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CPnzNetRmiTypes::CGmGamePlayer.0
call fcn.00570d10
lea ecx, [esi + 0x18]
call fcn.00570da0
lea ecx, [esi + 0x28]
call fcn.00570e30
xor eax, eax
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], ebx
mov word [esi + 0x30], ax
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
call fcn.00570ec0
lea ecx, [esi + 0x58]
call fcn.00570f50
lea ecx, [esi + 0x60]
call fcn.00570fe0
lea ecx, [esi + 0x68]
call fcn.00571070
mov dword [esi + 0x84], 0xf
mov dword [esi + 0x80], ebx
mov byte [esi + 0x70], bl
lea ecx, [esi + 0x88]
mov byte [esp + 0x18], 2
call fcn.00571100
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x57c550
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60ade8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edx, edx
mov dword [esi + 4], edx
mov edi, dword [esp + 0x20]
mov dword [esi], vtable.CPnzRpcArgs::CJsAppValue.0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x3c]
lea eax, [edi + 0x3c]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.004021a0
mov edx, dword [edi + 0x5c]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x61]
mov byte [esi + 0x61], al
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x5881b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x635f13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 8]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CPnzRpcArgs::CSvPlayerEobExperience.0
call fcn.00580b70
lea ecx, [esi + 0x18]
call fcn.00580c00
lea ecx, [esi + 0x28]
call fcn.00580c90
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
call fcn.00580d20
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5b0f40
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0x190], eax
push edi
mov edi, ecx
cmp byte [edi], 0
je 0x5b0fba
call fcn.004895c0
test al, al
jne 0x5b0fa0
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x5b0fa0
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push str.Init___was_already_called
push 9
push 0x22
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzSocketsInit.cpp
push 0
push eax
call edx
add esp, 0x18
mov al, 1
pop edi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005cd251
add esp, 0x194
ret 8
movzx dx, byte [esp + 0x19c]
push ebx
mov bx, word [esp + 0x1a4]
movzx cx, bl
push esi
shl cx, 8
lea eax, [esp + 0xc]
push eax
or cx, dx
movzx eax, cx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
call fcn.004895c0
test esi, esi
je 0x5b1036
test al, al
jne 0x5b1032
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x5b1032
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push str.WSAStartup___failed__error:__i
push 9
push 0x2a
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzSocketsInit.cpp
push 2
push eax
call edx
add esp, 0x1c
xor al, al
jmp 0x5b1094
test al, al
jne 0x5b108f
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x5b108f
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [esp + 0x111]
push edx
lea edx, [esp + 0x14]
push edx
movzx edx, bx
push edx
movzx edx, word [esp + 0x1b0]
push edx
push str.WSAStartup__i._i__succeeded__descr:__s__status:__s
push 9
push 0x2f
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzSocketsInit.cpp
push 0
push eax
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x28
mov byte [edi], 1
mov al, 1
mov ecx, dword [esp + 0x19c]
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.005cd251
add esp, 0x194
ret 8
Function at 0x5b1480
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x639318
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebp
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
push 0xa
push 0x10
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], 6
call fcn.005d2da2
add esp, 0x10
cmp dword [edi + 0x14], 0
jne 0x5b14f2
xor edi, edi
jmp 0x5b1500
cmp dword [edi + 0x18], 0x10
jb 0x5b14fd
mov edi, dword [edi + 4]
jmp 0x5b1500
add edi, 4
push ebp
push esi
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x5b151b
cmp dword [ebp], eax
je 0x5b151b
mov al, 1
jmp 0x5b156d
push 0xb
push 0x6b7c54
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00403490
lea eax, [esp + 0x10]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x50], 0
call fcn.005b1400
add esp, 8
cmp dword [esp + 0x28], 0x10
jb 0x5b156b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005be738
add esp, 4
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005cd251
add esp, 0x3c
ret

Function at 0x5b16d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x63937b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x72d150]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp edi, 0xffffffff
je 0x5b17c5
push 0x7e
lea ecx, [esp + 0x36]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x3c], ax
call fcn.005cddf0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x5b1771
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
call fcn.005b1590
add esp, 0xc
jmp 0x5b17e0
push 0xb
push str.getsockname
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00403490
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0xc4], ebx
call fcn.005b1400
add esp, 8
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0xbc], 0xffffffff
jb 0x5b17c5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005be738
add esp, 4
push 7
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push str.INVALID
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00403490
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005cd251
add esp, 0xb0
ret
Function at 0x5b1be0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x6393f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
movzx edi, byte [esp + 0x38]
mov ecx, dword [esi + 8]
push 4
lea eax, [esp + 0x3c]
push eax
push 1
push 6
push ecx
mov dword [esp + 0x4c], edi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x5b1c92
push 0x13
push str.setsockopt_NODELAY_
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00403490
mov edx, dword [esi + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x38], 0
call fcn.005b1400
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x5b1c7c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005be738
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
call fcn.004895c0
test al, al
jne 0x5b1cde
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x5b1cde
call fcn.004895a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edi
push edx
push str.SetNoDelay__sock:__i__noDelay:__i
push 9
push 0x19f
push str.E:PnzBsPnzBsTempFBCVersion037_00SrcPnzCodePnzNetProtocolPnzSocket.cpp
push 0
push eax
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x20
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x6393f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [edi + 8]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test esi, esi
jge 0x5b1da4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x5b1da2
push 4
push str.send
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00403490
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x38], 0
call fcn.005b1400
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x5b1da2
mov edx, dword [esp + 0x10]
push edx
call fcn.005be738
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8
Function at 0x5b1fb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x6393f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x72d150]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [edi + 8]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jge 0x5b2054
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x5b2052
push 4
push str.recv
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00403490
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x38], 0
call fcn.005b1400
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x5b2052
mov edx, dword [esp + 0x10]
push edx
call fcn.005be738
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8
Function at 0x5c4300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x5c4347
call fcn.005c7115
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x5c4347
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x5c4363
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005c3e78
mov esi, eax
test edi, edi
je 0x5c4361
test ebx, ebx
je 0x5c4361
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x5c4fee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x5c5012
cmp dword [edi + 0x54], 0
jne 0x5c5012
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005c7115
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.005c4faf
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5c7fa9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x72d150]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x5c8041
push 0x6bb504
push 4
push eax
call fcn.005cdaa8
push eax
call fcn.005be743
add esp, 0x10
push ebx
push edi
call fcn.005d5ab0
mov edi, dword [eax]
call fcn.005d5ab0
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005ceb09
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005d5ab0
cmp dword [eax], ebx
je 0x5c8058
call fcn.005d5ab0
push dword [eax]
call fcn.005be76f
pop ecx
jmp 0x5c805f
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x5c7fec
jmp 0x5c80e6
call fcn.005d5ab0
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x5c80e2
cmp dword [ebp - 0x234], esi
jae 0x5c80e2
lea eax, [ebp - 0x230]
push eax
call dword [0x68753c]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.005cddf0
add esp, 0xc
push 0x6baff0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x5c80d1
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x5c80d1
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x5c80d1
push ebx
push ebx
push esi
jmp 0x5c80da
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x5c80e4
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005cd251
leave
ret

Function at 0x5cd251
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x72d150]
jne 0x5cd25b
repz ret
jmp fcn.005d87ec