Function at 0x4271e0
Capabilities:
Check http status code
Delete file
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f529
mov eax, dword fs:[0]
push eax
mov eax, 0x24ec
call fcn.00459f60
mov eax, dword [0x4ac084]
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 ebx, ecx
mov dword [ebp - 0x2490], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24b0], esi
mov dword [ebp - fcn.0044bb70], vtable.CAutoProxyInfo.0
lea eax, [esi + 0x448]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2480]
call fcn.00403ac0
lea edx, [esi + 0x144a]
mov byte [ebp - 4], 1
test edx, edx
jne 0x427258
xor ecx, ecx
jmp 0x42726f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427260
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2480]
call fcn.00409770
xor esi, esi
mov dword [ebp - 0x2484], 0
mov dword [ebp - 0x2488], esi
mov byte [ebp - 4], 2
cmp dword [ebx], 0
je 0x4272d3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebx]
lea ecx, [ebp - 0x24e0]
push dword [ebx + 0x14]
push str.Restatrning_of_downloading_url__attempt_:__s___u
push 2
push 3
push 0xbb
push str.CDownloader::PerformOnline
push str.Downloader.cpp
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x18
inc dword [ebx]
push 0
push 0
push 0
push 1
push dword [0x4b064c]
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0x2494], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x427e4d
mov ecx, dword [ebp - 0x24b0]
push 0
movzx eax, word [ecx + 0x244c]
push eax
lea eax, [ecx + 0x42]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2498], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x427e2c
mov edx, dword [ebp - 0x24b0]
xor ecx, ecx
cmp dword [edx + 0x2450], 3
mov edx, 0x800000
cmove ecx, edx
push ecx
push 0
push 0
push 0
push dword [ebp - 0x2480]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
mov dword [ebp - 0x24c0], ebx
mov byte [ebp - 4], 5
test ebx, ebx
je 0x427dfb
mov ecx, dword [ebp - 0x24b0]
call fcn.00428db0
inc eax
mov dword [ebp - 0x249c], eax
mov dword [ebp - 0x24a4], eax
call fcn.00403450
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x427913
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x248c], edi
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x249c]
test edx, edx
js 0x427d55
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x4273dc
push edx
lea ecx, [ebp - 0x248c]
call fcn.00403880
mov edi, dword [ebp - 0x248c]
push ecx
mov ecx, dword [ebp - 0x24b0]
lea eax, [ebp - 0x24a4]
push eax
push edi
call fcn.00428ab0
mov eax, dword [ebp - 0x24a4]
cmp eax, 0xffffffff
jne 0x427407
push dword [edi - 8]
push edi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x427d55
cmp eax, dword [edi - 8]
jg 0x427d55
push edi
push dword [ebp - 0x2494]
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x24d4]
push ebx
call fcn.0044bb70
cmp dword [ebp - 0x2484], 0
je 0x4274d8
call fcn.00403450
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x427913
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x249c], eax
push dword [ebp - 0x2484]
lea eax, [ebp - 0x249c]
mov byte [ebp - 4], 7
push str.Range:_bytes_u_
push eax
call fcn.004040a0
mov edi, dword [ebp - 0x249c]
add esp, 0xc
push 0x10000000
push dword [edi - 0xc]
push edi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4274b6
mov dword [ebp - 0x2484], eax
test esi, esi
je 0x4274ae
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x2488], esi
mov byte [ebp - 4], 6
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4274d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x248c]
cmp dword [ebp + 0x10], 0
je 0x4274f6
push 0x1388
push 0x1388
push 0x1388
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov dword [ebp - 0x24bc], 0
mov dword [ebp - 0x24a0], 4
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x42756b
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x42756b
push 0
lea eax, [ebp - 0x24a0]
push eax
lea eax, [ebp - 0x24bc]
push eax
push 0
push 0x20000013
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x42756b
mov eax, dword [ebp - 0x24bc]
cmp eax, 0xc8
je 0x4275c3
cmp eax, 0xce
je 0x4275c3
cmp eax, 0x12e
je 0x4275ca
mov ecx, dword [ebp - 0x2490]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x427589
cmp dword [ecx], 6
jne 0x427589
push dword [ecx + 0x18]
mov eax, dword [edx]
mov ecx, edx
push 3
call dword [eax + 0xc]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4275a5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x2498]
call ebx
push dword [ebp - 0x2494]
call ebx
jmp 0x427e63
cmp eax, 0x12e
jne 0x4275d6
mov edi, dword [ebp + 0xc]
cmp edi, 6
jl 0x42791d
cmp eax, 0xc8
jne 0x4275fa
mov dword [ebp - 0x2484], 0
test esi, esi
je 0x4275f2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x2488], esi
call fcn.00403450
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x427913
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x24b4], edi
push 0
lea eax, [ebp - 0x24a0]
mov byte [ebp - 4], 9
push eax
push 0
push 0
push 5
push ebx
mov dword [ebp - 0x24a0], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x427d5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x427d5f
mov edx, dword [ebp - 0x24a0]
shr edx, 1
js 0x427d55
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x42768a
push edx
lea ecx, [ebp - 0x24b4]
call fcn.00403880
mov edi, dword [ebp - 0x24b4]
push 0
lea eax, [ebp - 0x24a0]
push eax
push edi
push 0
push 5
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x427d5f
mov eax, dword [ebp - 0x24a0]
shr eax, 1
cmp eax, 0xffffffff
jne 0x4276c0
push dword [edi - 8]
push edi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x427d55
cmp eax, dword [edi - 8]
jg 0x427d55
xor ecx, ecx
mov dword [edi - 0xc], eax
push 0xa
push ecx
push edi
mov word [edi + eax*2], cx
call fcn.00462d28
mov edx, eax
add esp, 0xc
mov eax, dword [ebp - 0x2484]
add edx, eax
mov dword [ebp - 0x24ac], edx
test eax, eax
jne 0x427758
mov ecx, dword [ebp - 0x2490]
cmp dword [ecx + 0xc], eax
jne 0x427747
mov eax, dword [ecx + 0x20]
mov edx, dword [eax]
test edx, edx
mov dword [ebp - 0x249c], edx
mov edx, dword [ebp - 0x24ac]
jne 0x42773b
mov dword [eax], edx
lea eax, [edx + 1]
push eax
call fcn.00459284
mov ebx, dword [ebp - 0x2490]
add esp, 4
mov edx, dword [ebp - 0x24ac]
mov ecx, dword [ebx + 0x1c]
mov dword [ecx], eax
jmp 0x427749
cmp dword [ebp - 0x249c], edx
jb 0x427af3
mov ebx, ecx
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x42775e
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x42775e
mov ebx, dword [ebp - 0x2490]
mov dword [ebp - 0x24b8], 0
mov dword [ebp - 0x24d0], 0
mov dword [ebp - 0x24cc], 0
mov dword [ebp - 0x24c8], 0
mov dword [ebp - 0x24c4], 0
push 0xfc00
lea ecx, [ebp - 0x24d0]
mov byte [ebp - 4], 0xa
call fcn.004289f0
test al, al
je 0x4277b7
call fcn.00404570
mov dword [ebp - 0x24cc], 0xfc00
cmp dword [ebx + 4], 0
jne 0x42785e
mov edx, dword [ebp - 0x2484]
nop word [eax + eax]
cmp edx, dword [ebp - 0x24ac]
jae 0x42785e
mov edi, dword [ebp - 0x24d0]
lea eax, [ebp - 0x24b8]
mov esi, dword [ebp - 0x24c0]
push eax
push dword [ebp - 0x24cc]
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x42786a
mov eax, dword [ebp - 0x24b8]
test eax, eax
je 0x42786a
push dword [ebp - 0x2484]
lea ecx, [ebp - 0x2488]
push ecx
push eax
push edi
mov ecx, ebx
call fcn.004280a0
mov dword [ebp - 0x24a4], eax
test eax, eax
jne 0x427b93
mov edx, dword [ebp - 0x2484]
add edx, dword [ebp - 0x24b8]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x2484], edx
test ecx, ecx
je 0x427854
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov edx, dword [ebp - 0x2484]
cmp dword [ebx + 4], 0
je 0x4277d0
mov esi, dword [ebp - 0x24c0]
mov edi, dword [ebp - 0x24d0]
test edi, edi
je 0x427877
push edi
call fcn.00461787
add esp, 4
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp - 0x24b4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42789b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x248c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4278bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x2498]
call esi
mov byte [ebp - 4], 2
push dword [ebp - 0x2494]
call esi
cmp dword [ebx + 4], 0
mov edi, dword [ebp - 0x2484]
jne 0x427c87
mov eax, dword [ebp - 0x24ac]
test eax, eax
je 0x427c87
cmp edi, eax
je 0x427c87
cmp dword [ebx], 6
jge 0x427c87
mov esi, dword [ebp - 0x2488]
jmp 0x427292
push 0x80004005
call fcn.004039a0
push edi
push str.HTTP_status_code_302_returned__RedirectCount___i
push 1
push 3
push 0xf4
push str.CDownloader::PerformOnline
push str.Downloader.cpp
lea ecx, [ebp - 0x24ec]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x14
lea ecx, [ebp - 0x24a8]
call fcn.00403180
lea eax, [ebp - 0x24a8]
mov byte [ebp - 4], 8
push eax
push ebx
call fcn.00427090
test eax, eax
jns 0x4279d2
mov ecx, dword [ebp - 0x2490]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x427988
cmp dword [ecx], 6
jne 0x427988
push dword [ecx + 0x18]
mov eax, dword [edx]
mov ecx, edx
push 3
call dword [eax + 0xc]
lea ecx, [ebp - 0x24a8]
call fcn.004031b0
lea ecx, [ebp - 0x248c]
call fcn.004031b0
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x2498]
call ebx
push dword [ebp - 0x2494]
call ebx
test esi, esi
je 0x4279c2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2480]
call fcn.004031b0
jmp 0x427e90
lea ecx, [ebp - 0x247c]
call fcn.00429730
lea ecx, [ebp - 0x247c]
call fcn.004296d0
mov esi, dword [ebp - 0x24a8]
push esi
call fcn.004290e0
test eax, eax
jne 0x427a60
mov ecx, dword [ebp - 0x2490]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x427a11
push dword [ecx + 0x18]
mov eax, dword [edx]
mov ecx, edx
push 2
call dword [eax + 0xc]
lea ecx, [ebp - 0x24a8]
call fcn.004031b0
lea ecx, [ebp - 0x248c]
call fcn.004031b0
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x2498]
call ebx
push dword [ebp - 0x2494]
call ebx
lea ecx, [ebp - 0x2488]
call fcn.004086e0
lea ecx, [ebp - 0x2480]
call fcn.004031b0
mov eax, 2
jmp 0x427e95
push esi
push str.Redirecting_to:__s
push 1
push 3
push 0xff
push str.CDownloader::PerformOnline
push str.Downloader.cpp
lea ecx, [ebp - 0x24f8]
call fcn.00457220
push eax
call fcn.004573f0
mov ecx, dword [ebp - 0x2490]
lea eax, [edi + 1]
add esp, 0x14
push 0
push eax
lea eax, [ebp - 0x247c]
push eax
call fcn.004271e0
lea ecx, [ebp - 0x24a8]
mov esi, eax
call fcn.004031b0
lea ecx, [ebp - 0x248c]
call fcn.004031b0
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x2498]
call ebx
push dword [ebp - 0x2494]
call ebx
lea ecx, [ebp - 0x2488]
call fcn.004086e0
lea ecx, [ebp - 0x2480]
call fcn.004031b0
mov eax, esi
jmp 0x427e95
mov dword [eax], edx
push dword [ecx + 0x18]
push 5
call fcn.00428420
mov dword [ebp - 0x249c], eax
add edi, 0xfffffff0
mov byte [ebp - 4], 6
or ecx, 0xffffffff
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x427b21
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov edx, dword [ebp - 0x248c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427b45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x2498]
call ebx
push dword [ebp - 0x2494]
call ebx
test esi, esi
je 0x427b69
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2480]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x427b88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x249c]
jmp 0x427e95
mov edi, dword [ebp - 0x2488]
test edi, edi
je 0x427bac
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x2488], edi
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x18]
test ecx, ecx
je 0x427bdd
cmp dword [ebx], 6
mov ebx, dword [ebp - 0x24a4]
je 0x427bd4
cmp ebx, 3
je 0x427be3
cmp ebx, 4
je 0x427be3
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 0xc]
jmp 0x427be3
mov ebx, dword [ebp - 0x24a4]
mov eax, dword [ebp - 0x24d0]
test eax, eax
je 0x427bf6
push eax
call fcn.00461787
add esp, 4
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x24b4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427c18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x248c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427c3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x2498]
call esi
push dword [ebp - 0x2494]
call esi
test edi, edi
je 0x427c5e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2480]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427c80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
jmp 0x427e95
mov esi, dword [ebp - 0x2488]
test esi, esi
je 0x427ca0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x2488], esi
mov eax, dword [ebp - 0x24ac]
test eax, eax
je 0x427d10
cmp edi, eax
je 0x427d10
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx + 4]
mov ecx, 4
push dword [ebx + 0x18]
test eax, eax
mov eax, 1
cmovne ecx, eax
push ecx
mov ecx, ebx
call fcn.00428420
mov ecx, dword [ebp - 0x2488]
mov esi, eax
test ecx, ecx
je 0x427ce7
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2480]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427d09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
jmp 0x427e95
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x427d21
push dword [ebx + 0x18]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
test esi, esi
je 0x427d2c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2480]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427d4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x427e95
push 0x80070057
call fcn.004039a0
mov ecx, dword [ebp - 0x2490]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x427d7d
cmp dword [ecx], 6
jne 0x427d7d
push dword [ecx + 0x18]
mov eax, dword [edx]
mov ecx, edx
push 3
call dword [eax + 0xc]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x427d99
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov edx, dword [ebp - 0x248c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427dbd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push dword [ebp - 0x2498]
call ebx
push dword [ebp - 0x2494]
call ebx
test esi, esi
je 0x427de1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2480]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jmp 0x427e86
mov ecx, dword [ebp - 0x2490]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x427e19
cmp dword [ecx], 6
jne 0x427e19
push dword [ecx + 0x18]
mov eax, dword [edx]
mov ecx, edx
push 3
call dword [eax + 0xc]
push dword [ebp - 0x2498]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call ebx
push edi
call ebx
jmp 0x427e63
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x427e42
cmp dword [ebx], 6
jne 0x427e42
push dword [ebx + 0x18]
mov eax, dword [ecx]
push 3
call dword [eax + 0xc]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call ebx
jmp 0x427e63
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x427e63
cmp dword [ebx], 6
jne 0x427e63
push dword [ebx + 0x18]
mov eax, dword [ecx]
push 3
call dword [eax + 0xc]
test esi, esi
je 0x427e6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2480]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427e90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 3
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.00458d41
mov esp, ebp
pop ebp
ret 0xc