Function at 0x46f030
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d749c
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x160], 0
mov ecx, 0x67b5d0
call fcn.0059f048
mov ecx, dword [ebp + 0xc]
call fcn.0040e960
movzx eax, al
test eax, eax
je 0x46f0af
push 0x5f1960
mov ecx, dword [ebp + 8]
call fcn.00404ad0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x160]
or eax, 1
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 8]
jmp 0x46f447
lea ecx, [ebp - 0x2c]
call fcn.00404b80
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00404b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00404b80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00404b80
mov byte [ebp - 4], 4
mov eax, dword [str.jVEE2U3o0zkp20TMV3W0zYRMRRRbMQpWENxUZU5Z1NU]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404ad0
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
push str.SHA256
call fcn.00404ad0
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.004780c0
add esp, 8
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x16c]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x114], esp
mov edx, dword [str.rvor4WMjj7SXNUY]
push edx
call fcn.00404ad0
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 9
call fcn.004475c0
add esp, 0x38
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x110]
call fcn.00404fb0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
call fcn.00404fb0
xor eax, eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004682e0
add esp, 0x14
lea ecx, [ebp - 0x8c]
call fcn.0040d5e0
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d5e0
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x46f3de
lea ecx, [ebp - 0x5c]
call fcn.0040d5e0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x46f3dc
mov eax, dword [ebp - 0x94]
movsx ecx, word [eax + 8]
cmp ecx, 2
jne 0x46f3dc
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x164], 0
je 0x46f276
mov eax, dword [ebp - 0x9c]
add eax, 1
mov dword [ebp - 0x9c], eax
jmp 0x46f235
cmp dword [ebp - 0x9c], 0
jle 0x46f3dc
mov eax, dword [ebp - 0x9c]
push eax
push 0
call fcn.0046a200
add esp, 8
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00404ad0
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409dd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x12c]
call fcn.00404fb0
movzx eax, word [ebp - 0x90]
test eax, eax
je 0x46f30c
movzx eax, word [ebp - 0x90]
cmp eax, 0x50
jne 0x46f371
lea ecx, [ebp - 0x74]
call fcn.0040d5e0
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d5e0
push eax
lea ecx, [ebp - 0x44]
call fcn.0040d5e0
push eax
push str._s:___s_s
lea eax, [ebp - 0x144]
push eax
call fcn.004530a0
add esp, 0x14
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x168], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x168]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00409dd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x144]
call fcn.00404fb0
jmp 0x46f3dc
lea ecx, [ebp - 0x74]
call fcn.0040d5e0
push eax
movzx eax, word [ebp - 0x90]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d5e0
push eax
lea ecx, [ebp - 0x44]
call fcn.0040d5e0
push eax
push str._s:___s:_d_s
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004530a0
add esp, 0x18
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409dd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x15c]
call fcn.00404fb0
jmp 0x46f3ea
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042b360
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404a30
mov ecx, dword [ebp - 0x160]
or ecx, 1
mov dword [ebp - 0x160], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00404fb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00404fb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00404fb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00404fb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404fb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret 8