Function at 0x5bc010
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x848], 0
mov dword [ebp - 0xc78], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0xc70], 0
push 0x400
push 0
lea eax, [ebp - 0xc6f]
push eax
call fcn.00532490
add esp, 0xc
mov byte [ebp - 0x840], 0
push 0x400
push 0
lea ecx, [ebp - 0x83f]
push ecx
call fcn.00532490
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov edx, dword [0x69a9dc]
push edx
call fcn.00528a50
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x430], 0
push 0x400
push 0
lea eax, [ebp - 0x42f]
push eax
call fcn.00532490
add esp, 0xc
push 1
call fcn.005bd420
add esp, 4
test eax, eax
jne 0x5bc0ea
mov eax, dword [ebp - 0x18]
jmp 0x5bc5ce
push 0
push 0x20
push 0
lea ecx, [ebp - 0x868]
push ecx
call fcn.005286a0
add esp, 0x10
mov dword [ebp - 0x868], 2
mov dword [ebp - 0x860], 1
mov dword [ebp - 0x864], 2
cmp dword [ebp + 0xc], 0
je 0x5bc15b
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00527f10
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.00528390
add esp, 0x10
push 0x400
lea edx, [ebp - 0x430]
push edx
call fcn.00595150
add esp, 8
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.005a25a0
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0057e7a0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5bc1a7
mov eax, dword [ebp - 0x10]
push eax
call fcn.00536a8b
add esp, 4
cmp eax, 6
jne 0x5bc1a7
cmp dword [ebp + 0x10], 0
jne 0x5bc1a7
mov dword [ebp - 0x864], 0x17
cmp dword [ebp - 0x14], 0
je 0x5bc1b8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc7c], ecx
jmp 0x5bc1c4
lea edx, [ebp - 0x430]
mov dword [ebp - 0xc7c], edx
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x868]
push ecx
push 0
mov edx, dword [ebp - 0xc7c]
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5bc1f3
cmp dword [ebp - 0x848], 0
jne 0x5bc255
cmp dword [ebp + 0x10], 0
jne 0x5bc255
cmp dword [ebp - 0x864], 0x17
jne 0x5bc20e
mov dword [ebp - 0x864], 2
jmp 0x5bc218
mov dword [ebp - 0x864], 0x17
cmp dword [ebp - 0x14], 0
je 0x5bc229
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc80], eax
jmp 0x5bc235
lea ecx, [ebp - 0x430]
mov dword [ebp - 0xc80], ecx
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x868]
push eax
push 0
mov ecx, dword [ebp - 0xc80]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.00528c00
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x5bc27a
mov eax, dword [ebp - 0x14]
push eax
call fcn.005834f0
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 8], 0
je 0x5bc294
mov ecx, dword [ebp - 8]
push ecx
call fcn.005bd710
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x5bc5ce
cmp dword [ebp - 0x848], 0
jne 0x5bc2a5
mov eax, dword [ebp - 0x18]
jmp 0x5bc5ce
mov edx, dword [ebp - 0x848]
mov dword [ebp - 0xc78], edx
mov eax, dword [ebp - 0xc78]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
push 0
push 0x401
push 0
lea edx, [ebp - 0xc70]
push edx
call fcn.005286a0
add esp, 0x10
push 2
push 0
push 0
push 0x401
lea eax, [ebp - 0xc70]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc78]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5bc325
mov ecx, dword [ebp - 8]
push ecx
call fcn.005bd710
add esp, 4
mov edx, dword [ebp - 0x848]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x18]
jmp 0x5bc5ce
push 4
push str.fe80
lea eax, [ebp - 0xc70]
push eax
call fcn.005354b3
add esp, 0xc
test eax, eax
je 0x5bc3a6
mov ecx, dword [ebp - 0xc78]
cmp dword [ecx + 4], 0x17
jne 0x5bc3a6
push 0x401
lea edx, [ebp - 0xc70]
push edx
call fcn.00582d50
add esp, 8
add eax, 1
push eax
lea eax, [ebp - 0xc70]
push eax
lea ecx, [ebp - 0x840]
push ecx
call fcn.00582db0
add esp, 0xc
push 4
push str.fec0
lea edx, [ebp - 0xc70]
push edx
call fcn.005354b3
add esp, 0xc
test eax, eax
jne 0x5bc398
jmp 0x5bc423
mov eax, dword [ebp - 0xc78]
mov dword [ebp - 0x434], eax
jmp 0x5bc407
mov ecx, dword [ebp - 0xc78]
cmp dword [ecx + 4], 2
jne 0x5bc407
cmp dword [ebp - 0x434], 0
jne 0x5bc407
mov edx, dword [ebp - 0xc78]
mov dword [ebp - 0x434], edx
push 0x401
lea eax, [ebp - 0xc70]
push eax
call fcn.00582d50
add esp, 8
add eax, 1
push eax
lea ecx, [ebp - 0xc70]
push ecx
lea edx, [ebp - 0x840]
push edx
call fcn.00582db0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x5bc407
mov dword [ebp - 0xc78], 0
jmp 0x5bc423
mov eax, dword [ebp - 0xc78]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xc78], ecx
cmp dword [ebp - 0xc78], 0
jne 0x5bc2b1
cmp dword [ebp - 0xc78], 0
jne 0x5bc49e
cmp dword [ebp - 0x434], 0
je 0x5bc489
push 0x401
lea edx, [ebp - 0x840]
push edx
call fcn.00582d50
add esp, 8
test eax, eax
je 0x5bc489
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0xc78], eax
push 0x401
lea ecx, [ebp - 0x840]
push ecx
call fcn.00582d50
add esp, 8
add eax, 1
push eax
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0xc70]
push eax
call fcn.00582db0
add esp, 0xc
jmp 0x5bc49e
mov ecx, dword [ebp - 0x848]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x18]
jmp 0x5bc5ce
mov edx, dword [ebp - 0x848]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xc74], eax
mov ecx, dword [ebp - 0x848]
mov dword [ebp - 0x844], ecx
jmp 0x5bc4ca
mov edx, dword [ebp - 0x844]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
je 0x5bc521
mov ecx, dword [ebp - 0x844]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xc74], edx
cmp dword [ebp - 0xc74], 0
jne 0x5bc4ed
jmp 0x5bc4bb
push 0
push 0x3a
mov eax, dword [ebp - 0xc74]
push eax
call fcn.00527f80
add esp, 0xc
test eax, eax
je 0x5bc506
jmp 0x5bc4bb
push 0
push 0x2e
mov ecx, dword [ebp - 0xc74]
push ecx
call fcn.00527f80
add esp, 0xc
test eax, eax
je 0x5bc51f
jmp 0x5bc521
jmp 0x5bc4bb
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc74]
push eax
call fcn.005a2ab0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5bc548
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc84], ecx
jmp 0x5bc554
mov edx, dword [ebp - 0xc74]
mov dword [ebp - 0xc84], edx
lea eax, [ebp - 0xc70]
push eax
mov ecx, dword [ebp - 0xc84]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc78]
mov ecx, dword [eax + 4]
push ecx
call fcn.005bd270
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], 0
je 0x5bc594
mov edx, dword [ebp - 4]
push edx
call fcn.005834f0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc78]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc78]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0xc78]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.005bd380
add esp, 0x10
mov ecx, dword [ebp - 0x848]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret