Function at 0x457e2d
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0x2e8
mov eax, 0x4efc0c
call fcn.004cb117
mov eax, dword [ebp + 8]
mov edi, ecx
push str.6767
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], eax
call fcn.0044dacf
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x204], esp
xor ebx, ebx
push 0x4f5dfc
mov dword [ebp - 4], ebx
call fcn.0044dacf
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x18]
push 0xff
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x457f14
push 1
push 3
lea ecx, [ebp - 0x2f4]
call fcn.00453b44
mov byte [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0x2e4]
push 0x4f5de0
push eax
call fcn.004510d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00451f3f
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x20c], esp
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00454641
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], bl
call fcn.00450717
push ebx
push 1
lea ecx, [ebp - 0x1e0]
call fcn.0044d2a1
xor al, al
call fcn.004cb19a
ret 4
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
jne 0x457f5e
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20c], esp
push 0x4f5db8
call fcn.0044dacf
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov byte [ebp - 0x200], bl
push ebx
push 1
lea ecx, [ebp - 0x1e0]
call fcn.0044d2a1
mov al, byte [ebp - 0x200]
jmp 0x457f0c
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov ecx, dword [esi + 0xc]
mov byte [ebp - 4], 4
mov dword [ebp - 0x204], ebx
cmp dword [ecx], ebx
je 0x45817e
xor edx, edx
mov byte [ebp - 0x208], bl
xor eax, eax
lea edi, [ebp - 0x207]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 4
push dword [ecx + edx]
lea eax, [ebp - 0x208]
push eax
call fcn.004ca090
add esp, 0xc
push dword [ebp - 0x208]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0044dacf
xor edi, edi
inc edi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 5
mov byte [ebp - 0x200], 0x2e
call fcn.0044e940
cmp eax, 0xffffffff
je 0x458152
inc eax
push eax
push ebx
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0044dafe
mov byte [ebp - 4], 6
mov dword [ebp - 0x210], ebx
push edi
push 3
lea ecx, [ebp - 0x2f4]
call fcn.00453b44
push 0x4f5ae4
lea eax, [ebp - 0x1e0]
push eax
push 0x51397c
push dword [ebp - 0x210]
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x2e4]
push str.http:__
push eax
mov byte [ebp - 4], 7
call fcn.004510d3
pop ecx
pop ecx
push eax
call fcn.0045126f
pop ecx
pop ecx
mov ecx, eax
call fcn.0045202f
push eax
call fcn.004510d3
pop ecx
pop ecx
push eax
call fcn.0045126f
pop ecx
pop ecx
push eax
call fcn.004510d3
pop ecx
pop ecx
push str.192.
lea ecx, [ebp - 0x12c]
call fcn.0044dacf
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x1a8]
push eax
mov byte [ebp - 4], 8
call fcn.00464996
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x200], al
mov byte [ebp - 4], 7
call fcn.0044d2a1
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x2f4]
push eax
call fcn.00454641
cmp byte [ebp - 0x200], bl
je 0x458103
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x234]
jmp 0x45810d
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x244]
push eax
call fcn.00457837
push ebx
push edi
lea ecx, [ebp - 0x12c]
call fcn.0044d2a1
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 6
call fcn.00450717
inc dword [ebp - 0x210]
cmp dword [ebp - 0x210], 0x100
jb 0x458033
push ebx
push edi
lea ecx, [ebp - 0x1fc]
call fcn.0044d2a1
push ebx
push edi
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 4
call fcn.0044d2a1
inc dword [ebp - 0x204]
mov edx, dword [ebp - 0x204]
mov ecx, dword [esi + 0xc]
shl edx, 2
cmp dword [ecx + edx], ebx
jne 0x457fab
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x234]
push 0x1c
pop edi
cdq
mov ecx, edi
idiv ecx
cmp eax, ebx
jbe 0x4581b8
mov esi, dword [ebp - 0x234]
mov dword [ebp - 0x204], eax
push esi
lea ecx, [ebp - 0x224]
call fcn.00457897
add esi, edi
dec dword [ebp - 0x204]
jne 0x4581a2
mov eax, dword [ebp - 0x240]
mov esi, dword [ebp - 0x244]
sub eax, esi
cdq
mov ecx, edi
idiv ecx
cmp eax, ebx
jbe 0x4581eb
mov dword [ebp - 0x204], eax
push esi
lea ecx, [ebp - 0x224]
call fcn.00457897
add esi, edi
dec dword [ebp - 0x204]
jne 0x4581d5
push 0xf
pop esi
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x17c], ebx
mov byte [ebp - 0x18c], bl
push 0x4f5da4
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0xc
call fcn.0044dacf
mov edi, 0x4f5ae4
push edi
mov byte [ebp - 4], 0xd
call fcn.004ca000
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c4]
call fcn.0044da04
mov edi, str..toc
push edi
mov dword [ebp - 0x204], eax
call fcn.004ca000
pop ecx
mov ecx, dword [ebp - 0x204]
push eax
push edi
call fcn.0044da04
mov edi, dword [ebp - 0x20c]
mov eax, dword [edi + 4]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], ebx
push 1
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0xe
call fcn.00453851
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
sub eax, ecx
push 0x1c
cdq
pop esi
idiv esi
mov edx, eax
mov dword [ebp - 0x204], edx
fild dword [ebp - 0x204]
mov dword [ebp - 0x20c], eax
test edx, edx
jns 0x4582d2
fadd qword [0x5144f0]
xor esi, esi
fstp qword [ebp - 0x24c]
mov byte [ebp - 0x200], bl
mov dword [ebp - 0x208], esi
cmp eax, ebx
jbe 0x45844d
mov dword [ebp - 0x204], ecx
push 1
push 3
lea ecx, [ebp - 0x2f4]
call fcn.00453b44
push esi
lea eax, [ebp - 0x2e4]
push 0x4f5d90
push eax
mov byte [ebp - 4], 0xf
call fcn.004510d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00451f3f
push 0x1c
call fcn.004cabf3
pop ecx
mov dword [ebp - 0x210], eax
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x458346
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00454641
jmp 0x458348
xor eax, eax
fild dword [ebp - 0x208]
push eax
sub esp, 0x10
lea ecx, [ebp - 0x154]
fstp qword [esp + 8]
mov byte [ebp - 4], 0xf
fld qword [ebp - 0x24c]
fstp qword [esp]
call fcn.00454947
push 1
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x18c]
push eax
sub esp, 0x1c
lea eax, [ebp - 0x1c4]
mov ecx, esp
mov dword [ebp - 0x208], esp
push eax
call fcn.0044d9de
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x210], esp
push dword [ebp - 0x204]
mov byte [ebp - 4], 0x11
call fcn.0044d9de
mov eax, dword [ebp - 0x214]
push dword [eax + 0x1ec]
lea ecx, [edi + 8]
push ebx
push ebx
push ebx
mov byte [ebp - 4], 0xf
call fcn.00454cb8
cmp al, bl
jne 0x4583f9
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0xe
call fcn.00450717
add dword [ebp - 0x204], 0x1c
inc esi
mov dword [ebp - 0x208], esi
cmp esi, dword [ebp - 0x20c]
jb 0x4582f4
jmp 0x45844d
mov ecx, dword [ebp - 0x214]
imul esi, esi, 0x1c
add esi, dword [ebp - 0x224]
push 0xffffffffffffffff
push ebx
push esi
add ecx, 0x110
call fcn.0044d89b
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x20c], esp
push esi
push 0x4f5d80
push eax
call fcn.004542c0
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 0x200], 1
mov byte [ebp - 4], 0xe
call fcn.00450717
push ebx
push ebx
push 0x500
push dword [ebp - 0x154]
call dword [sym.imp.USER32.dll_PostMessageA]
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x150]
call fcn.0044d2a1
push ebx
push esi
lea ecx, [ebp - 0x1c4]
call fcn.0044d2a1
push ebx
push esi
lea ecx, [ebp - 0x18c]
call fcn.0044d2a1
push ebx
push esi
lea ecx, [ebp - 0x170]
call fcn.0044d2a1
lea ecx, [ebp - 0x244]
call fcn.004568e2
lea ecx, [ebp - 0x234]
call fcn.004568e2
lea ecx, [ebp - 0x224]
call fcn.004568e2
mov al, byte [ebp - 0x200]
mov byte [ebp - 0x200], al
jmp 0x457f48