joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a010
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov dword [ebp - 4], edx
cmp dword [ebx], 0x40
mov dword [ebp - 0x10], ecx
jne 0x48a038
call fcn.004a56a0
mov edx, dword [ebp - 4]
mov dword [ebx], 0x2745
mov dword [ebx + 4], eax
cmp dword [ebx], 0
jne 0x48a116
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x48a0b2
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x48a0b2
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp + 0x18], 0
push eax
mov eax, dword [ebp + 8]
push eax
push eax
push 0
push edx
call dword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi]
jbe 0x48a0a0
call fcn.004a56a0
mov dword [ebx], 0x2726
mov dword [ebx + 4], eax
jmp 0x48a0b2
push eax
push dword [ebp - 4]
push edi
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [esi], eax
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp esi, 0xffffffff
jne 0x48a0d5
call fcn.004a56a0
mov dword [ebx], 0x2719
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [ebp - 0x14]
push eax
push 0x700b
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004a56a0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x48a116
call fcn.004a56a0
mov dword [ebx], edi
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cc008
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x48e2b2
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
push eax
push ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x14]
push dword [ebp + 8]
call fcn.0048e680
mov dword [esp + 0x38], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x48e309
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x48e309
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x48e309
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x496440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ccfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov edx, 1
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
test esi, esi
je 0x4964ac
lea ecx, [esi + 4]
mov eax, edx
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
test esi, esi
je 0x4964f6
lea eax, [esi + 4]
lock xadd dword [eax], edx
mov byte [esp + 0x70], 1
mov dword [esp + 0x1c], 0
call fcn.004a56a0
push 1
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x40]
push 0
lea eax, [esp + 0x24]
push eax
call fcn.004970b0
mov byte [esp + 0x70], 0
or ebx, 0xffffffff
mov edi, dword [esp + 0x60]
test edi, edi
je 0x496558
lea eax, [edi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x496558
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x496558
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [esp + 0x70], 0xffffffff
test esi, esi
je 0x49658c
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x49658c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x49658c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4966f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd018
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov esi, 1
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x49674d
add ecx, 4
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x20], eax
test eax, eax
je 0x496766
add eax, 4
lock xadd dword [eax], esi
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
mov esi, dword [edi + 8]
push eax
push 0x38
call fcn.00429e20
add esp, 8
test eax, eax
je 0x496792
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.00497b10
jmp 0x496794
xor eax, eax
push ecx
push eax
mov ecx, esi
call fcn.00429ee0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00494d40
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4967d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ccfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, edx
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], edx
mov edx, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], esi
test esi, esi
je 0x49683e
lea ecx, [esi + 4]
mov eax, edx
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
test esi, esi
je 0x49688e
lea eax, [esi + 4]
lock xadd dword [eax], edx
mov byte [esp + 0x70], 1
mov dword [esp + 0x1c], 0
call fcn.004a56a0
mov dword [esp + 0x20], eax
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
mov eax, 0x10000
mov dword [esp + 0x48], 1
cmovne eax, ecx
mov ecx, dword [esp + 0x14]
cmp edi, eax
mov dword [esp + 0x14], ecx
cmovb eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax + 0x40]
call fcn.00497f90
mov byte [esp + 0x70], 0
or ebx, 0xffffffff
mov edi, dword [esp + 0x60]
test edi, edi
je 0x49691d
lea eax, [edi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x49691d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x49691d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [esp + 0x70], 0xffffffff
test esi, esi
je 0x496951
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x496951
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x496951
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c3a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cda48
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x49c4d4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0049c330
push 1
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0x2f
push eax
lea ecx, [ebp + 8]
call fcn.00412740
mov esi, eax
cmp esi, 0xffffffff
je 0x49c4d4
nop
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.00429dc0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
jbe 0x49c4a1
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], 0xf
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.0040f3d0
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
setne bl
cmp dword [ebp - 0x4c], 0x10
jb 0x49c480
push dword [ebp - 0x60]
call edi
add esp, 4
test bl, bl
jne 0x49c4a1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
test al, al
je 0x49c502
push 1
lea eax, [esi + 1]
mov byte [ebp - 0x44], 0x2f
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.00412740
mov byte [ebp - 4], 1
mov esi, eax
cmp dword [ebp - 0x14], 0x10
jb 0x49c4cb
push dword [ebp - 0x28]
call edi
add esp, 4
cmp esi, 0xffffffff
jne 0x49c420
mov bl, 1
cmp dword [ebp + 0x1c], 0x10
jb 0x49c4e4
push dword [ebp + 8]
call edi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 0x10
jb 0x49c510
push dword [ebp - 0x28]
call edi
add esp, 4
xor bl, bl
jmp 0x49c4d6
Function at 0x49c520
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x808], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esi], 0
test eax, eax
je 0x49c61e
lea ebx, [edi + 4]
mov ecx, ebx
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49c560
sub ecx, edx
je 0x49c61e
push ebx
lea eax, [ebp - 0x804]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_strcpy_s]
add esp, 0xc
cmp dword [edi], 0
je 0x49c5a8
push 0x400
push 0
push ebx
call sub.MSVCR120.dll_memset
push dword [edi]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x10
mov dword [edi], 0
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.MSVCR120.dll_rename]
add esp, 8
test eax, eax
je 0x49c609
push 0
mov dword [esi], eax
lea eax, [ebp - 0x404]
push 4
push eax
call dword [sym.imp.MSVCR120.dll__strerror_s]
add esp, 0xc
cmp byte [ebp - 0x404], 0
jne 0x49c5ed
xor ecx, ecx
lea eax, [ebp - 0x404]
push ecx
push eax
jmp 0x49c62b
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49c5f6
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
jmp 0x49c62b
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret 8
push 0x2c
mov dword [esi], 0xffffffff
push str.newfilename_is_null_or_filename_length_equ_0
lea ecx, [esi + 4]
call fcn.0040f4f0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b73db
mov esp, ebp
pop ebp
ret 8
Function at 0x49d080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 1
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x148], ecx
cmp dword [esi + 0xc], 0
jne 0x49d235
cmp byte [esi + 0xbc1], 0
je 0x49d0d7
cmp dword [esi + 0xbc4], 0
jne 0x49d0d7
lea eax, [esi + 0x814]
push eax
lea edi, [esi + 0x918]
push edi
push str._s_s.log
jmp 0x49d0ea
lea eax, [esi + 0x814]
push eax
lea edi, [esi + 0x918]
push edi
push 0x4e2258
lea eax, [ebp - 0x110]
push eax
call fcn.004150a0
add esp, 0x10
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.MSVCR120.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x49d11a
test dword [ebp - 0x13a], 0x4000
jne 0x49d14a
sub esp, 0x18
mov ecx, esp
push edi
call fcn.0040f5f0
call fcn.0049c3a0
add esp, 0x18
test al, al
jne 0x49d14a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x110]
mov byte [ebp - 0x141], 0
push 0
push eax
call dword [sym.imp.MSVCR120.dll__access_s]
movzx ecx, byte [ebp - 0x141]
add esp, 8
test eax, eax
cmove ecx, ebx
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x14c], ecx
jne 0x49d1c2
lea eax, [ebp - 0x110]
push 0x4d9500
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov dword [esi + 0xc], eax
test eax, eax
je 0x49d1b2
lea eax, [ebp - 0x110]
push eax
lea eax, [esi + 0x10]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll_strcpy_s]
add esp, 0xc
jmp 0x49d1c2
call dword [sym.imp.MSVCR120.dll__errno]
mov eax, dword [eax]
test eax, eax
jne 0x49d28d
cmp byte [esi + 0xbc1], 0
je 0x49d1db
cmp dword [esi + 0xbc4], 0
jne 0x49d1db
mov ecx, esi
call fcn.0049dd70
cmp byte [ebp - 0x14c], 0
je 0x49d22f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49d22f
push eax
push 1
push 1
push 0x4dd8a0
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x49d22f
cmp dword [esi + 0xc], 0
je 0x49d22f
push 0x400
lea eax, [esi + 0x10]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push dword [esi + 0xc]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov dword [esi + 0xc], 0
mov ecx, dword [ebp - 0x148]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49d281
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x49d281
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp eax, edi
je 0x49d281
cmp dword [esi + 0xc], 0
je 0x49d281
push 0x400
lea eax, [esi + 0x10]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push dword [esi + 0xc]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov dword [esi + 0xc], 0
lea eax, [esi + 0xc2c]
lock xadd dword [eax], ebx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b73db
mov esp, ebp
pop ebp
ret 8
Function at 0x49d5e0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x120]
push 0x100
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x49d6aa
mov dword [ebp - 0x124], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
lea eax, [ebp - 0x120]
movdqu xmmword [ebp - 0x144], xmm0
push eax
movdqu xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x140], 2
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x49d6aa
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 0x18]
push 0x10
push ecx
add eax, 4
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea eax, [ebp - 0x18]
push eax
push 0x4de8c8
push 0x100
push esi
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
push dword [ebp - 0x124]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004b73db
mov esp, ebp
pop ebp
ret 8
Function at 0x49f4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce00d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x503040]
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], 0
mov dword [edi + 4], 0
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 1
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040cfc0
push 0x20
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x49f533
push 0xffffffffffffffff
xorps xmm0, xmm0
mov ecx, eax
push 0
movdqu xmmword [eax], xmm0
push esi
movdqu xmmword [eax + 0x10], xmm0
call fcn.00419220
jmp 0x49f535
xor eax, eax
mov dword [esi + 4], eax
mov eax, dword [eax + 0x1c]
mov dword [esi + 8], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x14]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x18], esi
call fcn.00443d00
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 4
mov ecx, dword [esi]
push eax
add ecx, 0x14
call fcn.0043f5f0
mov byte [ebp - 4], 5
lea eax, [edi + 8]
xorps xmm0, xmm0
lea ecx, [edi + 0x3c]
movdqu xmmword [edi + 0x20], xmm0
push eax
movq qword [edi + 0x30], xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x20], 2
mov dword [edi + 0x24], 0
call fcn.004412a0
mov byte [ebp - 4], 6
lea esi, [edi + 0x80]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x18], esi
call fcn.00443cd0
mov dword [esi], eax
add esi, 8
mov ecx, esi
call fcn.0043e740
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push esi
mov byte [ebp - 4], 7
call fcn.00441440
mov dword [edi + 0xbc], 0xf
mov dword [edi + 0xb8], 0
mov byte [edi + 0xa8], 0
mov dword [edi + 0xd4], 0xf
mov dword [edi + 0xd0], 0
mov byte [edi + 0xc0], 0
mov byte [ebp - 4], 0xa
mov dword [edi + 0xd8], 0xbb8
mov dword [edi + 0xdc], 0
call fcn.004a56a0
mov dword [edi + 0xe0], eax
mov eax, edi
mov byte [edi + 0xe4], 1
mov dword [edi + 0xfc], 0xf
mov dword [edi + 0xf8], 0
mov byte [edi + 0xe8], 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 0x4a6080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cec10
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.0040f3d0
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4a6113
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4a6150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf9d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.0040f3d0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4