Function at 0x4b9610
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Resolve function by parsing pe exports
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x576b9d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2544
call fcn.0053b8f0
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0x2540], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8910]
xor eax, esp
push eax
lea eax, [esp + 0x2558]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], esi
test esi, esi
je 0x4b96a2
lea ebx, [esi + 0xc]
mov dword [esp + 0x1c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], 0
test ecx, ecx
je 0x4b9695
mov edx, dword [ecx]
push eax
push 1
push 0
push dword [esi + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4b9725
mov eax, dword [0x5e543c]
test al, 1
jne 0x4b971d
or eax, 1
mov dword [0x5e5440], 0
mov dword [0x5e543c], eax
xor eax, eax
push 0x57cab0
mov dword [0x5e5444], 0
mov dword [0x5e5448], 0
mov dword [0x5e5460], 7
mov dword [0x5e545c], 0
mov word [0x5e544c], ax
mov dword [0x5e5478], 0xf
mov dword [0x5e5474], eax
mov byte [0x5e5464], al
mov dword [0x5e547c], eax
mov dword [0x5e5480], eax
mov dword [0x5e5484], eax
call fcn.0053634f
add esp, 4
mov dword [esp + 0x1c], 0x5e5440
lea ecx, [esp + 0x9c]
call fcn.004b9260
push 4
push dword [0x5aa608]
mov eax, 0x50
mov dword [esp + 0x24f4], 2
mov word [esp + 0x24f0], ax
lea eax, [esp + 0xa4]
push 0x21
push eax
mov dword [esp + 0x2500], 4
call fcn.004bc7d0
add esp, 0x10
cmp dword [edi + 0x14], 8
jb 0x4b9776
mov edi, dword [edi]
lea ecx, [esp + 0x9c]
call fcn.004b9260
push edi
lea ecx, [esp + 0xa0]
call fcn.004b8cf0
mov edi, eax
test esi, esi
je 0x4b97bb
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], 1
test ecx, ecx
je 0x4b97b3
mov edx, dword [ecx]
push eax
push edi
push 1
push dword [esi + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test edi, edi
je 0x4ba2d4
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], eax
mov word [esp + 0x84], ax
cmp word [esp + 0xde], ax
jne 0x4b97ed
xor ecx, ecx
jmp 0x4b9806
lea ecx, [esp + 0xde]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b97f7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xe2]
push eax
lea ecx, [esp + 0x8c]
call fcn.00408679
mov dword [esp + 0x2560], 0
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp word [esp + 0x4e4], ax
jne 0x4b984b
xor ecx, ecx
jmp 0x4b9864
lea ecx, [esp + 0x4e4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b9855
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x4e8]
push eax
lea ecx, [esp + 0x5c]
call fcn.00408679
mov byte [esp + 0x2560], 1
cmp word [esp + 0x14e6], 0
jne 0x4b988d
xor ecx, ecx
jmp 0x4b98a6
lea ecx, [esp + 0x14e6]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b9897
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x14ea]
push eax
lea ecx, [esp + 0x5c]
call fcn.00409102
movzx eax, word [esp + 0x24e8]
mov edx, 0x800100
mov dword [esp + 0x28], eax
mov ecx, 0x100
xor eax, eax
cmp dword [esp + 0x24ec], 3
push 0
push 0
sete al
push 0
test eax, eax
push 0
cmovne ecx, edx
push 0x5aa69c
mov dword [esp + 0x34], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [esp + 0x50], edi
xor eax, eax
mov byte [esp + 0x2560], 2
test edi, edi
setne al
mov dword [esp + 0x14], eax
test esi, esi
je 0x4b9941
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], 2
test ecx, ecx
je 0x4b9935
mov edx, dword [ecx]
push eax
push dword [esp + 0x18]
push 2
push dword [esi + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b999a
test edi, edi
je 0x4b9950
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x68], 8
jb 0x4b9963
push dword [esp + 0x54]
call fcn.005363a4
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
cmp dword [esp + 0x98], 8
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x4b9993
push dword [esp + 0x84]
call fcn.005363a4
add esp, 4
xor eax, eax
jmp 0x4ba2d4
cmp dword [esp + 0x98], 8
lea eax, [esp + 0x84]
push 0
push dword [esp + 0x2c]
cmovae eax, dword [esp + 0x8c]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
mov dword [esp + 0x48], ebx
xor eax, eax
mov byte [esp + 0x2560], 3
test ebx, ebx
setne al
mov dword [esp + 0x14], eax
test esi, esi
je 0x4b9a0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], 3
test ecx, ecx
je 0x4b9a01
mov edx, dword [ecx]
push eax
push dword [esp + 0x18]
push 3
push dword [esi + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9a2e
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x4b9a1e
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2560], 4
mov eax, dword [eax + 0x3c]
sub eax, 0
je 0x4b9a78
dec eax
je 0x4b9a6f
push 3
dec eax
jne 0x4b9a7a
push 0x5aa6c4
jmp 0x4b9a7f
push 4
push str.POST
jmp 0x4b9a7f
push 3
push 0x5aa6b0
call fcn.00408679
push dword [esp + 0x20]
cmp dword [esp + 0x6c], 8
lea ecx, [esp + 0x58]
push 0
cmovae ecx, dword [esp + 0x5c]
lea eax, [esp + 0x74]
cmp dword [esp + 0x88], 8
push 0
cmovae eax, dword [esp + 0x78]
push str.HTTP_1.1
push ecx
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [esp + 0x4c], esi
xor eax, eax
mov byte [esp + 0x2560], 5
test esi, esi
setne al
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
je 0x4b9af3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x18]
push 4
call fcn.004b95a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9b4f
test esi, esi
je 0x4b9b02
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9b18
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9b3f
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x4b9bfc
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x4b9b68
mov eax, dword [eax]
push 0x20000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
je 0x4b9b9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x18]
push 5
call fcn.004b95a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9bf8
test esi, esi
je 0x4b9bab
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9bc1
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9be8
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp dword [eax + 0x3c], 1
mov dword [esp + 0x20], ecx
jne 0x4b9c0f
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x20], ecx
push 0
push ecx
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
je 0x4b9c46
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x18]
push 6
call fcn.004b95a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9ca2
test esi, esi
je 0x4b9c55
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9c6b
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9c92
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x3c], 1
jne 0x4b9d5f
cmp dword [eax + 0x34], 0
je 0x4b9d5f
add eax, 0x24
mov dword [esp + 0x28], 0
cmp dword [eax + 0x14], 0x10
jb 0x4b9ccd
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
je 0x4b9d03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x18]
push 7
call fcn.004b95a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9d5f
test esi, esi
je 0x4b9d12
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9d28
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9d4f
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
je 0x4b9d8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x18]
push 8
call fcn.004b95a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9de9
test esi, esi
je 0x4b9d9c
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9db2
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9dd9
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
add eax, 4
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], eax
push ecx
push eax
push 0
push 0x20000005
push esi
mov dword [eax], 0
mov dword [esp + 0x58], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
je 0x4b9e48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x18]
push 9
call fcn.004b95a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9ea4
test esi, esi
je 0x4b9e57
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9e6d
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9e94
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
xor eax, eax
push 0x3e
push eax
mov word [esp + 0x2514], ax
lea eax, [esp + 0x2516]
push eax
call fcn.00538910
add esp, 0xc
mov dword [esp + 0x3c], 0x40
lea eax, [esp + 0x3c]
push 0
push eax
lea eax, [esp + 0x2514]
push eax
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
je 0x4b9f08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x18]
push 9
call fcn.004b95a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b9f64
test esi, esi
je 0x4b9f17
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9f2d
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9f54
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
lea eax, [esp + 0x250c]
push eax
call fcn.00536686
mov ecx, dword [esp + 0x20]
add esp, 4
cmp dword [ecx], 0
mov dword [ecx + 8], eax
je 0x4ba01f
test esi, esi
je 0x4b9f8f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4b9fa5
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4b9fcc
push ebx
call esi
test edi, edi
je 0x4b9fd3
push edi
call esi
cmp dword [esp + 0x68], 8
jb 0x4b9fe6
push dword [esp + 0x54]
call fcn.005363a4
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
cmp dword [esp + 0x98], 8
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x4ba016
push dword [esp + 0x84]
call fcn.005363a4
add esp, 4
mov eax, dword [esp + 0x14]
jmp 0x4ba2d4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4ba031
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
push dword [edx]
call dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x2560], 6
lea esp, [esp]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ba09a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
push 9
call fcn.004b95a0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
je 0x4ba190
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp ecx, edx
sbb ecx, ecx
neg ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4ba0d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
push 0xb
call fcn.004b95a0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4ba190
lea eax, [esp + 0x27]
mov byte [esp + 0x27], 0
push eax
lea eax, [edx + 1]
push eax
lea ecx, [esp + 0x38]
call fcn.00459af5
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub eax, ecx
je 0x4ba190
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push dword [esp + 0x30]
push ecx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4ba149
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
push 0xc
call fcn.004b95a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ba190
test ecx, ecx
je 0x4ba168
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
push dword [edx]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push dword [esp + 0x3c]
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add ecx, eax
mov dword [esp + 0x14], ecx
cmp dword [edx], ecx
je 0x4ba188
test eax, eax
jne 0x4ba060
jmp 0x4ba190
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
push dword [eax]
mov edx, dword [ecx]
setne al
movzx eax, al
push eax
call dword [edx + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
push 0xd
call fcn.004b95a0
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x30]
jne 0x4ba231
test eax, eax
je 0x4ba1d9
push eax
call fcn.005363a4
add esp, 4
test esi, esi
je 0x4ba1e4
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4ba1fa
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4ba221
push ebx
call esi
test edi, edi
je 0x4b9950
push edi
call esi
jmp 0x4b9950
test eax, eax
je 0x4ba23e
push eax
call fcn.005363a4
add esp, 4
test esi, esi
je 0x4ba249
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x80], 8
jb 0x4ba25f
push dword [esp + 0x6c]
call fcn.005363a4
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
test ebx, ebx
je 0x4ba286
push ebx
call esi
test edi, edi
je 0x4ba28d
push edi
call esi
cmp dword [esp + 0x68], 8
jb 0x4ba2a0
push dword [esp + 0x54]
call fcn.005363a4
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
cmp dword [esp + 0x98], 8
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x4ba2d0
push dword [esp + 0x84]
call fcn.005363a4
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2558]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2540]
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret