Function at 0x405482
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9ec
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x91c], eax
mov eax, dword [ebp + 0xc]
push 0x436972
lea esi, [ebp - 0x944]
mov dword [ebp - 0x8f8], eax
mov ebx, ecx
call fcn.004104e7
sub esp, 0xc
lea eax, [ebp + 0x28]
mov esi, esp
call fcn.00410519
lea eax, [ebp - 0x9ec]
push eax
call fcn.00404ab6
push 0xf
pop ecx
push dword [ebp + 0x40]
mov esi, eax
lea edi, [ebp - 0x9b0]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [ebp - 0x8fc]
push ebx
push eax
lea esi, [ebp - 0x8f4]
mov dword [ebp - 0x8f4], edi
mov dword [ebp - 0x8fc], edi
mov dword [ebp - 0x908], edi
mov dword [ebp - 0x904], edi
call fcn.00411e5d
mov esi, dword [ebp + 0x34]
add esp, 0x1c
push esi
call dword [0x65e49c]
push eax
push esi
lea eax, [ebp - 0x904]
push eax
lea esi, [ebp - 0x908]
call fcn.00411e5d
add esp, 0xc
push 0x436973
lea esi, [ebp - 0x918]
call fcn.004104e7
push 0x43697e
lea esi, [ebp - 0x8e0]
call fcn.004104e7
push 0x43697f
lea esi, [ebp - 0x938]
call fcn.004104e7
push 0x436982
lea esi, [ebp - 0x950]
call fcn.004104e7
push dword [0x65e1ac]
mov dword [ebp - 0x8f0], edi
push dword [ebp - 0x9ac]
call dword [0x65e5b8]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40559b
mov dword [ebp - 0x8f0], ecx
cmp dword [ebp - 0x8f8], edi
jne 0x4055be
push edi
push edi
push edi
push ecx
push dword [ebp + 0x1c]
call dword [0x65e4dc]
mov dword [ebp - 0x8f8], eax
cmp eax, edi
je 0x405e64
push 0x14
pop ebx
lea edi, [ebp - 0x95c]
call fcn.00411c4a
mov edi, eax
lea esi, [ebp - 0x968]
lea eax, [ebp - 0x918]
call fcn.004105c7
lea esi, [ebp - 0x918]
call fcn.0041058d
mov eax, dword [ebp - 0x968]
call fcn.00402920
mov eax, dword [ebp - 0x95c]
call fcn.00402920
push 0x4377e4
push 0x4377d8
lea esi, [ebp - 0x974]
lea eax, [ebp - 0x938]
call fcn.00410609
lea edi, [ebp - 0x918]
lea esi, [ebp - 0x968]
call fcn.004105c7
lea esi, [ebp - 0x95c]
call fcn.00410609
lea esi, [ebp - 0x938]
call fcn.0041058d
mov eax, dword [ebp - 0x95c]
call fcn.00402920
mov eax, dword [ebp - 0x968]
call fcn.00402920
mov eax, dword [ebp - 0x974]
call fcn.00402920
push dword [0x65de64]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x950]
call fcn.00410609
lea esi, [ebp - 0x92c]
call fcn.004105c7
lea esi, [ebp - 0x950]
call fcn.0041058d
mov eax, dword [ebp - 0x92c]
call fcn.00402920
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x998]
push dword [ebp - 0x9a0]
push dword [ebp - 0x8f8]
call dword [0x65e5dc]
mov dword [ebp - 0x90c], eax
cmp eax, ebx
je 0x405e64
mov eax, dword [ebp - 0x8f0]
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x65dff8]
push dword [ebp - 0x984]
push dword [0x65e1cc]
push dword [ebp - 0x90c]
call dword [0x65e61c]
mov dword [ebp - 0x8f8], eax
cmp eax, ebx
je 0x405e58
cmp dword [ebp - 0x8f0], ebx
je 0x40573c
or dword [ebp - 0x900], 0x10300
push 4
lea ecx, [ebp - 0x900]
push ecx
push 0x1f
push eax
call dword [0x65e3d4]
push 0x4377ec
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
lea edi, [ebp - 0x918]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.004105c7
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x4377f4
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push dword [0x65e02c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x92c]
call fcn.00402920
push dword [0x65e1a0]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x4377f8
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
lea edi, [ebp + 0x10]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.004105c7
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437800
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437804
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
lea edi, [ebp - 0x918]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.004105c7
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x43780c
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push dword [0x65e02c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x92c]
call fcn.00402920
push 0x437810
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x43781c
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push str.7e6c13833126d03adc9573b3325d5542
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437824
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437828
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.004105c7
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437830
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push dword [0x65e02c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x92c]
call fcn.00402920
push dword [0x65e128]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437834
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push dword [ebp - 0x904]
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x43783c
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437840
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.004105c7
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437848
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push dword [0x65e02c]
lea esi, [ebp - 0x92c]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x92c]
call fcn.00402920
push 0x43784c
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push 0x437858
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x8e0]
call fcn.00410609
lea esi, [ebp - 0x8e0]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
push dword [ebp - 0x938]
call dword [0x65e49c]
mov edi, dword [ebp - 0x8e0]
push edi
mov dword [ebp - 0x900], eax
call dword [0x65e49c]
mov esi, eax
mov eax, dword [ebp - 0x900]
add eax, dword [ebp - 0x8f4]
add esi, eax
push esi
push ebx
call dword [0x65e5e8]
push eax
call dword [0x65e578]
push edi
mov dword [ebp - 0x8f0], eax
call dword [0x65e49c]
push eax
push edi
push dword [ebp - 0x8f0]
call fcn.00427020
add esp, 0xc
push dword [ebp - 0x8f4]
push dword [ebp - 0x8fc]
push edi
call dword [0x65e49c]
add eax, dword [ebp - 0x8f0]
push eax
call fcn.00427020
add esp, 0xc
push dword [ebp - 0x938]
call dword [0x65e49c]
push eax
push dword [ebp - 0x938]
push edi
call dword [0x65e49c]
add eax, dword [ebp - 0x8f0]
add eax, dword [ebp - 0x8f4]
push eax
call fcn.00427020
add esp, 0xc
push esi
push dword [ebp - 0x8f0]
push dword [ebp - 0x950]
call dword [0x65e49c]
push eax
push dword [ebp - 0x950]
push dword [ebp - 0x8f8]
call dword [0x65e5a4]
lea eax, [ebp - 0x8f0]
mov dword [ebp - 0x900], eax
mov edi, dword [ebp - 0x900]
mov ecx, 4
xor eax, eax
rep stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x920]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push dword [ebp - 0x8f8]
mov dword [ebp - 0x920], 0x100
call dword [0x65e634]
test eax, eax
jne 0x405db5
push 0x437860
mov esi, dword [ebp - 0x91c]
call fcn.004104e7
mov eax, dword [ebp - 0x950]
call fcn.00402920
mov eax, dword [ebp - 0x938]
call fcn.00402920
mov eax, dword [ebp - 0x8e0]
call fcn.00402920
mov eax, dword [ebp - 0x918]
jmp 0x405eee
lea edx, [ebp - 0x104]
call fcn.00411afd
cmp eax, 0xc8
jne 0x405f2f
mov edi, 0x7cf
jmp 0x405e11
mov eax, dword [ebp - 0x900]
cmp eax, ebx
je 0x405e30
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x8ec]
lea eax, [ebp - 0x944]
call fcn.00410609
lea esi, [ebp - 0x944]
call fcn.0041058d
mov eax, dword [ebp - 0x8ec]
call fcn.00402920
lea eax, [ebp - 0x900]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8f8]
call dword [0x65e504]
test eax, eax
jne 0x405dd2
push str.block
push dword [ebp - 0x944]
call dword [0x65e5b8]
test eax, eax
jne 0x405e4c
push ebx
call dword [0x65e508]
push dword [ebp - 0x8f8]
call dword [0x65e4d8]
push dword [ebp - 0x90c]
call dword [0x65e4d8]
lea eax, [ebp - 0x8fc]
mov dword [ebp - 0x90c], eax
mov edi, dword [ebp - 0x90c]
mov ecx, 4
xor eax, eax
rep stosb byte es:[edi], al
lea eax, [ebp - 0x904]
mov dword [ebp - 0x90c], eax
mov edi, dword [ebp - 0x90c]
mov ecx, 4
xor eax, eax
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x918]
call fcn.00402920
mov eax, dword [ebp - 0x8e0]
call fcn.00402920
mov eax, dword [ebp - 0x938]
call fcn.00402920
mov eax, dword [ebp - 0x950]
call fcn.00402920
mov esi, dword [ebp - 0x91c]
lea eax, [ebp - 0x944]
call fcn.00410519
xor eax, eax
call fcn.00402920
xor eax, eax
call fcn.00402920
xor eax, eax
call fcn.00402920
xor eax, eax
call fcn.00402920
mov eax, dword [ebp - 0x944]
call fcn.00402920
mov eax, dword [ebp + 0x10]
call fcn.00402920
mov eax, dword [ebp + 0x1c]
call fcn.00402920
mov eax, dword [ebp + 0x28]
call fcn.00402920
mov eax, dword [ebp + 0x34]
call fcn.00402920
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cfe0
leave
ret
push 0x437870
jmp 0x405d7e