Function at 0x406b80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x978
push ebx
push esi
push edi
sub esp, 0xc
mov esi, esp
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
inc eax
call fcn.00402840
mov dword [esi], eax
test eax, eax
je 0x406bb5
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x406bb5
push ecx
push eax
call dword [fcn.00639134]
lea ebx, [ebp - 0xa8]
call fcn.00404ae0
mov esi, eax
xor eax, eax
add esp, 0xc
mov ecx, 0xf
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
cmp byte [0x42d014], al
je 0x406bea
lea esp, [esp]
inc eax
cmp byte [eax + 0x42d014], 0
jne 0x406be0
mov dword [ebp - 0x10], eax
inc eax
call fcn.00402840
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x406c08
push 0x42d014
push ebx
call dword [fcn.00639134]
push 0
push 0
push 0
push 1
push 0x42d014
call dword [fcn.00638ff0]
mov ecx, dword [0x638c80]
mov edx, dword [ebp - 0x68]
push ecx
mov esi, eax
push edx
mov dword [ebp - 0x1c], esi
xor edi, edi
call dword [fcn.006390cc]
test eax, eax
jne 0x406c3a
lea edi, [eax + 1]
test esi, esi
je 0x406de8
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
push 0
push 0
push 3
push 0
push 0
push eax
push ecx
push esi
call dword [0x6390f0]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x406de1
mov edx, dword [0x638ab4]
mov eax, edi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [ebp - 0x40]
push 0
push 0
push edx
push eax
push 0x435080
push ecx
call dword [0x639120]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x406dd4
test edi, edi
je 0x406cbd
or dword [ebp - 8], 0x10300
push 4
lea ecx, [ebp - 8]
push ecx
push 0x1f
push esi
call dword [0x638ef0]
push 0
push 0
push 0
push 0
push esi
call dword [0x6390b8]
push 0
lea edx, [ebp - 0x24]
push edx
mov edi, eax
lea eax, [ebp - 0x1a8]
push eax
push 0x13
push esi
mov dword [ebp - 0x24], 0x100
call dword [0x639138]
test eax, eax
jne 0x406d14
mov edi, dword [ebp + 8]
mov esi, 0x435084
call fcn.00427210
mov eax, ebx
call fcn.00402930
mov eax, dword [ebp + 0xc]
call fcn.00402930
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1a8]
call fcn.00423d30
cmp eax, 0xc8
jne 0x406cef
test edi, edi
je 0x406dcd
lea ecx, [ebp - 0xc]
push ecx
push 0x7cf
lea edx, [ebp - 0x978]
push edx
push esi
call dword [fcn.00639018]
test eax, eax
je 0x406dcd
lea ecx, [ecx]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x406dcd
lea edi, [ebp - 0x978]
lea esi, [ebp - 0x30]
lea ebx, [ebp - 0x18]
mov byte [ebp + eax - 0x978], 0
call fcn.00427340
mov esi, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi + 8]
mov dword [ebp - 0x10], edi
test eax, eax
je 0x406d84
call fcn.00402930
lea eax, [edi + 1]
call fcn.00402840
mov dword [ebp - 0x18], eax
test eax, eax
je 0x406da1
mov esi, dword [esi]
test esi, esi
je 0x406da1
push esi
push eax
call dword [fcn.00639134]
mov eax, dword [ebp - 0x30]
call fcn.00402930
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push 0x7cf
lea ecx, [ebp - 0x978]
push ecx
push edx
call dword [fcn.00639018]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
test eax, eax
jne 0x406d50
push esi
call dword [fcn.00638fec]
mov eax, dword [ebp - 0x20]
push eax
call dword [fcn.00638fec]
mov esi, dword [ebp - 0x1c]
push esi
call dword [fcn.00638fec]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00402840
mov dword [esi], eax
test eax, eax
je 0x406e09
test ebx, ebx
je 0x406e09
push ebx
push eax
call dword [fcn.00639134]
mov eax, ebx
call fcn.00402930
mov eax, dword [ebp + 0xc]
call fcn.00402930
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret