Function at 0x405770
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c4
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 0x28]
mov ecx, esp
push eax
call fcn.0040d6d0
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00404f10
mov edx, dword [ebp + 0x44]
push edx
mov esi, eax
mov eax, dword [ebp + 0x40]
mov ecx, 0xf
lea edi, [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x20]
xor ebx, ebx
push ecx
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x30], ebx
call fcn.0040f230
add esp, 0x20
lea ecx, [ebp + 0x34]
call fcn.0040d950
push eax
call dword [0x643c6c]
push eax
lea ecx, [ebp + 0x34]
call fcn.0040d950
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0040f230
add esp, 0x10
push 0x4276a5
lea ecx, [ebp - 0x64]
call fcn.0040d690
push 0x4276a5
lea ecx, [ebp - 0x2c]
call fcn.0040d690
push 0x4276a5
lea ecx, [ebp - 0xc]
call fcn.0040d690
push 0x4276a5
lea ecx, [ebp - 0x40]
call fcn.0040d690
push 0x4276a5
lea ecx, [ebp - 0x4c]
call fcn.0040d690
mov edx, dword [0x632fb8]
mov eax, dword [ebp - 0xb4]
push edx
push eax
xor esi, esi
call dword [0x643d84]
test eax, eax
jne 0x405852
lea esi, [ebx + 1]
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x405f5e
lea ecx, [ebp - 0x58]
push 0x14
push ecx
call fcn.0040ef80
add esp, 8
push eax
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d770
lea ecx, [ebp - 0x7c]
call fcn.0040d710
lea ecx, [ebp - 0x58]
call fcn.0040d710
push 0x42a874
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x7c]
push edx
push str.LJ58
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d820
mov ecx, eax
call fcn.0040d7c0
mov ecx, eax
call fcn.0040d820
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d770
lea ecx, [ebp - 0x58]
call fcn.0040d710
lea ecx, [ebp - 0x7c]
call fcn.0040d710
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov eax, dword [0x632c74]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
push eax
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040d820
mov ecx, eax
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea ecx, [ebp - 0x58]
call fcn.0040d710
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa8]
push ebx
push ebx
push 3
push ebx
push ebx
push edx
push eax
push edi
call dword [0x643da8]
mov ecx, eax
mov dword [ebp - 0x70], ecx
cmp ecx, ebx
je 0x405f5e
mov edx, dword [0x632e08]
mov eax, esi
neg eax
sbb eax, eax
push ebx
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [ebp - 0x8c]
push ebx
push ebx
push edx
mov edx, dword [0x632fd8]
push eax
push edx
push ecx
call dword [0x643dd8]
mov edi, eax
cmp edi, ebx
je 0x405f54
cmp esi, ebx
je 0x405998
or dword [ebp - 0x1c], 0x10300
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x1f
push edi
call dword [0x643bb4]
push 0x42a844
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a84c
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov edx, dword [0x632e3c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov ecx, dword [0x632fac]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a830
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a84c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a844
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a84c
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov edx, dword [0x632e3c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a824
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a830
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea eax, [ebp - 0x58]
push eax
call fcn.00402db0
add esp, 4
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea ecx, [ebp - 0x58]
call fcn.0040d710
push 0x42a84c
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a844
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a84c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov ecx, dword [0x632e3c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov eax, dword [0x632f34]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a830
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a84c
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a844
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a84c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
mov ecx, dword [0x632e3c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a85c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
push 0x42a830
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d820
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea ecx, [ebp - 0x40]
call fcn.0040d950
push eax
call dword [0x643c6c]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x1c], eax
call fcn.0040d950
push eax
call dword [0x643c6c]
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
add esi, eax
push esi
push ebx
call dword [0x643dac]
push eax
call dword [0x643d44]
lea ecx, [ebp - 0xc]
mov dword [ebp + 0xc], eax
call fcn.0040d950
push eax
call dword [0x643c6c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d950
mov edx, dword [ebp + 0xc]
push eax
push edx
call fcn.004157ec
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0xc]
call fcn.0040d950
push eax
call dword [0x643c6c]
add eax, dword [ebp + 0xc]
push eax
call fcn.004157ec
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.0040d950
push eax
call dword [0x643c6c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d950
push eax
lea ecx, [ebp - 0xc]
call fcn.0040d950
push eax
call dword [0x643c6c]
add eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x20]
push eax
call fcn.004157ec
mov edx, dword [ebp + 0xc]
add esp, 0xc
push esi
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040d950
push eax
call dword [0x643c6c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040d950
push eax
push edi
call dword [0x643d70]
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0040ee20
push ebx
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x1f4]
push edx
push 0x13
push edi
mov dword [ebp - 0x6c], 0x100
call dword [0x643df0]
test eax, eax
jne 0x405ec9
mov esi, dword [ebp + 8]
push 0x42a854
mov ecx, esi
call fcn.0040d690
jmp 0x405fa2
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040edf0
add esp, 4
cmp eax, 0xc8
jne 0x405eb5
lea ecx, [ebp - 0x1c]
push ecx
push 0x7cf
lea edx, [ebp - 0x9c4]
push edx
push edi
call dword [0x643cd4]
test eax, eax
je 0x405f4d
lea ebx, [ebx]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x405f4d
mov byte [ebp + eax - 0x9c4], bl
lea eax, [ebp - 0x9c4]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x64]
call fcn.0040d820
push eax
lea ecx, [ebp - 0x64]
call fcn.0040d770
lea ecx, [ebp - 0x18]
call fcn.0040d710
lea edx, [ebp - 0x1c]
push edx
push 0x7cf
lea eax, [ebp - 0x9c4]
push eax
push edi
call dword [0x643cd4]
test eax, eax
jne 0x405f00
push edi
call dword [0x643ca8]
mov ecx, dword [ebp - 0x70]
push ecx
call dword [0x643ca8]
push 4
lea edx, [ebp - 0x34]
push edx
call fcn.0040ee20
push 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040ee20
lea ecx, [ebp - 0x2c]
call fcn.0040d880
lea ecx, [ebp - 0xc]
call fcn.0040d880
lea ecx, [ebp - 0x40]
call fcn.0040d880
lea ecx, [ebp - 0x4c]
call fcn.0040d880
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
call fcn.0040d6d0
lea ecx, [ebp - 0x4c]
call fcn.0040d710
lea ecx, [ebp - 0x40]
call fcn.0040d710
lea ecx, [ebp - 0xc]
call fcn.0040d710
lea ecx, [ebp - 0x2c]
call fcn.0040d710
lea ecx, [ebp - 0x64]
call fcn.0040d710
lea ecx, [ebp + 0x10]
call fcn.0040d710
lea ecx, [ebp + 0x1c]
call fcn.0040d710
lea ecx, [ebp + 0x28]
call fcn.0040d710
lea ecx, [ebp + 0x34]
call fcn.0040d710
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret