Function at 0x10013a07
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], edi
mov dword [ebp + 8], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], 0x50
mov dword [ebp - 4], 0x840cff00
cmp ebx, edi
je 0x10013d93
push 0xc
pop esi
call fcn.100118dc
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10013d93
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
cmp dword [ebx + 0x20], edi
je 0x10013a96
mov esi, dword [ebx + 0x1c]
add esi, esi
call fcn.100118dc
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x10013d93
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
call sub.ntdll.dll_
add esp, 0xc
push dword [ebx + 0x1c]
push esi
push dword [ebx + 0x28]
call fcn.10018dd6
mov eax, dword [ebx + 8]
push edi
push edi
push edi
push edi
push eax
call dword [0x10020370]
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x10013d87
cmp dword [ebx + 0x2c], edi
je 0x10013ac2
mov dword [ebp - 0xc], 0x1bb
mov dword [ebp - 4], 0x848cff00
push edi
push edi
push 3
push edi
push edi
push dword [ebp - 0xc]
push dword [ebx]
push eax
call dword [0x10020388]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x10013d68
push 8
pop eax
call fcn.1001d652
mov esi, esp
cmp esi, edi
je 0x10013b00
push 0x8f
push 4
mov eax, esi
mov edx, 0x10026634
call fcn.10010e0c
push 0xc
pop eax
call fcn.1001d652
mov eax, esp
cmp eax, edi
je 0x10013b1f
push 0x92
push 8
mov edx, 0x100262cc
call fcn.10010e0c
push edi
push dword [ebp - 4]
push edi
push edi
push eax
push dword [ebx + 4]
push esi
push dword [ebp - 0xc]
call dword [0x10020380]
mov dword [ebp + 8], eax
cmp eax, edi
je 0x10013d68
mov esi, dword [0x10020378]
cmp dword [ebx + 0x10], edi
jne 0x10013b7d
push 0x34
pop eax
call fcn.1001d652
mov eax, esp
cmp eax, edi
je 0x10013b68
push 0x80
push 0x33
mov edx, 0x10026194
call fcn.10010e0c
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013d68
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x10013b99
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013d68
cmp dword [ebx + 0x10], edi
je 0x10013bf6
cmp dword [ebx + 0x14], edi
je 0x10013bf6
push 0x50
pop eax
call fcn.1001d740
mov eax, esp
cmp eax, edi
je 0x10013bc2
push 0x90
push 0x4d
mov edx, 0x100261c8
call fcn.10010e0c
push dword [ebx + 0x14]
push eax
lea eax, [ebp - 0x12c]
push 0x104
push eax
call dword [0x10020470]
add esp, 0x10
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013d68
cmp dword [ebx + 0x2c], edi
je 0x10013c41
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push 0x1f
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 4
call dword [sym.imp.WININET.dll_]
test eax, eax
je 0x10013d68
push dword [ebp - 0x18]
or dword [ebp - 4], 0x7380
lea eax, [ebp - 4]
push eax
push 0x1f
push dword [ebp + 8]
call dword [0x10020368]
test eax, eax
je 0x10013d68
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x10013c4b
mov eax, dword [ebx + 0x18]
push dword [ebx + 0x1c]
mov edi, dword [ebp + 8]
push eax
call fcn.1001398b
test eax, eax
je 0x10013d66
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push edi
call dword [0x10020384]
test eax, eax
je 0x10013d66
cmp dword [ebp - 0x1c], 0xc8
jne 0x10013d66
mov esi, 0x1000
call fcn.100118dc
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
test eax, eax
je 0x10013d66
call fcn.100118dc
mov dword [ebp - 4], eax
test eax, eax
je 0x10013d66
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push edi
call dword [0x1002038c]
test eax, eax
je 0x10013d23
cmp dword [ebp - 0x10], 0
mov edi, dword [ebp - 8]
je 0x10013d26
push dword [ebp - 0x10]
mov eax, dword [edi + 4]
add eax, dword [edi]
push dword [ebp - 4]
push eax
call sub.ntdll.dll_
mov eax, dword [ebp - 0x10]
add dword [edi + 4], eax
mov esi, dword [edi + 4]
mov edi, dword [edi]
add esp, 0xc
lea esi, [esi + 0x1000]
call fcn.1001192b
mov edi, dword [ebp - 8]
mov dword [edi], eax
test eax, eax
je 0x10013d26
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x1000
push dword [ebp - 4]
push dword [ebp + 8]
call dword [0x1002038c]
test eax, eax
jne 0x10013cc8
jmp 0x10013d26
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
call fcn.10011990
mov esi, dword [edi]
test esi, esi
je 0x10013d42
cmp dword [edi + 4], 0
jne 0x10013d42
call fcn.10011990
and dword [edi], 0
cmp dword [ebx + 0x24], 0
je 0x10013d5f
mov ecx, dword [edi]
test ecx, ecx
je 0x10013d5f
mov eax, dword [edi + 4]
test eax, eax
je 0x10013d5f
push eax
push ecx
push dword [ebx + 0x28]
call fcn.10018dd6
mov dword [edi + 8], 1
xor edi, edi
push dword [ebp - 0x24]
mov esi, dword [0x1002036c]
call esi
cmp dword [ebp - 0xc], edi
je 0x10013d7d
push dword [ebp - 0xc]
call esi
cmp dword [ebp + 8], edi
je 0x10013d87
push dword [ebp + 8]
call esi
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x10013d93
call fcn.10011990
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x138]
pop edi
pop esi
pop ebx
leave
ret 4