Function at 0x449671
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b4c2
mov eax, dword fs:[0]
push eax
mov eax, 0x1890
call fcn.0045ead0
mov eax, dword [0x4b1070]
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 edi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
push 0x1800
push eax
mov dword [ebp - 0x1830], eax
mov dword [ebp - 0x183c], eax
mov dword [ebp - 0x1838], eax
mov dword [ebp - 0x182c], eax
lea eax, [ebp - 0x1828]
push eax
mov dword [ebp - 0x1834], ebx
call fcn.0045fe50
xor eax, eax
mov dword [ebp - 0x1890], 0x3c
mov dword [ebp - 0x1884], eax
add esp, 0xc
mov dword [ebp - 0x1878], eax
mov ecx, edi
lea eax, [ebp - 0x428]
mov dword [ebp - 0x185c], eax
lea eax, [ebp - 0x1428]
mov dword [ebp - 0x1880], eax
lea eax, [ebp - 0xc28]
mov dword [ebp - 0x186c], eax
lea eax, [ebp - 0x1828]
mov dword [ebp - 0x188c], eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0x1864], eax
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1874], eax
mov eax, 0x200
mov dword [ebp - 0x1870], eax
mov dword [ebp - 0x1860], eax
mov dword [ebp - 0x1888], eax
mov dword [ebp - 0x1868], eax
mov dword [ebp - 0x187c], eax
mov dword [ebp - 0x1858], eax
mov eax, dword [edi]
call dword [eax + 0xc]
mov eax, dword [0x4b62b4]
test eax, eax
jne 0x449798
call fcn.00449e0e
push str.WinHttpCrackUrl
push dword [0x4b5b98]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b62b4], eax
test eax, eax
je 0x4497a6
lea ecx, [ebp - 0x1890]
push ecx
xor ecx, ecx
push ecx
push ecx
push ebx
call eax
push dword [ebp - 0x1864]
lea ecx, [ebp - 0x28]
call fcn.004163b1
xor eax, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
push dword [ebp - 0x185c]
call fcn.0040866e
sub esp, 0xc
call fcn.0044a032
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x449b06
mov eax, dword [0x4b62ac]
test eax, eax
jne 0x449804
call fcn.00449e0e
push str.WinHttpSetStatusCallback
push dword [0x4b5b98]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b62ac], eax
test eax, eax
je 0x449811
xor ecx, ecx
push ecx
push 0xffffffffffffffff
push 0x449552
push ebx
call eax
test esi, esi
je 0x44985e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1830]
jne 0x44981a
sub ecx, edx
sar ecx, 1
je 0x44985e
xor eax, eax
mov dword [ebp - 0x189c], 3
mov dword [ebp - 0x1894], eax
mov ecx, ebx
push 0xc
lea eax, [ebp - 0x189c]
mov dword [ebp - 0x1898], esi
push eax
push 0x26
pop edx
call fcn.0044a0a4
pop ecx
pop ecx
jmp 0x44986a
push dword [ebp - 0x1834]
push ebx
call fcn.00449d6f
mov edx, dword [ebp - 0x1880]
xor eax, eax
push ecx
push dword [ebp - 0x1878]
mov ecx, ebx
mov dword [ebp - 0x1844], 4
mov dword [ebp - 0x1848], eax
mov dword [ebp - 0x184c], eax
call fcn.00449e90
mov esi, eax
mov dword [ebp - 0x1838], eax
pop ecx
pop ecx
test esi, esi
jne 0x4498ca
mov edx, dword [ebp - 0x1880]
push ecx
push dword [ebp - 0x1878]
mov ecx, ebx
call fcn.00449e90
mov esi, eax
mov dword [ebp - 0x1838], esi
pop ecx
pop ecx
test esi, esi
je 0x449b06
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
sub esp, 0x10
push eax
call fcn.00449ece
add esp, 0x14
mov dword [ebp - 0x1830], eax
test eax, eax
jne 0x449914
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
sub esp, 0x10
push eax
call fcn.00449ece
add esp, 0x14
mov dword [ebp - 0x1830], eax
test eax, eax
je 0x449b06
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor eax, eax
push eax
push eax
push eax
push eax
call esi
mov dword [edi + 0x30], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
mov dword [edi + 0x34], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
mov edx, dword [edi + 0x30]
lea esi, [edi + 0x2c]
mov ecx, dword [ebp - 0x1830]
push esi
push eax
push dword [edi + 0x34]
mov dword [edi + 0x38], eax
call fcn.004492b1
add esp, 0xc
test eax, eax
jne 0x449afc
mov eax, dword [esi]
test eax, eax
je 0x449afc
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x1834], eax
push dword [ebp - 0x1834]
mov dword [ebp - 0x182c], eax
call esi
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x182c]
mov dword [ebp - 0x1834], eax
push dword [ebp - 0x1834]
call esi
mov ecx, dword [ebp - 0x182c]
lea eax, [ebp - 0x182c]
push 4
push eax
push 0x2d
mov ecx, dword [ecx + 0x20]
pop edx
call fcn.0044a0a4
pop ecx
pop ecx
test eax, eax
je 0x449b06
mov ecx, dword [ebp - 0x182c]
call fcn.0044938c
mov ecx, dword [ebp - 0x182c]
sub esp, 0x14
mov ecx, dword [ecx + 0x20]
call fcn.00449f18
add esp, 0x14
test eax, eax
jne 0x449a15
mov ecx, dword [ebp - 0x182c]
sub esp, 0x14
mov ecx, dword [ecx + 0x20]
call fcn.00449f18
add esp, 0x14
test eax, eax
jne 0x449a15
mov eax, dword [ebp - 0x182c]
add eax, 4
jmp 0x449aff
mov eax, dword [ebp - 0x182c]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 4
push eax
call esi
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x1854], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x1850], eax
xor eax, eax
push 0xea60
push eax
lea eax, [ebp - 0x1854]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x449b06
mov ecx, dword [ebp - 0x182c]
call fcn.0044938c
mov ecx, dword [ebp - 0x182c]
xor eax, eax
xor edx, edx
push edx
cmp dword [ecx + 0x30], edx
mov dword [ebp - 0x1840], edx
mov edx, 0x20000013
sete al
mov dword [ebp - 0x183c], eax
lea eax, [ebp - 0x1844]
push eax
lea eax, [ebp - 0x1840]
push eax
push ecx
mov ecx, dword [ecx + 0x20]
call fcn.00449f52
add esp, 0x10
cmp dword [ebp - 0x1840], 0xc8
je 0x449ac1
xor eax, eax
mov dword [ebp - 0x183c], eax
mov eax, dword [ebp - 0x182c]
add eax, 4
push eax
call esi
jmp 0x449b06
lea eax, [ebp - 0x184c]
mov edx, 0x20000005
push eax
lea eax, [ebp - 0x1844]
push eax
lea eax, [ebp - 0x1848]
push eax
push ecx
mov ecx, dword [ebp - 0x182c]
mov ecx, dword [ecx + 0x20]
call fcn.00449f52
add esp, 0x10
test eax, eax
je 0x449ab3
mov eax, dword [ebp - 0x1848]
mov dword [edi + 0x24], eax
jmp 0x449ab3
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [edi + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x1838]
push esi
mov dword [edi + 8], eax
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x182c]
test ecx, ecx
je 0x449b3a
call fcn.00449285
xor eax, eax
mov dword [ebp - 0x182c], eax
lea ecx, [ebp - 0x28]
call fcn.0040e4a0
mov eax, dword [ebp - 0x183c]
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.0045d8f4
leave
ret 8