Function at 0x401400
Capabilities:
Create http request
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x412604], 0
push esi
push edi
mov esi, eax
mov edi, 0x410f30
jne 0x401425
call fcn.00401290
test al, al
jne 0x401425
mov dword [0x412604], edi
mov dword [ebp - 4], 0x10
test esi, esi
js 0x401456
cmp esi, 5
jl 0x40143d
cmp dword [0x412604], edi
je 0x401456
lea eax, [ebp - 4]
push eax
push 0x412704
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x40145e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004011d0
imul esi, esi, 0x1a4
add esi, dword [0x412604]
mov ebx, esi
cmp byte [ebx], 0
mov dword [0x411764], ebx
je 0x40173c
push 0xfa
push 0
push 0x412408
call fcn.004063c0
push 0xfa
push 0
push 0x412508
call fcn.004063c0
push 0xfa
push 0
push 0x412608
call fcn.004063c0
mov ecx, dword [0x40ea90]
mov edx, dword [0x40ea94]
mov eax, ebx
mov dword [0x412408], ecx
add esp, 0x24
mov dword [0x41240c], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4014d3
mov edi, 0x412408
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4014e2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebx + 0x32]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401500
mov edi, 0x412408
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401511
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x412714
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401530
mov edi, 0x412408
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401541
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x412408
rep movsb byte es:[edi], byte [esi]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401560
mov ecx, dword [0x40ea98]
mov edx, dword [0x40ea9c]
mov dword [eax], ecx
mov ecx, dword [0x40eaa0]
mov dword [eax + 4], edx
mov dx, word [0x40eaa4]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [ebx + 0x64]
mov edx, 0x412508
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x401597
mov edi, 0x412508
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4015a7
mov ax, word [0x40eaa8]
mov word [edi], ax
lea eax, [ebx + 0xc8]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4015c0
mov edi, 0x412508
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4015d1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x412508
rep movsb byte es:[edi], byte [esi]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4015f0
mov ecx, dword [0x40eaac]
mov edx, dword [0x40eab0]
mov dword [eax], ecx
mov ecx, dword [0x40eab4]
mov dword [eax + 4], edx
mov edx, dword [0x40eab8]
mov dword [eax + 8], ecx
mov ecx, dword [0x40eabc]
mov dword [eax + 0xc], edx
mov dl, byte [0x40eac0]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x40ea94]
mov byte [eax + 0x14], dl
mov eax, dword [0x40ea90]
mov dword [0x412608], eax
mov eax, ebx
mov dword [0x41260c], ecx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401647
mov edi, 0x412608
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401658
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebx + 0x96]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401676
mov edi, 0x412608
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401687
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x412608
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4016a3
mov edx, dword [0x40eac4]
mov ecx, dword [0x40eac8]
mov dword [eax], edx
mov edx, dword [0x40eacc]
mov dword [eax + 4], ecx
mov ecx, dword [0x40ead0]
mov dword [eax + 8], edx
mov dx, word [0x40ead4]
mov dword [eax + 0xc], ecx
mov cl, byte [0x40ead6]
mov word [eax + 0x10], dx
mov byte [eax + 0x12], cl
mov eax, 0x412714
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4016f0
mov edi, 0x412608
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401701
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [0x412738], 0
rep movsb byte es:[edi], byte [esi]
jne 0x401745
push 0
push 0
push 0
push 0
push 0x40ead8
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x412738], eax
test eax, eax
jne 0x401745
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0xb00000
call fcn.0040371f
add esp, 4
pop ebx
test eax, eax
pop edi
mov dword [0x41273c], eax
setne al
pop esi
mov esp, ebp
pop ebp
ret