Function at 0x40e4ab
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov eax, 0x812c
lea ebp, [esp - 0x78]
call fcn.00420220
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov byte [ebp - 0x80b4], bl
mov ecx, 0x1fff
lea edi, [ebp - 0x80b3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp + 0x5c], bl
lea edi, [ebp + 0x5d]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f
mov byte [ebp - 0x24], bl
xor eax, eax
pop ecx
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp + 0x6f], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004201a8
pop ecx
mov byte [ebp + 0x77], bl
mov edi, 0x7ff8
mov al, byte [ebp + 0x6f]
inc byte [ebp + 0x6f]
cmp al, 0x14
ja 0x40ea84
call fcn.004201b2
cdq
push 5
pop ecx
idiv ecx
movzx eax, dl
cmp eax, 4
jg 0x40e82a
je 0x40e799
sub eax, ebx
je 0x40e708
dec eax
je 0x40e677
dec eax
je 0x40e5e6
dec eax
jne 0x40ea70
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e098
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e0b8
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0x19
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e5c5
cmp cl, 0x39
jbe 0x40e5ce
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e5b9
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e034
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x40
lea eax, [ebp - 0x24]
push eax
push 0x42e058
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0x34
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e656
cmp cl, 0x39
jbe 0x40e65f
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e64a
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42dff4
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e014
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0x13
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e6e7
cmp cl, 0x39
jbe 0x40e6f0
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e6db
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42dfb4
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42dfd4
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0x14
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e778
cmp cl, 0x39
jbe 0x40e781
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e76c
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e0d8
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e0f8
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0x11
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e809
cmp cl, 0x39
jbe 0x40e812
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e7fd
sub eax, 5
je 0x40e9df
dec eax
je 0x40e94e
dec eax
je 0x40e8bb
sub eax, 0x17
jne 0x40ea70
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push str.asdf
mov dword [ebp + 0x70], edi
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
lea eax, [ebp - 0x80b4]
push str.IP:
push eax
call fcn.00412073
cmp eax, ebx
pop ecx
pop ecx
je 0x40ea70
add eax, 4
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e89a
cmp cl, 0x39
jbe 0x40e8a3
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e88e
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e1a0
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x28
lea eax, [ebp - 0x24]
push eax
push 0x42e1c0
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0xa9
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e92d
cmp cl, 0x39
jbe 0x40e936
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e921
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e158
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x28
lea eax, [ebp - 0x24]
push eax
push 0x42e178
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0x22
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40e9be
cmp cl, 0x39
jbe 0x40e9c7
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40e9b2
push ebx
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x80b4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e118
mov dword [ebp + 0x70], edi
call fcn.00411df4
add esp, 0xc
push eax
call fcn.0040e103
add esp, 0x14
test al, al
je 0x40ea70
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x42e138
call fcn.00411df4
push eax
lea eax, [ebp - 0x80b4]
push eax
call fcn.00412073
add esp, 0x14
cmp eax, ebx
je 0x40ea70
add eax, 0x14
lea edx, [ebp + 0x5c]
xor esi, esi
mov cl, byte [eax]
cmp cl, 0x30
jb 0x40ea47
cmp cl, 0x39
jbe 0x40ea4c
cmp cl, 0x2e
jne 0x40ea5c
cmp cl, bl
je 0x40ea5c
cmp esi, 0xf
jg 0x40ea5c
mov byte [edx], cl
inc edx
inc eax
inc esi
jmp 0x40ea3b
lea eax, [ebp + 0x5c]
push eax
mov byte [edx], bl
call fcn.00412df3
test al, al
pop ecx
je 0x40ea70
mov byte [ebp + 0x77], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp + 0x77], bl
je 0x40e50d
cmp byte [ebp + 0x77], bl
je 0x40eb32
lea eax, [ebp + 0x5c]
push eax
call fcn.00412cfb
mov dword [esp], 0x455c88
push eax
mov dword [0x4564d0], eax
call fcn.00412cca
pop ecx
pop ecx
push 0x1f
pop ecx
xor eax, eax
mov byte [ebp - 0xb4], bl
lea edi, [ebp - 0xb3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x80
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
mov byte [0x4564d4], bl
je 0x40eb2b
mov eax, dword [esi + 0xc]
cmp dword [eax], ebx
je 0x40eb2b
xor edi, edi
cmp edi, 0x28
jge 0x40eb2b
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp - 0x30]
push eax
call fcn.0041fd50
mov eax, dword [0x4564d0]
add esp, 0xc
cmp eax, dword [ebp - 0x30]
je 0x40eb24
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], ebx
jne 0x40eaf4
jmp 0x40eb2b
mov byte [0x4564d4], 1
mov eax, dword [0x4564d0]
jmp 0x40eb4a
push 0x10
push ebx
push 0x455c88
mov dword [0x4564d0], ebx
call fcn.00420090
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret