Function at 0x45a520
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b68d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x310
push esi
push edi
push 0x10
mov dword [ebp - 0x68], ecx
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edi, dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push 0
push 0
push 0
push 4
push eax
mov dword [ebp - 0x60], eax
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00583e4c
add esp, 4
mov dword [ebp - 0x44], eax
push 0
push esi
push eax
push 4
push dword [ebp - 0x60]
call edi
mov edx, dword [ebp - 0x44]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a5c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004496e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x45a5f7
xor esi, esi
mov dword [ebp - 0x60], 0xf
xor edi, edi
jmp 0x45a69c
lea esi, [eax + eax*2]
push esi
call fcn.00583e4c
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.00585a40
add esp, 0xc
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
push edi
push eax
call fcn.00598766
add esp, 0x14
test eax, eax
je 0x45a653
push edi
xor esi, esi
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 4], 0
call fcn.005838d8
add esp, 4
xor edi, edi
jmp 0x45a69c
mov ecx, edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a670
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.00449cf0
push edi
mov byte [ebp - 4], 0
call fcn.005838d8
mov eax, dword [ebp - 0x2c]
add esp, 4
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov ecx, 0x6acf50
call fcn.004470b0
mov eax, dword [ebp - 0x3c]
sub esp, 0x18
mov dword [0x6acf54], eax
mov ecx, esp
mov eax, dword [ebp - 0x38]
mov dword [0x6acf58], eax
mov eax, dword [ebp - 0x34]
mov dword [0x6acf5c], eax
mov eax, dword [ebp - 0x60]
push 0x6acf50
mov dword [0x6acf50], esi
mov dword [0x6acf60], edi
mov dword [0x6acf64], eax
call fcn.00447260
lea ecx, [ebp - 0x5c]
call fcn.00459030
mov esi, eax
add esp, 0x18
cmp esi, 0x6acf68
je 0x45a742
mov ecx, 0x6acf68
call fcn.004470b0
mov ecx, dword [esi]
mov dword [0x6acf68], ecx
mov ecx, dword [esi + 4]
mov dword [0x6acf6c], ecx
mov eax, dword [esi + 8]
mov dword [0x6acf70], eax
mov eax, dword [esi + 0xc]
mov dword [0x6acf74], eax
mov eax, dword [esi + 0x10]
mov dword [0x6acf78], eax
mov eax, dword [esi + 0x14]
mov dword [0x6acf7c], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x45a776
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a76c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2b5
push ecx
push edx
call fcn.00583877
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x45a7b7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45a7ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2ba
push ecx
push edx
call fcn.00583877
add esp, 8
lea eax, [ebp - 0x320]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x45a98a
call edi
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
mov eax, dword [str.error]
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x5c], eax
movzx eax, byte [0x5e7ec4]
fstp qword [ebp - 0x80]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 5
mov byte [ebp - 0x58], al
mov byte [ebp - 0x57], 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xc0]
call fcn.00447260
fld qword [ebp - 0x80]
mov dword [ebp - 0xa8], 0
fstp qword [ebp - 0x90]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 0x88], 0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004456c0
mov eax, dword [str.WSAStartup_]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x40], eax
mov eax, dword [0x5e8330]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x5e8334]
mov dword [ebp - 0x38], eax
movzx eax, byte [0x5e8338]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xd
mov byte [ebp - 0x34], al
mov byte [ebp - 0x33], 0
mov eax, dword [str.wsa_startup]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x28], eax
mov eax, dword [0x5e8340]
mov dword [ebp - 0x24], eax
mov ax, word [0x5e8344]
mov word [ebp - 0x20], ax
movzx eax, byte [0x5e8346]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0xb
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
push 0x8d
lea eax, [ebp - 0x40]
mov ecx, 2
push str.netlogic.cpp
push eax
lea edx, [ebp - 0x28]
call fcn.004d4b60
mov byte [ebp - 4], 5
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x45a952
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45a948
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2bf
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.004470b0
lea ecx, [ebp - 0x74]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
push eax
call fcn.00583d37
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.004470b0
push ecx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xdc], 2
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xd4], 6
mov dword [ebp - 0xe0], 1
call fcn.00457390
mov dword [ebp - 4], 7
call fcn.005201a0
push 0
add eax, 0x248
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0044cbd0
lea ecx, [ebp - 0x180]
mov eax, dword [eax + 4]
push eax
call fcn.00446ab0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x190]
call fcn.004572c0
cmp dword [eax + 0x14], 0x10
jb 0x45aa30
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
push eax
push 0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, dword [ebp - 0x48]
mov esi, eax
mov dword [ebp - 0x44], esi
cmp ecx, 0x10
jb 0x45aa7d
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45aa73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2c4
push ecx
push edx
call fcn.00583877
add esp, 8
test esi, esi
je 0x45ac8a
mov eax, dword [str.error]
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x5c], eax
movzx eax, byte [0x5e7ec4]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 5
mov byte [ebp - 0x58], al
mov byte [ebp - 0x57], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xc0]
call fcn.00447260
fild dword [ebp - 0x44]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
fstp qword [ebp - 0x90]
mov byte [ebp - 0x88], 0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004456c0
mov eax, dword [str.getaddrinfo_]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x40], eax
mov eax, dword [0x5e834c]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x5e8350]
mov dword [ebp - 0x38], eax
movzx eax, word [0x5e8354]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xe
mov word [ebp - 0x34], ax
mov byte [ebp - 0x32], 0
mov eax, dword [0x5e8358]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x28], eax
mov eax, dword [0x5e835c]
mov dword [ebp - 0x24], eax
movzx eax, word [0x5e8360]
mov word [ebp - 0x20], ax
movzx eax, byte [0x5e8362]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0xb
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xc
push eax
push 0x9d
lea eax, [ebp - 0x40]
mov ecx, 2
push str.netlogic.cpp
push eax
lea edx, [ebp - 0x28]
call fcn.004d4b60
mov byte [ebp - 4], 0xb
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x45abf4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45abea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2c9
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x45ac2c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ac22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2c9
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 8
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x45b297
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ac7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2c9
push ecx
push edx
call fcn.00583877
add esp, 8
jmp 0x45b297
mov eax, dword [ebp - 0x64]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [ebp - 0x68]
mov edx, eax
mov ecx, dword [esi]
mov dword [ecx], edx
cmp edx, 0xffffffff
jne 0x45ae9f
call edi
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
mov eax, dword [str.error]
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x5c], eax
movzx eax, byte [0x5e7ec4]
fstp qword [ebp - 0x80]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 5
mov byte [ebp - 0x58], al
mov byte [ebp - 0x57], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xc0]
call fcn.00447260
fld qword [ebp - 0x80]
mov dword [ebp - 0xa8], 0
fstp qword [ebp - 0x90]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 0x88], 0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004456c0
mov eax, dword [str.socket_]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x40], eax
mov eax, dword [0x5e8368]
mov dword [ebp - 0x3c], eax
movzx eax, byte [0x5e836c]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 9
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push 6
mov dword [ebp - 0x28], 0
push str.socket
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00449cf0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x11
push eax
push 0xa4
lea eax, [ebp - 0x40]
mov ecx, 2
push str.netlogic.cpp
push eax
lea edx, [ebp - 0x28]
call fcn.004d4b60
mov byte [ebp - 4], 0x10
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x45ae09
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45adff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2ce
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x45ae41
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2ce
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xd
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x45b28e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2ce
push ecx
push edx
call fcn.00583877
add esp, 8
jmp 0x45b28e
mov eax, dword [ebp - 0x64]
push dword [eax + 0x10]
push dword [eax + 0x18]
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x45b063
push 5
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.error
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00449cf0
sub esp, 8
mov byte [ebp - 4], 0x12
fld qword [0x5f47d8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
fstp qword [esp]
push eax
call fcn.004d2c00
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x13
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004456c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x40]
push 7
mov dword [ebp - 0x40], 0
push str.bind_
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00449cf0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
push 4
mov dword [ebp - 0x5c], 0
push str.bind
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00449cf0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x16
push eax
push 0xac
lea eax, [ebp - 0x40]
mov ecx, 2
push str.netlogic.cpp
push eax
lea edx, [ebp - 0x5c]
call fcn.004d4b60
mov byte [ebp - 4], 0x15
add esp, 0x10
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x45afcd
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45afc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2d3
push ecx
push edx
call fcn.00583877
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x45b005
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45affb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2d3
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x12
push eax
call fcn.00583d37
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x45b27c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45b054
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b2d3
push ecx
push edx
call fcn.00583877
add esp, 8
jmp 0x45b27c
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 1
push eax
mov eax, dword [esi]
push 0x8004667e
push dword [eax]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x45b19f
push 5
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.error
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00449cf0
fild dword [ebp - 0x68]
sub esp, 8
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
fstp qword [esp]
push eax
call fcn.004d2c00
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x18
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004456c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
push 0xe
mov dword [ebp - 0x40], 0
push str.ioctlsocket_
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00449cf0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5c]
push 0xb
mov dword [ebp - 0x5c], 0
push str.ioctlsocket
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00449cf0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1b
push eax
push 0xb4
lea eax, [ebp - 0x40]
mov ecx, 2
push str.netlogic.cpp
push eax
lea edx, [ebp - 0x5c]
call fcn.004d4b60
add esp, 0x10
lea ecx, [ebp - 0x5c]
call fcn.004470b0
lea ecx, [ebp - 0x40]
call fcn.004470b0
lea ecx, [ebp - 0x74]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x17
push eax
call fcn.00583d37
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004470b0
mov eax, dword [esi]
push closesocket
push dword [eax]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x45b28e
push str.error
lea ecx, [ebp - 0x28]
call fcn.004471f0
sub esp, 8
mov byte [ebp - 4], 0x1c
fld qword [0x5f47d8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
fstp qword [esp]
push eax
call fcn.004d2c00
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x1d
push ecx
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004456c0
push str.listen_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1e
call fcn.004471f0
push str.listen
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1f
call fcn.004471f0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x20
push eax
push 0xb8
lea eax, [ebp - 0x40]
mov ecx, 2
push str.netlogic.cpp
push eax
lea edx, [ebp - 0x5c]
call fcn.004d4b60
add esp, 0x10
lea ecx, [ebp - 0x5c]
call fcn.004470b0
lea ecx, [ebp - 0x40]
call fcn.004470b0
lea ecx, [ebp - 0x74]
call fcn.00449240
push fcn.00438e00
push 1
push 0x40
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x1c
push eax
call fcn.00583d37
lea ecx, [ebp - 0x28]
call fcn.004470b0
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi]
mov dword [eax], 0xffffffff
push dword [ebp - 0x64]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [ebp - 0x190]
call fcn.00454000
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
int3