Function at 0x10044e70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a392c
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x100c60c8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x38], 7
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], bx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x50]
call fcn.100076e0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [ebp - 0x34]
call fcn.100076e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], ebx
je 0x1004512e
cmp dword [ebp - 0x20], ebx
je 0x1004512e
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.1007c790
mov byte [ebp - 4], 2
lea esi, [edi + 0x4c]
mov dword [ebp - 0x54], esi
cmp esi, ebx
je 0x10044f1f
mov eax, dword [esi]
cmp eax, ebx
je 0x10044f1f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
mov dword [edi + 0x48], ecx
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x10044f41
mov esi, dword [esi]
cmp esi, ebx
je 0x10044f3e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x54], ebx
lea edx, [ebp - 0xe4]
push edx
call fcn.1007c8a0
mov byte [ebp - 4], 4
mov dword [ebp - 0x6c], ebx
mov edi, 7
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], bx
push ebx
push 0x100aab60
lea esi, [ebp - 0xa4]
call fcn.10011cd0
mov byte [ebp - 4], 5
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], bx
push ebx
push 0x100aab60
lea esi, [ebp - 0x88]
call fcn.10011cd0
mov byte [ebp - 4], 6
mov esi, 0xf
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
push ebx
push 0x100ab3ac
lea ecx, [ebp - 0xc0]
call fcn.10008280
mov byte [ebp - 4], 7
push 0x80400000
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x88]
push ecx
push ebx
push ebx
mov edx, dword [ebp - 0x64]
push edx
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x50]
lea edi, [ebp - 0xe4]
call fcn.1007cb70
mov byte [ebp - 4], 6
cmp dword [ebp - 0xa8], 0x10
jb 0x10045018
mov eax, dword [ebp - 0xbc]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov byte [ebp - 4], 5
mov edi, 8
cmp dword [ebp - 0x70], edi
jb 0x10045047
mov ecx, dword [ebp - 0x84]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], bx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], edi
jb 0x10045074
mov edx, dword [ebp - 0xa0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], bx
mov edi, 4
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0xe0]
cmp eax, ebx
je 0x100450ca
mov esi, eax
call fcn.10074b70
push str.HttpQueryInfoW
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100450c4
push ebx
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x6c]
push edx
push 0x20000013
push esi
call eax
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x6c], 0xc8
je 0x10045198
mov esi, dword [ebp - 0x5c]
add esi, 0x4c
mov dword [ebp - 0x54], esi
cmp esi, ebx
je 0x100450f1
mov eax, dword [esi]
cmp eax, ebx
je 0x100450f1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x48], ebx
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x10045113
mov esi, dword [esi]
cmp esi, ebx
je 0x10045110
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.1007c930
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.1007c840
mov byte [ebp - 4], bl
mov esi, 8
cmp dword [ebp - 0x1c], esi
jb 0x10045147
mov ecx, dword [ebp - 0x30]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], bx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], esi
jb 0x1004516e
mov edx, dword [ebp - 0x4c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov word [ebp - 0x4c], bx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1009176c
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], edi
cmp eax, ebx
je 0x100451d2
mov esi, eax
call fcn.10074b70
push str.HttpQueryInfoW
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100451cd
push ebx
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0x20000005
push esi
call eax
cmp dword [ebp - 0x60], ebx
jne 0x10045248
mov esi, dword [ebp - 0x5c]
add esi, 0x4c
mov dword [ebp - 0x54], esi
cmp esi, ebx
je 0x100451ec
mov eax, dword [esi]
cmp eax, ebx
je 0x100451ec
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x48], ebx
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x1004520e
mov esi, dword [esi]
cmp esi, ebx
je 0x1004520b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.1007c930
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.1007c840
mov byte [ebp - 4], bl
lea esi, [ebp - 0x34]
call fcn.10006e70
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x50]
call fcn.10006e70
jmp 0x10045178
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x10045254
lea eax, [ebp - 0x30]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x54], esi
cmp esi, 0xffffffff
jne 0x1004529b
mov eax, dword [ebp - 0x5c]
add eax, 0x4c
lea esi, [ebp - 0x54]
call fcn.100010f0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x48], ebx
mov byte [ebp - 4], 4
call fcn.10001110
jmp 0x1004520e
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x60]
push edx
mov edi, dword [ebp - 0x5c]
push edi
lea edx, [ebp - 0xe4]
mov ecx, esi
call fcn.10045350
mov byte [ebp - 0x55], al
mov dword [ebp - 4], 4
jmp 0x100452d9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x55], bl
jne 0x100452f1
lea eax, [ebp - 0x34]
push eax
call fcn.10071e40
add esp, 4
lea eax, [edi + 0x4c]
lea esi, [ebp - 0x54]
call fcn.100010f0
mov byte [ebp - 4], 0xd
mov dword [edi + 0x48], ebx
mov byte [ebp - 4], 4
call fcn.10001110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.1007c930
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.1007c840
mov byte [ebp - 4], bl
lea esi, [ebp - 0x34]
call fcn.10006e70
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x50]
call fcn.10006e70
mov al, byte [ebp - 0x55]
jmp 0x1004517a