Function at 0x42d420
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x74], ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0xd0
call fcn.00433450
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0xd0
call fcn.0041e030
push eax
lea ecx, [ebp - 0x10]
call fcn.00412ce0
movzx eax, al
test eax, eax
je 0x42d4c9
call fcn.00401ff0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d4be
push 4
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x42d4be
mov ecx, dword [ebp + 8]
push ecx
push str.No_found_ID___d__connectinfo_n
push 0x201
push 0x5e6dd8
push 4
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x1c
xor ecx, ecx
jne 0x42d464
xor al, al
jmp 0x42ddec
lea ecx, [ebp - 0x10]
call fcn.0043ccd0
mov edx, dword [eax + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x242c], 0
call fcn.00401ff0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42d54c
push 0
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x42d54c
mov ecx, dword [ebp - 4]
add ecx, 0x38c
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push str.Get_ID___d_____ConnInfo___d_____Connect_to___s__n
push 0x206
push 0x5e6e20
push 0
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x24
xor eax, eax
jne 0x42d4e4
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x241c], 0
je 0x42d5cc
call fcn.00401ff0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42d5b6
push 2
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42d5b6
mov edx, dword [ebp + 8]
push edx
push str.Start_login_to_svr__delete_event_of_reconnect_of_id__d__n
push 0x209
push 0x5e6e70
push 2
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 0x10]
call ecx
add esp, 0x1c
xor edx, edx
jne 0x42d55c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x241c]
push ecx
call fcn.00582e70
add esp, 4
mov edx, dword [ebp - 0x74]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x42d645
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0xf0
call fcn.004350f0
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.00403210
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 4]
add edx, 0x38c
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ecx]
mov byte [ebp - 0x85], dl
mov eax, dword [ebp - 0x80]
mov cl, byte [ebp - 0x85]
mov byte [eax], cl
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
cmp byte [ebp - 0x85], 0
jne 0x42d60c
lea ecx, [ebp - 0x5c]
call fcn.00403180
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x2408], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x74]
mov dword [edx + 0x3f8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x124], 0
mov ecx, dword [ebp - 0x74]
add ecx, 0x2c
call fcn.00403210
mov edx, dword [ebp - 4]
mov dword [edx + 0x338], eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x48
call fcn.00403210
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x33c], eax
mov ecx, 0x62c000
call fcn.00403210
mov edx, dword [ebp - 4]
mov dword [edx + 0x340], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x8c]
mov cl, byte [eax]
mov byte [ebp - 0x91], cl
add dword [ebp - 0x8c], 1
cmp byte [ebp - 0x91], 0
jne 0x42d6c1
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x90]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x340]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x9c]
mov cl, byte [eax]
mov byte [ebp - 0xa1], cl
add dword [ebp - 0x9c], 1
cmp byte [ebp - 0xa1], 0
jne 0x42d70f
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x33c]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
add edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xac]
mov cl, byte [eax]
mov byte [ebp - 0xb1], cl
add dword [ebp - 0xac], 1
cmp byte [ebp - 0xb1], 0
jne 0x42d75d
mov edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xb8]
lea edx, [eax + ecx + 3]
mov eax, dword [ebp - 4]
mov dword [eax + 0x378], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x378]
push edx
call fcn.004c814e
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x374], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x3fc], 0xffffffff
push 0x2c
push 0
mov eax, dword [ebp - 4]
add eax, 0x348
push eax
call fcn.004ce490
add esp, 0xc
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x20], 6
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x24], 6
xor eax, eax
mov ecx, dword [ebp - 4]
add ecx, 0x104
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x10c], 1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x110], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x104], 0
mov edx, dword [ebp - 4]
add edx, 0x124
push edx
mov eax, dword [ebp - 4]
add eax, 0x104
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x128
push ecx
mov edx, dword [ebp - 4]
add edx, 0x38c
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d913
call fcn.00401ff0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x42d90a
push 4
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42d90a
push 0x5e6e84
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042a180
add esp, 4
push eax
mov eax, dword [ebp - 4]
add eax, 0x128
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x38c
push ecx
push str.getaddrinfo__s:_s__failed:__s__in_func__s___n
push 0x22b
push 0x5e6ecc
push 4
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x28
xor ecx, ecx
jne 0x42d88f
jmp 0x42dcd2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x124]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x124]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004d34f0
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x124]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x100], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x124]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
mov ecx, dword [ebp - 4]
add ecx, 0x104
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x10c], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x110], 6
mov edx, dword [ebp - 4]
mov dword [edx + 0x104], 0
mov byte [ebp - 5], 1
push 3
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 8]
push ecx
call fcn.0058af30
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x2410], eax
call fcn.00401ff0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x42da34
push 0
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42da34
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2410]
push eax
push str.Create_TurnAlloc___hx__n
push 0x23f
push 0x5e6ef8
push 0
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x1c
xor eax, eax
jne 0x42d9d4
mov ecx, dword [ebp - 4]
push ecx
push 0x42eef0
push 0
push 0x42f500
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2410]
push eax
call fcn.00584690
add esp, 0x14
push 6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2410]
push edx
call fcn.005857f0
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x100]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2410]
push ecx
call fcn.0058b270
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42dbe0
call fcn.00401ff0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42db02
push 4
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42db02
push str.CTurnClient::LoginTURN
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004c9524
add esp, 4
push eax
push 0x5e6f24
push 0x244
push 0x5e6f58
push 4
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x20
xor ecx, ecx
jne 0x42da97
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2410], 0
je 0x42db9b
call fcn.00401ff0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42db78
push 0
call fcn.00405d70
movzx eax, al
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42db78
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2410]
push eax
push 0x5e6f6c
push 0x245
push 0x5e6f84
push 0
call fcn.00405d70
movzx ecx, al
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x1c
xor eax, eax
jne 0x42db16
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2410]
push edx
call fcn.005852a0
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x2410], 0
xor ecx, ecx
jne 0x42db06
mov edx, dword [ebp - 4]
mov dword [edx + 0x2428], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x242c], 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00430dd0
push 0
mov ecx, dword [ebp - 0x74]
add ecx, 0xf0
call fcn.004352e0
xor al, al
jmp 0x42ddec
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2410]
push eax
call fcn.00584b60
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x400], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x374], 0
jne 0x42dc63
call fcn.00401ff0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42dc5d
push 4
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42dc5d
push str.Cannot_create_TURNClient_MD5_n
push 0x250
push 0x5e6fb8
push 4
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x18
xor ecx, ecx
jne 0x42dc07
jmp 0x42dcd2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x33c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x340]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x338]
push ecx
push str._s:_s:_s
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x378]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x374]
push edx
call fcn.004c99c5
add esp, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x378]
sub ecx, 1
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x374]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x37c
push ecx
call fcn.00456dc0
add esp, 0xc
mov al, 1
jmp 0x42ddec
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2410], 0
je 0x42dd67
call fcn.00401ff0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x42dd44
push 0
call fcn.00405d70
movzx eax, al
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42dd44
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2410]
push eax
push 0x5e6fd8
push 0x25a
push 0x5e6ff0
push 0
call fcn.00405d70
movzx ecx, al
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x1c
xor eax, eax
jne 0x42dce2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2410]
push edx
call fcn.005852a0
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x2410], 0
xor ecx, ecx
jne 0x42dcd2
mov edx, dword [ebp - 4]
mov dword [edx + 0x2428], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x242c], 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00430dd0
push 0
mov ecx, dword [ebp - 0x74]
add ecx, 0xf0
call fcn.004352e0
cmp dword [ebp - 4], 0
je 0x42ddc4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.004bdea5
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0xd0
call fcn.0041e060
xor al, al
mov esp, ebp
pop ebp
ret 4