Function at 0x100136ef
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 0x10013a7b
push 0xc
pop esi
call fcn.10011870
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10013a7b
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
cmp dword [ebx + 0x20], edi
je 0x1001377e
mov esi, dword [ebx + 0x1c]
add esi, esi
call fcn.10011870
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x10013a7b
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.10018d52
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 0x10013a6f
cmp dword [ebx + 0x2c], edi
je 0x100137aa
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 0x10013a50
push 8
pop eax
call fcn.1001d5ce
mov esi, esp
cmp esi, edi
je 0x100137e8
push 0x94
push 4
mov eax, esi
mov edx, 0x10026690
call fcn.10010d9d
push 0xc
pop eax
call fcn.1001d5ce
mov eax, esp
cmp eax, edi
je 0x10013807
push 0x94
push 8
mov edx, 0x10026328
call fcn.10010d9d
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 0x10013a50
mov esi, dword [0x10020378]
cmp dword [ebx + 0x10], edi
jne 0x10013865
push 0x34
pop eax
call fcn.1001d5ce
mov eax, esp
cmp eax, edi
je 0x10013850
push 0x94
push 0x33
mov edx, 0x10026240
call fcn.10010d9d
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013a50
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x10013881
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013a50
cmp dword [ebx + 0x10], edi
je 0x100138de
cmp dword [ebx + 0x14], edi
je 0x100138de
push 0x50
pop eax
call fcn.1001d6c0
mov eax, esp
cmp eax, edi
je 0x100138aa
push 0x94
push 0x4d
mov edx, 0x100261f0
call fcn.10010d9d
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 0x10013a50
cmp dword [ebx + 0x2c], edi
je 0x10013929
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 0x10013a50
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 0x10013a50
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x10013933
mov eax, dword [ebx + 0x18]
push dword [ebx + 0x1c]
mov edi, dword [ebp + 8]
push eax
call fcn.10013673
test eax, eax
je 0x10013a4e
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 0x10013a4e
cmp dword [ebp - 0x1c], 0xc8
jne 0x10013a4e
mov esi, 0x1000
call fcn.10011870
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
test eax, eax
je 0x10013a4e
call fcn.10011870
mov dword [ebp - 4], eax
test eax, eax
je 0x10013a4e
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push edi
call dword [0x1002038c]
test eax, eax
je 0x10013a0b
cmp dword [ebp - 0x10], 0
mov edi, dword [ebp - 8]
je 0x10013a0e
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.100118bf
mov edi, dword [ebp - 8]
mov dword [edi], eax
test eax, eax
je 0x10013a0e
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 0x100139b0
jmp 0x10013a0e
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
call fcn.10011924
mov esi, dword [edi]
test esi, esi
je 0x10013a2a
cmp dword [edi + 4], 0
jne 0x10013a2a
call fcn.10011924
and dword [edi], 0
cmp dword [ebx + 0x24], 0
je 0x10013a47
mov ecx, dword [edi]
test ecx, ecx
je 0x10013a47
mov eax, dword [edi + 4]
test eax, eax
je 0x10013a47
push eax
push ecx
push dword [ebx + 0x28]
call fcn.10018d52
mov dword [edi + 8], 1
xor edi, edi
push dword [ebp - 0x24]
mov esi, dword [0x1002036c]
call esi
cmp dword [ebp - 0xc], edi
je 0x10013a65
push dword [ebp - 0xc]
call esi
cmp dword [ebp + 8], edi
je 0x10013a6f
push dword [ebp + 8]
call esi
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x10013a7b
call fcn.10011924
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x138]
pop edi
pop esi
pop ebx
leave
ret 4