Function at 0x42e040
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a41d6
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10c], ecx
cmp dword [ebp + 8], 0
je 0x42e091
cmp dword [ebp + 0xc], 0
je 0x42e091
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x42e091
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x42e0fa
call fcn.00401ff0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x42e0ec
push 4
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x42e0ec
push 0x5e70c4
push str.Bad_parameter_in__s_n
push 0x292
push 0x5e7100
push 4
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x1c
xor eax, eax
jne 0x42e091
mov eax, 1
jmp 0x42e93d
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00403100
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x30]
call fcn.00403100
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10c]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x42e2fd
mov dword [ebp - 0xdc], 1
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x10c]
add ecx, 0xcc
call fcn.00433450
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0x10c]
add ecx, 0xcc
call fcn.0041e030
push eax
lea ecx, [ebp - 0x68]
call fcn.00412890
movzx edx, al
test edx, edx
je 0x42e269
lea ecx, [ebp - 0x68]
call fcn.0043ccd0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x3d2
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x110]
mov dl, byte [ecx]
mov byte [ebp - 0x119], dl
mov eax, dword [ebp - 0x114]
mov cl, byte [ebp - 0x119]
mov byte [eax], cl
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
cmp byte [ebp - 0x119], 0
jne 0x42e1ba
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x3f2
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x120]
mov dl, byte [ecx]
mov byte [ebp - 0x129], dl
mov eax, dword [ebp - 0x124]
mov cl, byte [ebp - 0x129]
mov byte [eax], cl
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
cmp byte [ebp - 0x129], 0
jne 0x42e221
jmp 0x42e2f8
call fcn.00401ff0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x42e2c4
push 3
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x42e2c4
push 0x5e7114
push 0x5e7138
push 0x2a3
push 0x5e7154
push 3
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x1c
xor eax, eax
jne 0x42e269
mov dword [ebp - 0xe8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00403180
mov eax, dword [ebp - 0xe8]
jmp 0x42e93d
jmp 0x42e4ac
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x10c]
add ecx, 0xcc
call fcn.00433420
jmp 0x42e325
push 0
lea edx, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x74]
call fcn.00418c50
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x10c]
add ecx, 0xcc
call fcn.0041e030
push eax
lea ecx, [ebp - 0x74]
call fcn.00412890
movzx ecx, al
test ecx, ecx
je 0x42e4ac
lea ecx, [ebp - 0x74]
call fcn.0043ccd0
mov edx, dword [eax + 4]
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0
je 0x42e4a7
mov eax, dword [ebp - 0x78]
add eax, 0x3d2
push eax
lea ecx, [ebp - 0xb0]
call fcn.00403100
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x78]
add ecx, 0x3f2
push ecx
lea ecx, [ebp - 0x94]
call fcn.00403100
mov byte [ebp - 4], 3
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.00409230
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42e489
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.00409230
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42e489
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x10], edx
call fcn.00401ff0
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x42e461
push 2
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42e461
lea ecx, [ebp - 0x74]
call fcn.0043ccd0
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x30]
call fcn.00403210
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403210
push eax
push str.Found_PeerRelayAddress___s:_s__for_ID___d__n
push 0x2b3
push 0x5e7194
push 2
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [edx + 0x10]
call ecx
add esp, 0x24
xor edx, edx
jne 0x42e3dc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00403180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00403180
jmp 0x42e4ac
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00403180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00403180
jmp 0x42e314
cmp dword [ebp - 0x10], 0
jne 0x42e552
call fcn.00401ff0
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x42e51e
push 3
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42e51e
push str.No_Turn_Control_Connection_n
push 0x2bc
push 0x5e71c4
push 3
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x18
xor ecx, ecx
jne 0x42e4b6
mov dword [ebp - 0xfc], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00403180
mov eax, dword [ebp - 0xfc]
jmp 0x42e93d
mov edx, dword [ebp - 0x10]
add edx, 0x124
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x104
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x42e645
call fcn.00401ff0
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x42e60d
push 4
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42e60d
mov edx, dword [ebp - 0x40]
push edx
call fcn.0042a180
add esp, 4
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x3f2
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x3d2
push ecx
push 0x5e71d8
push str.In_func__s__getaddrinfo__s:_s_:__s_n
push 0x2c5
push 0x5e7220
push 4
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x28
xor ecx, ecx
jne 0x42e580
mov dword [ebp - 0x100], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00403180
mov eax, dword [ebp - 0x100]
jmp 0x42e93d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x124]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x124]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x80
push edx
call fcn.004d34f0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x334]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x130
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x340]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x37c
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x338]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x100]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x400]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.00455c00
add esp, 0x30
cmp eax, 0xffffffff
jne 0x42e7a8
call fcn.00401ff0
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x42e774
push 3
movzx edx, byte [0x622f3e]
push edx
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
je 0x42e774
mov edx, dword [ebp - 0x10]
add edx, 0x3f2
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x3d2
push eax
push str.CreatePermission_to__s:_s_failed._n
push 0x2d5
push 0x5e7258
push 3
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x20
xor eax, eax
jne 0x42e6f9
mov dword [ebp - 0x104], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00403180
mov eax, dword [ebp - 0x104]
jmp 0x42e93d
mov dword [ebp - 0xc4], 0
jmp 0x42e7c3
mov ecx, dword [ebp - 0xc4]
add ecx, 1
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xc4], 0xc
jge 0x42e818
mov byte [ebp - 0xd0], 0
xor edx, edx
mov dword [ebp - 0xcf], edx
mov dword [ebp - 0xcb], edx
mov byte [ebp - 0xc7], dl
mov eax, dword [ebp - 0xc4]
movzx ecx, byte [ebp + eax - 0x3c]
push ecx
push str._.2X
lea edx, [ebp - 0xd0]
push edx
call fcn.004c7ef1
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00409380
jmp 0x42e7b4
call fcn.00401ff0
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x42e88e
push 0
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x42e88e
mov ecx, dword [ebp + 0x10]
call fcn.00403210
push eax
push str.CTurnClient::RunCreatePermission
push str.Fn__s_get_PermissionMsg_TranscactionID___s__n
push 0x2df
push 0x5e72c8
push 0
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [eax + 0x10]
call edx
add esp, 0x20
xor eax, eax
jne 0x42e818
call fcn.00401ff0
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x42e90e
push 2
movzx ecx, byte [0x622f3e]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x42e90e
mov ecx, dword [ebp - 0x10]
add ecx, 0x3f2
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x3d2
push edx
push str.Permission_to__s:_s_installed__n
push 0x2e0
push 0x5e72fc
push 2
movzx eax, byte [0x622f3e]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [edx + 0x10]
call ecx
add esp, 0x20
xor edx, edx
jne 0x42e892
mov dword [ebp - 0x108], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00403180
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret 0xc