Function at 0x40e600
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ec85
mov eax, dword fs:[0]
push eax
sub esp, 0x9e8
mov eax, dword [0x4556f0]
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 0x4489fa
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.00405620
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.0040d060
add esp, 8
push eax
lea ecx, [ebp - 0x934]
mov byte [ebp - 4], 9
call fcn.00405760
cmp dword [ebp - 0x904], 0x10
mov byte [ebp - 4], 8
jb 0x40e72a
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042abab
add esp, 4
mov esi, dword [ebp - 0x924]
mov ebx, 8
cmp esi, ebx
jae 0x40e73f
mov ebx, esi
mov ecx, esi
jmp 0x40e741
mov ecx, ebx
mov edi, dword [ebp - 0x920]
mov eax, dword [ebp - 0x934]
cmp edi, 0x10
jae 0x40e758
lea eax, [ebp - 0x934]
push ecx
push 0x448c0c
push eax
call fcn.0040a4d0
add esp, 0xc
test eax, eax
jne 0x40e786
cmp ebx, 8
jb 0x40e786
cmp ebx, 8
setne al
test eax, eax
jne 0x40e786
mov dword [ebp - 0x9e8], 8
jmp 0x40e7cd
mov ebx, 7
cmp esi, ebx
jae 0x40e793
mov ebx, esi
jmp 0x40e795
mov esi, ebx
mov eax, dword [ebp - 0x934]
cmp edi, 0x10
jae 0x40e7a6
lea eax, [ebp - 0x934]
push esi
push 0x448c18
push eax
call fcn.0040a4d0
add esp, 0xc
test eax, eax
jne 0x40e7cd
cmp ebx, 7
jb 0x40e7cd
cmp ebx, 7
setne al
mov edi, 7
test eax, eax
je 0x40e7d3
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.0040ae40
mov esi, eax
cmp esi, 0xffffffff
jne 0x40e837
push 0
push 0x4489fb
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00405620
lea eax, [ebp - 0x8fc]
mov byte [ebp - 4], 0xa
mov ebx, 1
jmp 0x40e858
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x918]
push eax
lea ecx, [ebp - 0x934]
call fcn.0040dcf0
mov dword [ebp - 4], 0xb
mov ebx, 2
push eax
lea ecx, [ebp - 0x950]
mov dword [ebp - 0x9e0], ebx
call fcn.00405760
test bl, 2
je 0x40e8ab
and ebx, 0xfffffffd
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40e890
mov ecx, dword [ebp - 0x918]
push ecx
call fcn.0042abab
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 0x40e8d8
and ebx, 0xfffffffe
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40e8d8
mov edx, dword [ebp - 0x8fc]
push edx
call fcn.0042abab
add esp, 4
mov eax, dword [ebp - 0x934]
mov edx, dword [ebp - 0x920]
mov ecx, eax
cmp esi, 0xffffffff
je 0x40e8fa
cmp edx, 0x10
jae 0x40e8f6
lea ecx, [ebp - 0x934]
add ecx, esi
jmp 0x40e90b
cmp edx, 0x10
jae 0x40e905
lea ecx, [ebp - 0x934]
add ecx, dword [ebp - 0x924]
cmp edx, 0x10
jae 0x40e916
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.0040b220
lea eax, [ebp - 0x8fc]
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0xc
call fcn.00405760
cmp dword [ebp - 0x8e8], 0x10
mov byte [ebp - 4], 8
jb 0x40e977
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042abab
add esp, 4
push 1
push esi
push 0x448c20
lea ecx, [ebp - 0x950]
call fcn.0040ae40
cmp eax, 0xffffffff
je 0x40e9ac
push eax
push esi
lea edx, [ebp - 0x918]
push edx
lea ecx, [ebp - 0x950]
call fcn.0040dcf0
mov byte [ebp - 4], 0xd
or ebx, 4
jmp 0x40e9e8
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.00405530
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.00405760
test bl, 8
je 0x40ea37
and ebx, 0xfffffff7
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40ea20
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042abab
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 0x40ea64
and ebx, 0xfffffffb
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40ea64
mov edx, dword [ebp - 0x918]
push edx
call fcn.0042abab
add esp, 4
push 1
push 0
push 0x448c24
lea ecx, [ebp - 0x96c]
call fcn.0040ae40
mov esi, eax
cmp esi, 0xffffffff
je 0x40eaa0
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x96c]
call fcn.0040dcf0
mov byte [ebp - 4], 0xf
or ebx, 0x10
jmp 0x40eadd
push 0
push 0x448a01
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00405620
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.00405760
test bl, 0x20
je 0x40eb30
and ebx, 0xffffffdf
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40eb15
mov edx, dword [ebp - 0x8fc]
push edx
call fcn.0042abab
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 0x40eb5d
and ebx, 0xffffffef
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40eb5d
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042abab
add esp, 4
cmp esi, 0xffffffff
jne 0x40eb68
mov esi, dword [ebp - 0x95c]
push esi
push 0
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x96c]
call fcn.0040dcf0
push eax
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 0x11
call fcn.00405760
cmp dword [ebp - 0x904], 0x10
mov byte [ebp - 4], 8
jb 0x40eba9
mov edx, dword [ebp - 0x918]
push edx
call fcn.0042abab
add esp, 4
xor esi, esi
cmp edi, esi
jle 0x40ebcf
add edi, 0xfffffffd
push edi
push esi
lea eax, [ebp - 0x918]
push eax
lea ecx, [ebp - 0x934]
call fcn.0040dcf0
mov byte [ebp - 4], 0x12
or ebx, 0x40
jmp 0x40ec0a
push esi
push 0x448a02
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], esi
mov byte [ebp - 0x8fc], 0
call fcn.00405620
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.00405760
test bl, bl
jns 0x40ec5b
and ebx, 0xffffff7f
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40ec44
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042abab
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 0x40ec88
and ebx, 0xffffffbf
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40ec88
mov edx, dword [ebp - 0x918]
push edx
call fcn.0042abab
add esp, 4
push 1
push 0
push 0x448c28
lea ecx, [ebp - 0x950]
call fcn.0040ae40
mov esi, eax
cmp esi, 0xffffffff
je 0x40eccc
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x950]
call fcn.0040dcf0
mov byte [ebp - 4], 0x14
or ebx, 0x100
mov edi, 0xf
jmp 0x40ed0d
push 0
mov edi, 0xf
push 0x448a03
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], edi
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00405620
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.00405760
test ebx, 0x200
je 0x40ed62
and ebx, 0xfffffdff
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40ed4b
mov edx, dword [ebp - 0x8fc]
push edx
call fcn.0042abab
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 0x40ed95
and ebx, 0xfffffeff
cmp dword [ebp - 0x904], 0x10
mov dword [ebp - 0x9e0], ebx
jb 0x40ed95
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042abab
add esp, 4
cmp esi, 0xffffffff
je 0x40edbb
push esi
push 0
lea ecx, [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x950]
call fcn.0040dcf0
mov byte [ebp - 4], 0x16
or ebx, 0x400
jmp 0x40edfb
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.00405530
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.00405760
mov esi, 0x10
test ebx, 0x800
je 0x40ee4e
and ebx, 0xfffff7ff
cmp dword [ebp - 0x8e8], esi
jb 0x40ee37
mov eax, dword [ebp - 0x8fc]
push eax
call fcn.0042abab
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 0x40ee74
cmp dword [ebp - 0x904], esi
jb 0x40ee74
mov ecx, dword [ebp - 0x918]
push ecx
call fcn.0042abab
add esp, 4
mov eax, dword [ebp - 0x96c]
cmp dword [ebp - 0x958], esi
jae 0x40ee88
lea eax, [ebp - 0x96c]
push eax
call dword [0x467f54]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x40ee9a
lea eax, [ebp + 0xc]
push eax
call dword [0x467f54]
cmp dword [ebp + 0x28], 0
je 0x40ef18
lea edx, [ebp - 0x918]
push edx
lea ecx, [ebp - 0x9ed]
call fcn.00420a70
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], esi
jb 0x40eec4
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [0x467f74]
mov esi, 0x10
mov edi, eax
mov dword [ebp - 0x9e8], edi
mov byte [ebp - 4], 8
cmp dword [ebp - 0x904], esi
jb 0x40eefb
mov eax, dword [ebp - 0x918]
push eax
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x904], 0xf
mov dword [ebp - 0x908], 0
mov byte [ebp - 0x918], 0
jmp 0x40ef3f
mov eax, dword [ebp + 0x2c]
cmp dword [ebp + 0x40], esi
jae 0x40ef23
lea eax, [ebp + 0x2c]
push 0
push 0
push 0
push 0
push eax
call dword [0x467f74]
mov edi, eax
mov dword [ebp - 0x9e8], eax
mov esi, 0x10
mov eax, dword [ebp - 0x9c0]
cmp dword [ebp - 0x9ac], esi
jae 0x40ef53
lea eax, [ebp - 0x9c0]
push eax
call fcn.0042c200
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x9a4]
cmp dword [ebp - 0x990], esi
jae 0x40ef72
lea eax, [ebp - 0x9a4]
push 0x448c2c
push eax
call dword [0x468068]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xff800000
add esi, 0x4800000
test edi, edi
je 0x40f187
cmp dword [ebp - 0x958], 0x10
mov eax, dword [ebp - 0x96c]
jae 0x40efad
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 [0x468090]
mov edi, eax
test edi, edi
je 0x40f17a
cmp dword [ebp - 0x93c], 0x10
mov eax, dword [ebp - 0x950]
jae 0x40efe4
lea eax, [ebp - 0x950]
push 0
push esi
push 0
push 0
push 0
push eax
push 0x448c34
push edi
call dword [0x4680d4]
mov esi, eax
test esi, esi
je 0x40f173
push 0
push 0
push 0
push 0
push esi
call dword [0x468054]
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 [0x4680ec]
test eax, eax
jne 0x40f0b2
push 0x448c38
mov esi, dword [ebp - 0x9ec]
mov ecx, esi
call fcn.00405720
lea ecx, [ebp - 0x9dc]
call fcn.00405090
lea ecx, [ebp - 0x9c0]
call fcn.00405090
lea ecx, [ebp - 0x9a4]
call fcn.00405090
lea ecx, [ebp - 0x934]
call fcn.00405090
lea ecx, [ebp - 0x96c]
call fcn.00405090
lea ecx, [ebp - 0x950]
call fcn.00405090
lea ecx, [ebp - 0x988]
call fcn.00405090
lea ecx, [ebp + 0xc]
call fcn.00405090
lea ecx, [ebp + 0x2c]
call fcn.00405090
mov eax, esi
jmp 0x40f305
lea ecx, [ebp - 0x110]
push ecx
call fcn.0042c200
add esp, 4
cmp eax, 0xc8
jne 0x40f321
test ebx, ebx
je 0x40f16c
lea edx, [ebp - 0x9e0]
push edx
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push esi
call dword [0x467f98]
test eax, eax
je 0x40f16c
mov bl, 0x19
mov eax, dword [ebp - 0x9e0]
test eax, eax
je 0x40f16c
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.0040dd80
add esp, 0xc
push eax
lea ecx, [ebp - 0x988]
mov byte [ebp - 4], bl
call fcn.00405760
cmp dword [ebp - 0x8e8], 0x10
mov byte [ebp - 4], 8
jb 0x40f14e
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042abab
add esp, 4
lea edx, [ebp - 0x9e0]
push edx
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push esi
call dword [0x467f98]
test eax, eax
jne 0x40f0f4
push esi
call dword [0x467f70]
push edi
call dword [0x467f70]
mov ecx, dword [ebp - 0x9e8]
push ecx
call dword [0x467f70]
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.00405760
cmp dword [ebp - 0x9c8], esi
jb 0x40f1c4
mov eax, dword [ebp - 0x9dc]
push eax
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x9c8], edi
mov dword [ebp - 0x9cc], ebx
mov byte [ebp - 0x9dc], 0
cmp dword [ebp - 0x9ac], esi
jb 0x40f1ee
mov ecx, dword [ebp - 0x9c0]
push ecx
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x9ac], edi
mov dword [ebp - 0x9b0], ebx
mov byte [ebp - 0x9c0], 0
cmp dword [ebp - 0x990], esi
jb 0x40f218
mov edx, dword [ebp - 0x9a4]
push edx
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x990], edi
mov dword [ebp - 0x994], ebx
mov byte [ebp - 0x9a4], 0
cmp dword [ebp - 0x920], esi
jb 0x40f242
mov eax, dword [ebp - 0x934]
push eax
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x920], edi
mov dword [ebp - 0x924], ebx
mov byte [ebp - 0x934], 0
cmp dword [ebp - 0x958], esi
jb 0x40f26c
mov ecx, dword [ebp - 0x96c]
push ecx
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x958], edi
mov dword [ebp - 0x95c], ebx
mov byte [ebp - 0x96c], 0
cmp dword [ebp - 0x93c], esi
jb 0x40f296
mov edx, dword [ebp - 0x950]
push edx
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x93c], edi
mov dword [ebp - 0x940], ebx
mov byte [ebp - 0x950], 0
cmp dword [ebp - 0x974], esi
jb 0x40f2c0
mov eax, dword [ebp - 0x988]
push eax
call fcn.0042abab
add esp, 4
mov dword [ebp - 0x974], edi
mov dword [ebp - 0x978], ebx
mov byte [ebp - 0x988], 0
cmp dword [ebp + 0x20], esi
jb 0x40f2e4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042abab
add esp, 4
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], 0
cmp dword [ebp + 0x40], esi
jb 0x40f2ff
mov edx, dword [ebp + 0x2c]
push edx
call fcn.0042abab
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.0042ac8a
mov esp, ebp
pop ebp
ret
push 0x448c40
jmp 0x40f041