Function at 0x4042f6
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c8
push ebx
push esi
push edi
mov ebx, 0x41d1ea
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0040e0d4
sub esp, 0xc
lea eax, [ebp + 0x28]
mov ecx, esp
push eax
call fcn.0040e10b
lea eax, [ebp - 0xf8]
push eax
call fcn.00403b2f
push 0xf
pop ecx
push dword [ebp + 0x44]
mov esi, eax
push dword [ebp + 0x40]
lea eax, [ebp - 0x20]
push eax
lea edi, [ebp - 0xbc]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x34], esi
call fcn.0040f388
add esp, 0x20
lea ecx, [ebp + 0x34]
call fcn.0040e2bd
push eax
call dword [0x638724]
push eax
lea ecx, [ebp + 0x34]
call fcn.0040e2bd
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040f388
add esp, 0x10
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040e0d4
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040e0d4
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040e0d4
push ebx
lea ecx, [ebp - 0x50]
call fcn.0040e0d4
push dword [0x627a14]
xor ebx, ebx
push dword [ebp - 0xb8]
call dword [0x638840]
test eax, eax
jne 0x4043c1
inc ebx
mov edi, dword [ebp + 0xc]
cmp edi, esi
jne 0x4043e6
push esi
push esi
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.0040e2bd
push eax
call dword [0x638764]
mov edi, eax
cmp edi, esi
je 0x404a97
lea eax, [ebp - 0x70]
push 0x14
push eax
call fcn.0040f176
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e192
lea ecx, [ebp - 0x80]
call fcn.0040e13f
lea ecx, [ebp - 0x70]
call fcn.0040e13f
push str.___r_n
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
push str._r_n______
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e22b
mov ecx, eax
call fcn.0040e1d9
mov ecx, eax
call fcn.0040e22b
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e192
lea ecx, [ebp - 0x70]
call fcn.0040e13f
lea ecx, [ebp - 0x80]
call fcn.0040e13f
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [0x6276cc]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040e22b
mov ecx, eax
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0x50]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea ecx, [ebp - 0x70]
call fcn.0040e13f
push esi
push esi
push 3
push esi
push esi
push dword [ebp - 0xa4]
push dword [ebp - 0xac]
push edi
call dword [0x638864]
mov dword [ebp - 0x44], eax
cmp eax, esi
je 0x404a97
mov eax, ebx
neg eax
push esi
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push esi
push esi
push dword [0x627860]
push dword [ebp - 0x90]
push dword [0x627a34]
push dword [ebp - 0x44]
call dword [0x6388a4]
mov dword [ebp - 0x60], eax
cmp eax, esi
je 0x404a8e
cmp ebx, esi
je 0x40451c
or dword [ebp - 0x1c], 0x10300
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x1f
push eax
call dword [0x63865c]
mov ebx, str.______
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
mov esi, 0x420280
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [0x627894]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [0x627a08]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
mov edi, str.__r_n_r_n
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [0x627894]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push str.build_id
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
call fcn.00401dce
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [0x627894]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [0x627990]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [ebp - 0x34]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e1d9
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push dword [0x627894]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push str.file_data
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea ecx, [ebp - 0x40]
call fcn.0040e2bd
push eax
call dword [0x638724]
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.0040e2bd
push eax
call dword [0x638724]
add esi, dword [ebp - 0x20]
xor ebx, ebx
add esi, eax
push esi
push ebx
call dword [0x638870]
push eax
call dword [0x638800]
lea ecx, [ebp - 0xc]
mov dword [ebp + 0xc], eax
call fcn.0040e2bd
push eax
call dword [0x638724]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e2bd
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x30]
call fcn.0040e2bd
push eax
call dword [0x638724]
add eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.0040e2bd
push eax
call dword [0x638724]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e2bd
push eax
lea ecx, [ebp - 0xc]
call fcn.0040e2bd
push eax
call dword [0x638724]
add eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x20]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
call fcn.0040e2bd
push eax
call dword [0x638724]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040e2bd
mov edi, dword [ebp - 0x60]
push eax
push edi
call dword [0x63882c]
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0040f0ae
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0x13
push edi
mov dword [ebp - 0x64], 0x100
call dword [0x6388bc]
test eax, eax
jne 0x404a04
mov ecx, dword [ebp + 8]
push str.ERROR
call fcn.0040e0d4
jmp 0x404ad9
lea eax, [ebp - 0x1f8]
push eax
call fcn.0040f091
pop ecx
cmp eax, 0xc8
jne 0x4049f2
mov esi, 0x7cf
jmp 0x404a51
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x404a68
mov byte [ebp + eax - 0x9c8], bl
lea eax, [ebp - 0x9c8]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040e22b
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040e192
lea ecx, [ebp - 0x18]
call fcn.0040e13f
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x9c8]
push eax
push edi
call dword [0x63878c]
test eax, eax
jne 0x404a1f
push str.block
lea ecx, [ebp - 0x5c]
call fcn.0040e2bd
push eax
call dword [0x638840]
test eax, eax
jne 0x404a87
push ebx
call dword [0x638790]
push edi
call dword [0x638760]
push dword [ebp - 0x44]
call dword [0x638760]
push 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040f0ae
push 4
lea eax, [ebp - 0x34]
push eax
call fcn.0040f0ae
lea ecx, [ebp - 0x2c]
call fcn.0040e284
lea ecx, [ebp - 0xc]
call fcn.0040e284
lea ecx, [ebp - 0x40]
call fcn.0040e284
lea ecx, [ebp - 0x50]
call fcn.0040e284
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040e10b
lea ecx, [ebp - 0x50]
call fcn.0040e13f
lea ecx, [ebp - 0x40]
call fcn.0040e13f
lea ecx, [ebp - 0xc]
call fcn.0040e13f
lea ecx, [ebp - 0x2c]
call fcn.0040e13f
lea ecx, [ebp - 0x5c]
call fcn.0040e13f
lea ecx, [ebp + 0x10]
call fcn.0040e13f
lea ecx, [ebp + 0x1c]
call fcn.0040e13f
lea ecx, [ebp + 0x28]
call fcn.0040e13f
lea ecx, [ebp + 0x34]
call fcn.0040e13f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret