Function at 0x407a80
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a4f1
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x44f008]
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 - 0xe4], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x24]
push esi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xf4], eax
mov dword [0x4505b0], 0x4013e0
mov dword [0x4505a4], 0x401410
mov dword [0x4505cc], 0x4013e0
call fcn.004077f0
mov byte [ebp - 0xd9], al
test al, al
je 0x407df3
mov ecx, dword [esi + 4]
mov eax, 0x88888889
sub ecx, dword [esi]
imul ecx
mov dword [ebp - 0x5c], 0
add edx, ecx
mov dword [ebp - 0x58], 0
sar edx, 5
mov ebx, edx
mov dword [ebp - 0x54], 0
shr ebx, 0x1f
add ebx, edx
je 0x407bc0
cmp ebx, 0xa3d70a
ja 0x407e11
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0040b8b0
mov edi, dword [ebp - 0x5c]
test ebx, ebx
je 0x407bbd
lea esi, [edi + 0x174]
push 0x190
push 0
push edi
call fcn.00425140
add esp, 0xc
mov dword [esi - 8], 0
add edi, 0x190
mov dword [esi - 4], 0
mov dword [esi], 0
lea esi, [esi + 0x190]
mov dword [esi - 0x184], 0
mov dword [esi - 0x180], 0
mov dword [esi - 0x17c], 0
sub ebx, 1
jne 0x407b64
mov esi, dword [ebp - 0xe0]
mov dword [ebp - 0x58], edi
xor edi, edi
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
mov ecx, dword [esi + 4]
mov eax, 0x88888889
sub ecx, dword [esi]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x407c3d
mov al, byte [esi + 0xc]
inc edi
push edi
mov byte [ebp - 0x60], al
push str.Generating_requests_for_timespan__u._n
push dword [ebp - 0x60]
call fcn.00402e60
mov ecx, dword [ebp - 0xe0]
add esp, 0xc
add ecx, dword [ebp - 0x5c]
mov eax, dword [esi]
add eax, ebx
push dword [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0xe4]
push eax
push esi
call fcn.00407e80
add dword [ebp - 0xe0], 0x190
add ebx, 0x3c
mov byte [ebp - 0xd9], al
test al, al
jne 0x407bd1
push 0x60
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.00425140
add esp, 0xc
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.00401f40
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x60], 0x40
push eax
push 5
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExA]
test eax, eax
je 0x407cb9
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407ca0
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040bb90
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
sub esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.0040acf0
call fcn.0041d270
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.0040acf0
mov ebx, dword [ebp - 0xec]
lea ecx, [ebp - 0xd8]
push ecx
push esi
lea ecx, [ebp - 0x78]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0x10
jb 0x407d10
mov eax, dword [ebp - 0x78]
push eax
push 0x443394
call fcn.00402de0
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0xf0]
lea eax, [eax + eax*4]
add eax, eax
mov dword [ecx], eax
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 8]
call eax
mov eax, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x64]
fstp qword [eax]
cmp edx, 0x10
jb 0x407d77
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407d6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e16
push edx
push ecx
call fcn.00423c9a
add esp, 8
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.00402610
mov edx, dword [ebp - 0xb4]
cmp edx, 0x10
jb 0x407dca
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407dc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e16
push edx
push ecx
call fcn.00423c9a
add esp, 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
call fcn.0040b810
mov al, byte [ebp - 0xd9]
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.00423c89
mov esp, ebp
pop ebp
ret 0x20
call fcn.0040df00
call fcn.0042aea7
int3