Function at 0x40f080
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f085
mov eax, dword fs:[0]
push eax
sub esp, 0x9e8
mov eax, dword [0x4536f0]
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x9ec], eax
mov dword [ebp - 0x9e0], esi
push esi
mov edi, 0xf
push 0x448a0a
lea ecx, [ebp - 0x988]
mov dword [ebp - 4], 1
mov dword [ebp - 0x974], edi
mov dword [ebp - 0x978], esi
mov byte [ebp - 0x988], 0
call fcn.004060a0
mov dword [ebp - 0x93c], edi
mov dword [ebp - 0x940], esi
mov byte [ebp - 0x950], 0
mov dword [ebp - 0x958], edi
mov dword [ebp - 0x95c], esi
mov byte [ebp - 0x96c], 0
mov dword [ebp - 0x920], edi
mov dword [ebp - 0x924], esi
mov byte [ebp - 0x934], 0
mov dword [ebp - 0x990], edi
mov dword [ebp - 0x994], esi
mov byte [ebp - 0x9a4], 0
mov dword [ebp - 0x9ac], edi
mov dword [ebp - 0x9b0], esi
mov byte [ebp - 0x9c0], 0
mov dword [ebp - 0x9c8], edi
mov dword [ebp - 0x9cc], esi
mov byte [ebp - 0x9dc], 0
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x918]
push edx
mov byte [ebp - 4], 8
mov dword [ebp - 0x9e8], esi
call fcn.0040dae0
add esp, 8
push eax
lea ecx, [ebp - 0x934]
mov byte [ebp - 4], 9
call fcn.004061e0
cmp dword [ebp - 0x904], 0x10
mov byte [ebp - 4], 8
jb 0x40f1aa
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042bbbb
add esp, 4
mov esi, dword [ebp - 0x924]
mov ebx, 8
cmp esi, ebx
jae 0x40f1bf
mov ebx, esi
mov ecx, esi
jmp 0x40f1c1
mov ecx, ebx
mov edi, dword [ebp - 0x920]
mov eax, dword [ebp - 0x934]
cmp edi, 0x10
jae 0x40f1d8
lea eax, [ebp - 0x934]
push ecx
push 0x448c1c
push eax
call fcn.0040af50
add esp, 0xc
test eax, eax
jne 0x40f206
cmp ebx, 8
jb 0x40f206
cmp ebx, 8
setne al
test eax, eax
jne 0x40f206
mov dword [ebp - 0x9e8], 8
jmp 0x40f24d
mov ebx, 7
cmp esi, ebx
jae 0x40f213
mov ebx, esi
jmp 0x40f215
mov esi, ebx
mov eax, dword [ebp - 0x934]
cmp edi, 0x10
jae 0x40f226
lea eax, [ebp - 0x934]
push esi
push 0x448c28
push eax
call fcn.0040af50
add esp, 0xc
test eax, eax
jne 0x40f24d
cmp ebx, 7
jb 0x40f24d
cmp ebx, 7
setne al
mov edi, 7
test eax, eax
je 0x40f253
mov edi, dword [ebp - 0x9e8]
push 1
lea ecx, [edi + 1]
push ecx
lea edx, [ebp - 0x9e4]
push edx
lea ecx, [ebp - 0x934]
mov byte [ebp - 0x9e4], 0x2f
call fcn.0040b8c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f2b7
push 0
push 0x448a0b
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.004060a0
lea eax, [ebp - 0x8fc]
mov byte [ebp - 4], 0xa
mov ebx, 1
jmp 0x40f2d8
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x918]
push eax
lea ecx, [ebp - 0x934]
call fcn.0040e770
mov dword [ebp - 4], 0xb
mov ebx, 2
push eax
lea ecx, [ebp - 0x950]
mov dword [ebp - 0x9e0], ebx
call fcn.004061e0
test bl, 2
je 0x40f32b
and ebx, 0xfffffffd
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f310
mov ecx, dword [ebp - 0x918]
push ecx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x904], 0xf
mov dword [ebp - 0x908], 0
mov byte [ebp - 0x918], 0
mov dword [ebp - 4], 8
test bl, 1
je 0x40f358
and ebx, 0xfffffffe
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f358
mov edx, dword [ebp - 0x8fc]
push edx
call fcn.0042bbbb
add esp, 4
mov eax, dword [ebp - 0x934]
mov edx, dword [ebp - 0x920]
mov ecx, eax
cmp esi, 0xffffffff
je 0x40f37a
cmp edx, 0x10
jae 0x40f376
lea ecx, [ebp - 0x934]
add ecx, esi
jmp 0x40f38b
cmp edx, 0x10
jae 0x40f385
lea ecx, [ebp - 0x934]
add ecx, dword [ebp - 0x924]
cmp edx, 0x10
jae 0x40f396
lea eax, [ebp - 0x934]
mov edx, dword [ebp - 0x9f4]
push edx
push ecx
add eax, edi
xor esi, esi
push eax
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], esi
mov byte [ebp - 0x8fc], 0
call fcn.0040bca0
lea eax, [ebp - 0x8fc]
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0xc
call fcn.004061e0
cmp dword [ebp - 0x8e8], 0x10
mov byte [ebp - 4], 8
jb 0x40f3f7
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042bbbb
add esp, 4
push 1
push esi
push 0x448c30
lea ecx, [ebp - 0x950]
call fcn.0040b8c0
cmp eax, 0xffffffff
je 0x40f42c
push eax
push esi
lea edx, [ebp - 0x918]
push edx
lea ecx, [ebp - 0x950]
call fcn.0040e770
mov byte [ebp - 4], 0xd
or ebx, 4
jmp 0x40f468
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], esi
mov byte [ebp - 0x8fc], 0
call fcn.00405fb0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0xe
or ebx, 8
push eax
lea ecx, [ebp - 0x950]
mov dword [ebp - 0x9e0], ebx
call fcn.004061e0
test bl, 8
je 0x40f4b7
and ebx, 0xfffffff7
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f4a0
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], esi
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test bl, 4
je 0x40f4e4
and ebx, 0xfffffffb
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f4e4
mov edx, dword [ebp - 0x918]
push edx
call fcn.0042bbbb
add esp, 4
push 1
push 0
push 0x448c34
lea ecx, [ebp - 0x96c]
call fcn.0040b8c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40f520
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x96c]
call fcn.0040e770
mov byte [ebp - 4], 0xf
or ebx, 0x10
jmp 0x40f55d
push 0
push 0x448a11
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.004060a0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x10
or ebx, 0x20
push eax
lea ecx, [ebp - 0x9c0]
mov dword [ebp - 0x9e0], ebx
call fcn.004061e0
test bl, 0x20
je 0x40f5b0
and ebx, 0xffffffdf
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f595
mov edx, dword [ebp - 0x8fc]
push edx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test bl, 0x10
je 0x40f5dd
and ebx, 0xffffffef
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f5dd
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042bbbb
add esp, 4
cmp esi, 0xffffffff
jne 0x40f5e8
mov esi, dword [ebp - 0x95c]
push esi
push 0
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x96c]
call fcn.0040e770
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0x11
call fcn.004061e0
cmp dword [ebp - 0x904], 0x10
mov byte [ebp - 4], 8
jb 0x40f629
mov edx, dword [ebp - 0x918]
push edx
call fcn.0042bbbb
add esp, 4
xor esi, esi
cmp edi, esi
jle 0x40f64f
add edi, 0xfffffffd
push edi
push esi
lea eax, [ebp - 0x918]
push eax
lea ecx, [ebp - 0x934]
call fcn.0040e770
mov byte [ebp - 4], 0x12
or ebx, 0x40
jmp 0x40f68a
push esi
push 0x448a12
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], esi
mov byte [ebp - 0x8fc], 0
call fcn.004060a0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x13
or ebx, 0x80
push eax
lea ecx, [ebp - 0x9a4]
mov dword [ebp - 0x9e0], ebx
call fcn.004061e0
test bl, bl
jns 0x40f6db
and ebx, 0xffffff7f
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f6c4
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], esi
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test bl, 0x40
je 0x40f708
and ebx, 0xffffffbf
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f708
mov edx, dword [ebp - 0x918]
push edx
call fcn.0042bbbb
add esp, 4
push 1
push 0
push 0x448c38
lea ecx, [ebp - 0x950]
call fcn.0040b8c0
mov esi, eax
cmp esi, 0xffffffff
je 0x40f74c
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x950]
call fcn.0040e770
mov byte [ebp - 4], 0x14
or ebx, 0x100
mov edi, 0xf
jmp 0x40f78d
push 0
mov edi, 0xf
push 0x448a13
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], edi
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.004060a0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x15
or ebx, 0x200
push eax
lea ecx, [ebp - 0x9dc]
mov dword [ebp - 0x9e0], ebx
call fcn.004061e0
test ebx, 0x200
je 0x40f7e2
and ebx, 0xfffffdff
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f7cb
mov edx, dword [ebp - 0x8fc]
push edx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x8e8], edi
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test ebx, 0x100
je 0x40f815
and ebx, 0xfffffeff
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40f815
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042bbbb
add esp, 4
cmp esi, 0xffffffff
je 0x40f83b
push esi
push 0
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x950]
call fcn.0040e770
mov byte [ebp - 4], 0x16
or ebx, 0x400
jmp 0x40f87b
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x950]
push edx
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], edi
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00405fb0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x17
or ebx, 0x800
push eax
lea ecx, [ebp - 0x950]
mov dword [ebp - 0x9e0], ebx
call fcn.004061e0
mov esi, 0x10
test ebx, 0x800
je 0x40f8ce
and ebx, 0xfffff7ff
cmp dword [ebp - 0x8e8], esi
jb 0x40f8b7
mov eax, dword [ebp - 0x8fc]
push eax
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x8e8], edi
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test ebx, 0x400
je 0x40f8f4
cmp dword [ebp - 0x904], esi
jb 0x40f8f4
mov ecx, dword [ebp - 0x918]
push ecx
call fcn.0042bbbb
add esp, 4
mov eax, dword [ebp - 0x96c]
cmp dword [ebp - 0x958], esi
jae 0x40f908
lea eax, [ebp - 0x96c]
push eax
call dword [0x465f54]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x40f91a
lea eax, [ebp + 0xc]
push eax
call dword [0x465f54]
cmp dword [ebp + 0x28], 0
je 0x40f998
lea edx, [ebp - 0x918]
push edx
lea ecx, [ebp - 0x9ed]
call fcn.00421a70
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], esi
jb 0x40f944
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [0x465f74]
mov esi, 0x10
mov edi, eax
mov dword [ebp - 0x9e8], edi
mov byte [ebp - 4], 8
cmp dword [ebp - 0x904], esi
jb 0x40f97b
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x904], 0xf
mov dword [ebp - 0x908], 0
mov byte [ebp - 0x918], 0
jmp 0x40f9bf
mov eax, dword [ebp + 0x2c]
cmp dword [ebp + 0x40], esi
jae 0x40f9a3
lea eax, [ebp + 0x2c]
push 0
push 0
push 0
push 0
push eax
call dword [0x465f74]
mov edi, eax
mov dword [ebp - 0x9e8], eax
mov esi, 0x10
mov eax, dword [ebp - 0x9c0]
cmp dword [ebp - 0x9ac], esi
jae 0x40f9d3
lea eax, [ebp - 0x9c0]
push eax
call fcn.0042d210
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x9a4]
cmp dword [ebp - 0x990], esi
jae 0x40f9f2
lea eax, [ebp - 0x9a4]
push 0x448c3c
push eax
call dword [0x466068]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xff800000
add esi, 0x4800000
test edi, edi
je 0x40fc07
cmp dword [ebp - 0x958], 0x10
mov eax, dword [ebp - 0x96c]
jae 0x40fa2d
lea eax, [ebp - 0x96c]
mov ecx, dword [ebp - 0x9e8]
push 0
push esi
push 3
push 0
push 0
push ebx
push eax
push ecx
call dword [0x466090]
mov edi, eax
test edi, edi
je 0x40fbfa
cmp dword [ebp - 0x93c], 0x10
mov eax, dword [ebp - 0x950]
jae 0x40fa64
lea eax, [ebp - 0x950]
push 0
push esi
push 0
push 0
push 0
push eax
push 0x448c44
push edi
call dword [0x4660d4]
mov esi, eax
test esi, esi
je 0x40fbf3
push 0
push 0
push 0
push 0
push esi
call dword [0x466054]
push 0
lea edx, [ebp - 0x9f4]
push edx
mov ebx, eax
lea eax, [ebp - 0x110]
push eax
push 0x13
push esi
mov dword [ebp - 0x9f4], 0x100
call dword [0x4660ec]
test eax, eax
jne 0x40fb32
push 0x448c48
mov esi, dword [ebp - 0x9ec]
mov ecx, esi
call fcn.004061a0
lea ecx, [ebp - 0x9dc]
call fcn.00405b10
lea ecx, [ebp - 0x9c0]
call fcn.00405b10
lea ecx, [ebp - 0x9a4]
call fcn.00405b10
lea ecx, [ebp - 0x934]
call fcn.00405b10
lea ecx, [ebp - 0x96c]
call fcn.00405b10
lea ecx, [ebp - 0x950]
call fcn.00405b10
lea ecx, [ebp - 0x988]
call fcn.00405b10
lea ecx, [ebp + 0xc]
call fcn.00405b10
lea ecx, [ebp + 0x2c]
call fcn.00405b10
mov eax, esi
jmp 0x40fd85
lea ecx, [ebp - 0x110]
push ecx
call fcn.0042d210
add esp, 4
cmp eax, 0xc8
jne 0x40fda1
test ebx, ebx
je 0x40fbec
lea edx, [ebp - 0x9e0]
push edx
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push esi
call dword [0x465f98]
test eax, eax
je 0x40fbec
mov bl, 0x19
mov eax, dword [ebp - 0x9e0]
test eax, eax
je 0x40fbec
lea ecx, [ebp - 0x8e0]
push ecx
lea edx, [ebp - 0x988]
mov byte [ebp + eax - 0x8e0], 0
push edx
lea eax, [ebp - 0x8fc]
push eax
call fcn.0040e800
add esp, 0xc
push eax
lea ecx, [ebp - 0x988]
mov byte [ebp - 4], bl
call fcn.004061e0
cmp dword [ebp - 0x8e8], 0x10
mov byte [ebp - 4], 8
jb 0x40fbce
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042bbbb
add esp, 4
lea edx, [ebp - 0x9e0]
push edx
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push esi
call dword [0x465f98]
test eax, eax
jne 0x40fb74
push esi
call dword [0x465f70]
push edi
call dword [0x465f70]
mov ecx, dword [ebp - 0x9e8]
push ecx
call dword [0x465f70]
mov ecx, dword [ebp - 0x9ec]
xor ebx, ebx
lea edx, [ebp - 0x988]
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov esi, 0x10
mov byte [ecx], bl
call fcn.004061e0
cmp dword [ebp - 0x9c8], esi
jb 0x40fc44
mov eax, dword [ebp - 0x9dc]
push eax
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x9c8], edi
mov dword [ebp - 0x9cc], ebx
mov byte [ebp - 0x9dc], 0
cmp dword [ebp - 0x9ac], esi
jb 0x40fc6e
mov ecx, dword [ebp - 0x9c0]
push ecx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x9ac], edi
mov dword [ebp - 0x9b0], ebx
mov byte [ebp - 0x9c0], 0
cmp dword [ebp - 0x990], esi
jb 0x40fc98
mov edx, dword [ebp - 0x9a4]
push edx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x990], edi
mov dword [ebp - 0x994], ebx
mov byte [ebp - 0x9a4], 0
cmp dword [ebp - 0x920], esi
jb 0x40fcc2
mov eax, dword [ebp - 0x934]
push eax
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x920], edi
mov dword [ebp - 0x924], ebx
mov byte [ebp - 0x934], 0
cmp dword [ebp - 0x958], esi
jb 0x40fcec
mov ecx, dword [ebp - 0x96c]
push ecx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x958], edi
mov dword [ebp - 0x95c], ebx
mov byte [ebp - 0x96c], 0
cmp dword [ebp - 0x93c], esi
jb 0x40fd16
mov edx, dword [ebp - 0x950]
push edx
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x93c], edi
mov dword [ebp - 0x940], ebx
mov byte [ebp - 0x950], 0
cmp dword [ebp - 0x974], esi
jb 0x40fd40
mov eax, dword [ebp - 0x988]
push eax
call fcn.0042bbbb
add esp, 4
mov dword [ebp - 0x974], edi
mov dword [ebp - 0x978], ebx
mov byte [ebp - 0x988], 0
cmp dword [ebp + 0x20], esi
jb 0x40fd64
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042bbbb
add esp, 4
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], 0
cmp dword [ebp + 0x40], esi
jb 0x40fd7f
mov edx, dword [ebp + 0x2c]
push edx
call fcn.0042bbbb
add esp, 4
mov eax, dword [ebp - 0x9ec]
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.0042bc9a
mov esp, ebp
pop ebp
ret
push 0x448c50
jmp 0x40fac1