Function at 0x40fca4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xf0]
mov ebx, dword [esi + 0x3e4]
xor edx, edx
mov dword [esi + 0x42c], edx
mov dword [esi + 0x45c], edx
mov dword [esi + 0x468], edx
mov dword [esi + 0x474], edx
mov ecx, dword [eax + 0x55f4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x3a8]
sub ecx, dword [esi + 0x3ac]
push edi
mov edi, dword [esi + 0x3e0]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 8]
shl ecx, 5
add ecx, dword [esi + 0x324]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [eax + 0x6200]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edx
call fcn.00401307
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x324]
shl eax, 5
lea eax, [eax + ecx + 0x10]
mov ecx, dword [esi + 0xf0]
push eax
add ecx, 0x6388
call fcn.00401307
test ebx, ebx
je 0x40fd7a
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0xf0]
shl eax, 5
add eax, dword [esi + 0x324]
add ecx, 0x62c4
push eax
call fcn.00401307
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0x324]
shl eax, 5
lea eax, [eax + ecx + 0x10]
mov ecx, dword [esi + 0xf0]
push eax
add ecx, 0x644c
call fcn.00401307
and dword [ebp - 0xc], 0
mov edi, dword [esi + 0x3a8]
sub edi, dword [esi + 0x3ac]
push 4
sub edi, dword [ebp - 0x14]
lea ecx, [esi + 0x428]
call fcn.00401159
push 0xa
mov ecx, esi
mov dword [eax], edi
call fcn.00401514
mov eax, dword [ebp - 0x10]
movzx ebx, byte [eax]
mov eax, dword [esi + 0x3a8]
inc dword [ebp - 0x10]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov byte [eax], bl
mov byte [ebp - 1], 0
cmp ebx, 0xc4
jne 0x40fde9
mov eax, dword [ebp - 0x10]
movzx ebx, byte [eax]
mov eax, dword [esi + 0x3a8]
inc dword [ebp - 0x10]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov byte [eax], bl
mov byte [ebp - 1], 1
mov eax, 0xbc
cmp ebx, eax
jg 0x40ffa0
je 0x410271
cmp ebx, 0x10
je 0x410271
cmp ebx, 0x11
je 0x40ff82
cmp ebx, 0x84
je 0x40ff0f
cmp ebx, 0xa9
jle 0x40ffbb
cmp ebx, 0xab
jg 0x40ffbb
mov ecx, dword [esi + 0xf0]
lea ecx, [ecx + 0x569c]
call fcn.004013e8
mov edi, eax
jmp 0x40fe59
mov eax, dword [esi + 0x3a8]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov byte [eax], 0
mov eax, dword [esi + 0x3a8]
sub eax, dword [esi + 0x3ac]
sub eax, dword [ebp - 0x14]
test al, 3
jne 0x40fe47
lea eax, [edi*8 + 0x1e]
push eax
mov ecx, esi
call fcn.00401514
push 4
push dword [ebp - 0xc]
mov ecx, esi
call fcn.004014f6
cmp ebx, 0xaa
jne 0x40fed2
mov ecx, dword [esi + 0xf0]
lea ecx, [ecx + 0x5760]
call fcn.004013e8
mov ebx, eax
push ebx
mov ecx, esi
call fcn.0040141a
lea eax, [ebx + edi - 1]
push eax
mov ecx, esi
call fcn.0040141a
test edi, edi
jle 0x41033a
push 4
push dword [ebp - 0xc]
mov ecx, esi
call fcn.004014f6
dec edi
jne 0x40febe
jmp 0x41033a
push edi
mov ecx, esi
call fcn.0040141a
test edi, edi
jle 0x41033a
mov ecx, dword [esi + 0xf0]
lea ecx, [ecx + 0x5760]
call fcn.004013e8
push eax
mov ecx, esi
call fcn.0040141a
push 4
push dword [ebp - 0xc]
mov ecx, esi
call fcn.004014f6
dec edi
jne 0x40fee2
jmp 0x41033a
mov ecx, dword [esi + 0xf0]
lea ecx, [ecx + 0x59ac]
call fcn.004013e8
cmp byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xf0]
je 0x40ff36
add eax, 0x58d0
jmp 0x40ff3b
add eax, 0x580c
lea ecx, [eax + 0x18]
call fcn.004013e8
cmp byte [ebp - 1], 0
mov ebx, eax
je 0x40ff58
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004012c6
push ebx
jmp 0x40ff94
mov eax, dword [esi + 0x3a8]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov cl, byte [ebp - 0x18]
mov byte [eax], cl
mov eax, dword [esi + 0x3a8]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov byte [eax], bl
jmp 0x41033a
mov ecx, dword [esi + 0xf0]
lea ecx, [ecx + 0x58e8]
call fcn.004013e8
push eax
mov ecx, esi
call fcn.004012c6
jmp 0x41033a
mov eax, ebx
sub eax, 0xfd
je 0x4102ee
dec eax
je 0x41029d
dec eax
je 0x410342
lea eax, [ebx - 0xe6]
cmp eax, 2
ja 0x410064
lea eax, [ebx - 0xe6]
sub eax, 0
mov dword [ebp - 8], 0xb7
je 0x40ffea
dec eax
je 0x40ffe5
mov edi, dword [ebp - 0x20]
dec eax
jmp 0x40ffed
mov edi, dword [ebp - 0x24]
jmp 0x40ffed
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x3a8]
mov byte [eax - 1], 0xb7
mov ecx, dword [esi + 0xf0]
lea ecx, [ecx + 0x6528]
call fcn.004013e8
mov dword [ebp - 0x28], eax
test edi, edi
je 0x41001f
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0x324]
shl eax, 5
lea edi, [eax + ecx + 0x10]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test edi, edi
je 0x410055
push ebx
mov ecx, edi
call fcn.0040105a
test eax, eax
je 0x410057
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx]
cmp ecx, dword [esi + 0x394]
jne 0x410052
mov ecx, dword [ebp - 0x18]
inc dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x28]
je 0x410057
inc ebx
jmp 0x410024
xor eax, eax
push eax
mov ecx, esi
call fcn.0040149c
jmp 0x41033a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 2]
push eax
push ebx
mov ecx, esi
call fcn.004011c7
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4100d3
cmp byte [ebp - 2], 0
mov eax, dword [esi + 0x3a8]
jne 0x41008f
mov cl, byte [ebp - 8]
mov byte [eax - 1], cl
jmp 0x4100ba
push 4
lea ecx, [esi + 0x428]
mov byte [eax - 1], 0x2a
call fcn.00401159
inc edi
inc dword [ebp - 0xc]
mov dword [eax], edi
mov eax, dword [esi + 0x3a8]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov cl, byte [ebp - 8]
mov byte [eax], cl
mov ecx, dword [ebp - 0x28]
push 0
push dword [ecx + 8]
call fcn.00401014
cmp dword [esi + 0x24], 0
jne 0x4103ee
jmp 0x410057
mov eax, ebx
call fcn.0040d473
mov ecx, esi
test al, al
je 0x4100fb
cmp ebx, 0xc8
jge 0x4100ec
push 2
jmp 0x4100ee
push 4
push dword [ebp - 0xc]
call fcn.004014f6
jmp 0x41033a
push ebx
call fcn.004013bb
mov edi, eax
test edi, edi
je 0x410215
cmp byte [edi + 0xd], 0
mov ecx, edi
setne al
movzx eax, al
push eax
push dword [edi + 8]
call fcn.00401014
cmp dword [esi + 0x24], 0
mov dword [ebp - 0x18], eax
jne 0x4103ee
test eax, eax
jne 0x410147
mov ecx, dword [esi + 0xf0]
add ecx, 0x5ef0
cmp edi, ecx
jne 0x410147
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, 0xbb
mov dword [ebp - 8], ebx
cmp ebx, ecx
jg 0x410167
je 0x410162
sub ebx, 0x12
je 0x410199
dec ebx
je 0x410190
dec ebx
je 0x410187
jmp 0x4101a0
mov dword [ebp - 0x20], eax
jmp 0x4101a0
cmp ebx, 0xe9
jl 0x4101a0
cmp ebx, 0xeb
jle 0x410199
cmp ebx, 0xee
jle 0x410190
cmp ebx, 0xef
jne 0x4101a0
mov dword [ebp - 8], 0x14
jmp 0x4101a0
mov dword [ebp - 8], 0x13
jmp 0x4101a0
mov dword [ebp - 8], 0x12
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x3a8]
mov byte [edx - 1], cl
cmp ecx, 0x12
push eax
mov ecx, esi
je 0x410335
call fcn.0040149c
cmp dword [ebp - 8], 0xc5
je 0x410271
cmp dword [ebp - 8], 0xb9
jne 0x41033a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
call fcn.004010ff
mov ecx, dword [esi + 0x3a8]
lea edx, [ecx + 1]
mov dword [esi + 0x3a8], edx
inc al
mov byte [ecx], al
mov eax, dword [esi + 0x3a8]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov byte [eax], 0
jmp 0x41033a
mov eax, ebx
call fcn.0040d496
test al, al
je 0x41033a
mov ecx, dword [esi + 0xf0]
lea ecx, [ecx + 0x59ac]
call fcn.004013e8
cmp byte [ebp - 1], 0
je 0x410254
push eax
mov ecx, esi
call fcn.004012c6
cmp ebx, 0x84
jne 0x41033a
jmp 0x40ff82
mov ecx, dword [esi + 0x3a8]
lea edx, [ecx + 1]
mov dword [esi + 0x3a8], edx
mov byte [ecx], al
cmp ebx, 0x84
jne 0x41033a
mov eax, dword [esi + 0xf0]
mov ecx, dword [eax + 0x5840]
movzx edx, byte [ecx]
inc ecx
mov dword [eax + 0x5840], ecx
mov eax, dword [esi + 0x3a8]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov byte [eax], dl
jmp 0x41033a
mov ecx, dword [esi + 0xf0]
dec dword [esi + 0x3a8]
lea ecx, [ecx + 0x6774]
call fcn.004013e8
mov edi, eax
push edi
mov ecx, esi
call fcn.00401514
test edi, edi
jle 0x41033a
mov eax, dword [esi + 0xf0]
mov ecx, dword [eax + 0x6854]
movzx edx, byte [ecx]
inc ecx
dec edi
mov dword [eax + 0x6854], ecx
mov eax, dword [esi + 0x3a8]
lea ecx, [eax + 1]
mov dword [esi + 0x3a8], ecx
mov byte [eax], dl
jne 0x4102c2
jmp 0x41033a
mov ecx, dword [esi + 0xf0]
dec dword [esi + 0x3a8]
lea ecx, [ecx + 0x66b0]
call fcn.004013e8
mov ecx, dword [esi + 0xf0]
add ecx, 0x65d4
push 1
push dword [ecx + 8]
mov edi, eax
call fcn.00401014
cmp dword [esi + 0x24], 0
jne 0x4103ee
dec edi
je 0x410332
dec edi
jne 0x41033a
jmp 0x410057
push eax
mov ecx, esi
call fcn.00401299
inc dword [ebp - 0xc]
jmp 0x40fd7e
mov ecx, dword [ebp - 0x10]
dec dword [esi + 0x3a8]
mov eax, dword [esi + 0xf0]
and dword [ebp - 0x10], 0
mov dword [eax + 0x55f4], ecx
cmp dword [esi + 0x45c], 0
jle 0x4103ee
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x458]
movzx ecx, byte [ecx + eax]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x464]
mov edi, dword [ecx + eax*4]
mov ecx, dword [esi + 0x470]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [esi + 0xf0]
add edi, dword [esi + 0x3ac]
lea ecx, [ecx + 0x5a70]
mov dword [ebp - 0x28], ebx
call fcn.004013e8
add eax, ebx
push eax
mov ecx, esi
call fcn.0040110e
push dword [ebp - 0x28]
mov ecx, esi
mov ebx, eax
call fcn.0040110e
sub ebx, eax
mov eax, dword [ebp - 0x24]
dec eax
dec eax
je 0x4103d0
dec eax
dec eax
jne 0x4103dc
push ebx
push edi
call fcn.00401195
jmp 0x4103da
movzx eax, bx
push eax
push edi
call fcn.004011ae
pop ecx
pop ecx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x45c]
jl 0x410368
pop edi
pop esi
pop ebx
leave
ret