Function at 0x10013a8b
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0x50
mov dword [ebp - 0x14], 0x840cff00
cmp esi, ebx
je 0x10013d98
push 0x10
pop eax
call fcn.1001d5ce
mov eax, esp
cmp eax, ebx
je 0x10013ae4
push 0x94
push 8
mov edx, 0x10026330
call fcn.10010d9d
push eax
push dword [esi]
call dword [0x100202dc]
test eax, eax
je 0x10013af8
mov dword [ebp - 8], 1
push 0x1002280c
push 0x10022810
push dword [esi]
call fcn.10010be2
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x10013d98
mov eax, dword [esi]
push edi
push eax
call dword [0x10020468]
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x10013d90
mov eax, edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10013b32
push ebx
push ebx
sub eax, edi
add dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
push ebx
push ebx
push eax
call dword [0x10020370]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x10013d90
cmp dword [ebp - 8], ebx
je 0x10013b6a
mov dword [ebp - 0x10], 0x1bb
mov dword [ebp - 0x14], 0x848cff00
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push eax
call dword [0x10020388]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x10013d71
push 8
pop eax
call fcn.1001d5ce
mov edi, esp
cmp edi, ebx
je 0x10013ba9
push 0x94
push 3
mov eax, edi
mov edx, 0x10026664
call fcn.10010d9d
push 0x10
pop eax
call fcn.1001d5ce
mov eax, esp
cmp eax, ebx
je 0x10013bc8
push 0x94
push 8
mov edx, 0x10026328
call fcn.10010d9d
push ebx
push dword [ebp - 0x14]
push ebx
push ebx
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x10]
call dword [0x10020380]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x10013d71
mov esi, dword [esi + 0xc]
cmp esi, ebx
je 0x10013c05
push 0x20000000
push 0xffffffffffffffff
push esi
push eax
call dword [0x10020378]
test eax, eax
je 0x10013d71
cmp dword [ebp - 8], ebx
je 0x10013c50
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x1f
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], 4
call dword [sym.imp.WININET.dll_]
test eax, eax
je 0x10013d71
push dword [ebp - 0x14]
or dword [ebp - 8], 0x7380
lea eax, [ebp - 8]
push eax
push 0x1f
push dword [ebp - 4]
call dword [0x10020368]
test eax, eax
je 0x10013d71
mov edi, dword [ebp - 4]
push ebx
push ebx
call fcn.10013673
test eax, eax
je 0x10013d71
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push edi
call dword [0x10020384]
test eax, eax
je 0x10013d71
cmp dword [ebp - 0x18], 0xc8
jne 0x10013d71
mov edi, 0x1000
mov esi, edi
call fcn.10011870
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x10013d71
mov esi, dword [ebp + 8]
push dword [esi + 4]
call dword [0x100202e0]
test eax, eax
je 0x10013cc3
mov edi, dword [esi + 4]
call fcn.10011362
mov edi, 0x1000
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call dword [0x1002038c]
test eax, eax
je 0x10013d0b
jmp 0x10013ce0
mov esi, dword [ebp + 8]
cmp dword [ebp - 8], ebx
je 0x10013d0b
push dword [ebp - 0xc]
push dword [esi + 4]
mov esi, dword [ebp - 8]
call fcn.100115bb
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call dword [0x1002038c]
test eax, eax
jne 0x10013cdd
mov esi, dword [ebp - 0xc]
call fcn.10011924
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x10013d2a
push eax
push dword [esi + 4]
call fcn.10011bed
test eax, eax
je 0x10013d71
cmp dword [esi + 0x10], ebx
je 0x10013d6a
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 4]
mov dword [ebp - 0x20], eax
cmp esi, ebx
je 0x10013d6a
push ebx
lea eax, [ebp + 8]
push eax
push esi
call fcn.100111be
mov edi, eax
cmp edi, ebx
je 0x10013d6a
push dword [ebp + 8]
push edi
push dword [ebp - 0x20]
call fcn.10018d52
mov eax, dword [ebp + 8]
push edi
push esi
call fcn.10011303
mov esi, edi
call fcn.10011924
mov dword [ebp - 0x20], 1
push dword [ebp - 0x2c]
mov esi, dword [0x1002036c]
call esi
cmp dword [ebp - 0x10], ebx
je 0x10013d86
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 4], ebx
je 0x10013d90
push dword [ebp - 4]
call esi
mov esi, dword [ebp - 0x1c]
call fcn.10011924
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
leave
ret 4