Function at 0x413190
Capabilities:
Check http status code

Disassembly:
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi + 0x58c], ebp
jg 0x413852
cmp dword [esi + 0x57c], ebp
je 0x413852
cmp word [esi + 0x32a], bp
jg 0x413852
cmp byte [esi + 0x65c], 0
jne 0x413852
cmp byte [esi + 0x578], 0
push edi
lea edi, [ebp + 0xc]
je 0x413241
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0xa
jg 0x413241
cmp dword [esi + 0x57c], 8
jge 0x41320e
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x46
jge 0x41320e
mov dword [esi + 0x57c], 8
jmp 0x413233
cmp dword [esi + 0x57c], 0xa
jge 0x413233
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x46
jge 0x413233
mov dword [esi + 0x57c], 0xa
cmp dword [esi + 0x57c], edi
jge 0x413241
mov dword [esi + 0x57c], edi
mov eax, dword [esi + 0x57c]
dec eax
cmp eax, 0x13
ja case.0x413251.2
jmp dword [eax*4 + 0x413858]
call fcn.0042ede0
cdq
mov ecx, 0xa
idiv ecx
push 0xffffffffffffffff
push 1
add edx, ecx
mov dword [esi + 0x58c], edx
mov ecx, dword [0x453314]
call fcn.0040be60
mov dword [esi + 0x57c], 4
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x14
jl 0x4132a5
cmp byte [esi + 0x578], 0
je case.0x413251.2
mov ecx, dword [0x453314]
push ebp
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0xa
idiv ecx
pop edi
mov dword [esi + 0x57c], 0x12
add edx, ecx
mov dword [esi + 0x58c], edx
pop esi
pop ebp
ret
cmp dword [esi + 0x580], ebp
jle 0x4132fb
mov eax, dword [esi + 0x588]
cmp eax, ebp
jle 0x4132fb
dec eax
mov dword [esi + 0x588], eax
mov dword [esi + 0x59c], 1
pop edi
mov dword [esi + 0x57c], 0x13
mov dword [esi + 0x58c], 2
pop esi
pop ebp
ret
pop edi
mov dword [esi + 0x58c], 3
mov dword [esi + 0x57c], 0x14
pop esi
pop ebp
ret
cmp byte [esi + 0x578], 0
je 0x41354c
cmp dword [esi + 0x39c], 0x1388
mov dword [esi + 0x59c], ebp
mov dword [esi + 0x390], 0xffffffff
mov byte [esi + 0x385], 0
jge 0x41339b
mov dword [esi + 0x584], ebp
mov dword [esi + 0x588], ebp
mov dword [esi + 0x580], ebp
mov byte [esi + 0x578], 0
mov dword [esi + 0x57c], ebp
call fcn.0042ede0
cdq
mov ecx, 0x2d
idiv ecx
pop edi
mov byte [esi + 0x396], 0
add edx, 5
mov dword [esi + 0x648], edx
pop esi
pop ebp
ret
mov al, byte [esi + 0x329]
mov dword [esi + 0x588], 1
test al, al
jne 0x413414
cmp byte [esi + 0x3a1], al
jne 0x413414
call fcn.0042ede0
cdq
mov ecx, 0x23
idiv ecx
add edx, 5
mov dword [esi + 0x58c], edx
call fcn.004281f0
cmp eax, 0xc8
jne 0x41347d
call fcn.00428190
cmp eax, 0x2710
jle 0x41347d
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x14
jge 0x41347d
call fcn.0042ede0
cdq
mov ecx, 0x41
idiv ecx
add dword [esi + 0x58c], edx
jmp 0x41347d
mov edx, dword [0x453320]
mov ebp, 3
cmp dword [edx + 0x18], ebp
mov edi, 0xa
jle 0x41343f
test al, al
jne 0x41343f
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
mov edi, edx
add edi, 0xa
mov edx, dword [0x453318]
mov eax, dword [edx + 0x622f8]
cmp eax, 0x1e
jl 0x413462
mov ecx, dword [0x453320]
cmp dword [ecx + 0x18], ebp
jge 0x413462
mov edi, 8
jmp 0x41346c
cmp eax, 0xf
jl 0x41346c
mov edi, 4
call fcn.0042ede0
cdq
idiv edi
inc edx
mov dword [esi + 0x58c], edx
xor ebp, ebp
mov dword [esi + 0x57c], 0x12
mov edx, dword [0x453320]
cmp dword [edx + 0x18], ebp
jle 0x41349b
cmp byte [esi + 0x396], 0
je 0x413519
mov edi, dword [esi + 0x39c]
cmp edi, 0x186a0
jl 0x4134ec
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jg 0x4134ec
call fcn.0042ede0
cmp edi, 0x493e0
cdq
jge 0x4134d7
mov ecx, 0x47
idiv ecx
mov edi, edx
add edi, 0x1e
jmp 0x4134e6
mov ecx, 0x65
idiv ecx
mov edi, edx
add edi, 0xc8
imul edi, edi, 0x3e8
sub dword [esi + 0x39c], edi
call fcn.004281f0
cmp eax, 0xc8
jne 0x413507
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
push 0xffffffffffffffff
push 1
push edi
mov ecx, esi
call fcn.00410210
mov dword [esi + 0x390], eax
cmp dword [esi + 0x390], 0xffffffff
jg 0x413541
mov dword [esi + 0x584], ebp
mov dword [esi + 0x588], ebp
mov dword [esi + 0x580], ebp
mov byte [esi + 0x578], 0
mov dword [esi + 0x57c], ebp
pop edi
mov byte [esi + 0x396], 0
pop esi
pop ebp
ret
pop edi
mov dword [esi + 0x580], ebp
mov dword [esi + 0x57c], ebp
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 2
mov dword [esi + 0x57c], 5
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x4135af
cmp byte [esi + 0x578], 0
je case.0x413251.2
call fcn.0042ede0
and eax, 0x80000001
jns 0x4135c0
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [0x453314]
push eax
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 3
mov dword [esi + 0x57c], 7
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x413623
cmp byte [esi + 0x578], 0
je case.0x413251.2
mov ecx, dword [0x453314]
push ebp
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], ebp
mov dword [esi + 0x57c], 9
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x413682
cmp byte [esi + 0x578], 0
je case.0x413251.2
mov ecx, dword [0x453314]
push 3
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 4
mov dword [esi + 0x57c], 0xb
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x4136e6
cmp byte [esi + 0x578], 0
je case.0x413251.2
mov ecx, dword [0x453314]
push 2
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 5
mov dword [esi + 0x57c], 0xd
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042ede0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x41374a
cmp byte [esi + 0x578], 0
je case.0x413251.2
mov ecx, dword [0x453314]
push 4
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 2
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x453314]
call fcn.0040be60
pop edi
mov dword [esi + 0x57c], 6
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push ebp
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x453314]
call fcn.0040be60
pop edi
mov dword [esi + 0x57c], 8
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 3
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x453314]
call fcn.0040be60
pop edi
mov dword [esi + 0x57c], 0xa
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 4
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x453314]
call fcn.0040be60
mov dword [esi + 0x57c], edi
pop edi
pop esi
pop ebp
ret
call fcn.0042ede0
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 5
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x453314]
call fcn.0040be60
mov dword [esi + 0x57c], 0x10
pop edi
pop esi
pop ebp
ret