Function at 0x405e20
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x44500c]
xor eax, esp
mov dword [esp + 0x64], eax
cmp byte [0x445747], 0
push esi
push edi
je 0x40632f
lea eax, [ecx - 0x334]
cmp eax, 0x16
ja 0x405f50
cmp edx, 0x14
jl 0x405f50
cmp edx, 0x28
jg 0x405f50
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x13]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x23], 0
push dword [esp + 0x23]
call fcn.0040d560
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d5a0
mov ecx, eax
call fcn.004083d0
push 1
mov esi, eax
lea ecx, [esp + 0x40]
push 0
lea eax, [esp + 0x5c]
push eax
call fcn.00409320
mov edx, esi
mov ecx, eax
call fcn.0040a770
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f], al
call fcn.00409500
cmp byte [esp + 0x1f], 0
je 0x405f2a
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d5e0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094c0
lea ecx, [esp + 0x3c]
call fcn.00409500
mov dword [0x44574c], 2
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x316]
cmp eax, 0x12
ja 0x4060ae
cmp edx, 0x14
jl 0x4060ae
cmp edx, 0x28
jg 0x4060ae
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d620
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d660
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d6a0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094b0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d6e0
mov ecx, eax
call fcn.004083d0
lea edx, [esp + 0x3c]
mov ecx, eax
call fcn.0040d720
test al, al
je 0x40607f
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d730
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.004094c0
lea ecx, [esp + 0x3c]
call fcn.00409500
lea ecx, [esp + 0x54]
call fcn.00409500
mov dword [0x44574c], 3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x2c3]
cmp eax, 0x28
ja 0x40615f
cmp edx, 0x1a
jl 0x40615f
cmp edx, 0x42
jg 0x40615f
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d770
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d7b0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.004094b0
lea ecx, [esp + 0x54]
call fcn.00409500
mov dword [0x44574c], 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x296]
lea esi, [edx - 0x1a]
cmp eax, 0x28
ja 0x406176
cmp esi, 0x28
jbe 0x4066ba
lea eax, [ecx - 0x1b2]
cmp eax, 0x28
ja 0x40618a
cmp esi, 0x28
jbe 0x4066ed
lea eax, [ecx - 0x8f]
cmp eax, 0x114
ja 0x4061b9
cmp esi, 0x28
ja 0x4061b9
mov dword [0x44574c], 7
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x204]
lea esi, [edx - 0x22]
cmp eax, 0x1a
ja 0x4061e9
cmp esi, 0x1a
ja 0x4061e9
mov dword [0x44574c], 0x3f3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x22f]
cmp eax, 0x1a
ja 0x406216
cmp esi, 0x1a
ja 0x406216
mov dword [0x44574c], 0x3f4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x25a]
cmp eax, 0x1a
ja 0x406243
cmp esi, 0x1a
ja 0x406243
mov dword [0x44574c], 0x3f5
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x22]
add edx, 0xfffffe7c
cmp eax, 0xe6
ja 0x40625c
cmp edx, 0x28
jbe 0x406720
lea eax, [ecx - 0x13b]
cmp eax, 0xe6
ja 0x406306
cmp edx, 0x28
ja 0x406306
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov dword [0x44574c], 0x3ea
call fcn.0040d7f0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d830
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.004094b0
lea ecx, [esp + 0x54]
call fcn.00409500
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x254]
cmp eax, 0xe6
ja 0x40631c
cmp edx, 0x28
jbe 0x4068b1
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x168]
cmp eax, 0x16
ja 0x40648d
cmp edx, 0x14
jl 0x40648d
cmp edx, 0x28
jg 0x40648d
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d870
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d8b0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d8f0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094b0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d930
mov ecx, eax
call fcn.004083d0
lea edx, [esp + 0x3c]
mov ecx, eax
call fcn.0040d720
test al, al
je 0x40645e
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d970
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.004094c0
lea ecx, [esp + 0x3c]
call fcn.00409500
lea ecx, [esp + 0x54]
call fcn.00409500
mov dword [0x44574c], 1
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x14a]
cmp eax, 0x12
ja 0x4064a4
lea eax, [edx - 0x14]
cmp eax, 0x14
jbe 0x405f33
lea edi, [ecx - 0x28]
cmp edi, 0x140
ja 0x4064be
lea eax, [edx - 0x1c1]
cmp eax, 0x34
jbe 0x406091
lea eax, [ecx - 0x147]
cmp eax, 0x13
ja 0x4064d8
lea eax, [edx - 0x15d]
cmp eax, 0xf
jbe 0x406142
lea eax, [ecx - 0x145]
cmp eax, 0x13
ja 0x4065c4
cmp edx, 0x11d
jl 0x4065c4
cmp edx, 0x12c
jg 0x4065c4
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d9b0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040d9f0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094b0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040da30
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094b0
lea ecx, [esp + 0x3c]
call fcn.00409500
mov dword [0x44574c], 0x138b
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x148]
cmp eax, 0x20
ja 0x4066d7
cmp edx, 0xe1
jl 0x4066d7
cmp edx, 0x101
jg 0x4066d7
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040da70
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040dab0
mov ecx, eax
call fcn.004083d0
push 1
mov esi, eax
lea ecx, [esp + 0x40]
push 0
lea eax, [esp + 0x5c]
push eax
call fcn.00409320
mov edx, esi
mov ecx, eax
call fcn.0040a770
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f], al
call fcn.00409500
cmp byte [esp + 0x1f], 0
je 0x4066b1
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040daf0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094c0
lea ecx, [esp + 0x3c]
call fcn.00409500
mov dword [0x44574c], 5
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x120]
cmp eax, 0x20
ja 0x40670a
lea eax, [edx - 0xe1]
cmp eax, 0x20
ja 0x40670a
mov dword [0x44574c], 6
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x97]
lea esi, [edx - 0x22b]
cmp eax, 0x14
ja 0x40673d
cmp esi, 0x14
ja 0x40673d
mov dword [0x44574c], 0x3e9
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0xbf]
cmp eax, 0x14
ja 0x4068a1
cmp edx, 0x22b
jl 0x4068a1
cmp edx, 0x23f
jg 0x4068a1
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040db30
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040db70
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040dbb0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094b0
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040dbf0
mov ecx, eax
call fcn.004083d0
lea edx, [esp + 0x3c]
mov ecx, eax
call fcn.0040d720
test al, al
je 0x406872
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040dc30
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x58]
call fcn.004094c0
lea ecx, [esp + 0x3c]
call fcn.00409500
lea ecx, [esp + 0x54]
call fcn.00409500
mov dword [0x44574c], 0x3ea
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0xe7]
cmp eax, 0x14
ja 0x4068ce
cmp esi, 0x14
ja 0x4068ce
mov dword [0x44574c], 0x3eb
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x46]
cmp eax, 0x104
ja 0x406900
lea eax, [edx - 0x1f7]
cmp eax, 0x18
ja 0x406900
mov dword [0x44574c], 0xfa1
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
cmp edi, 0xa0
ja 0x406930
lea eax, [edx - 0x190]
cmp eax, 0x1b
ja 0x406930
mov dword [0x44574c], 0xfa2
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0xe6]
cmp eax, 0x82
ja 0x406a45
cmp edx, 0x190
jl 0x406a45
cmp edx, 0x1ab
jg 0x406a45
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040dc70
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.00409580
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040dcb0
mov ecx, eax
call fcn.004083d0
push 1
mov esi, eax
lea ecx, [esp + 0x40]
push 0
lea eax, [esp + 0x5c]
push eax
call fcn.00409320
mov edx, esi
mov ecx, eax
call fcn.0040a770
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f], al
call fcn.00409500
cmp byte [esp + 0x1f], 0
je 0x406a1f
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
mov byte [esp + 0x1b], 0
push dword [esp + 0x1b]
call fcn.0040dcf0
mov ecx, eax
call fcn.004083d0
push eax
lea ecx, [esp + 0x40]
call fcn.004094c0
lea ecx, [esp + 0x3c]
call fcn.00409500
mov dword [0x44574c], 0xfa3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
cmp ecx, 0x28
jl 0x40631c
cmp ecx, 0x168
jg 0x40631c
lea eax, [edx - 0x109]
cmp eax, 0x36
ja 0x406a82
mov dword [0x44574c], 0x1389
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004398d9
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x149]
cmp eax, 0x36
ja 0x40631c
mov ecx, dword [esp + 0x6c]
xor al, al
pop edi
pop esi
xor ecx, esp
mov dword [0x44574c], 0x138a
call fcn.004398d9
mov esp, ebp
pop ebp
ret