Function at 0x404e03
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbd0
push esi
push edi
push 0x425200
lea ecx, [ebp - 0x94]
call fcn.00411668
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 0x28]
push eax
call fcn.004116b4
lea eax, [ebp - 0xa08]
push eax
call fcn.0040430f
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x9c4]
rep movsd dword es:[edi], dword [esi]
push 0xf
pop ecx
lea esi, [ebp - 0x9c4]
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x88], 0
and dword [ebp - 0x44], 0
push dword [ebp + 0x44]
push dword [ebp + 0x40]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041302d
add esp, 0x10
lea ecx, [ebp + 0x34]
call fcn.0041193a
push eax
call dword [0x641724]
push eax
lea ecx, [ebp + 0x34]
call fcn.0041193a
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041302d
add esp, 0x10
push 0x425200
lea ecx, [ebp - 0xc]
call fcn.00411668
push 0x425200
lea ecx, [ebp - 0x2c]
call fcn.00411668
push 0x425200
lea ecx, [ebp - 0x3c]
call fcn.00411668
push 0x425200
lea ecx, [ebp - 0x18]
call fcn.00411668
and dword [ebp - 0x40], 0
push dword [0x630a14]
push dword [ebp - 0x80]
call dword [0x641840]
test eax, eax
jne 0x404f00
mov dword [ebp - 0x40], 1
cmp dword [ebp + 0xc], 0
jne 0x404f20
push 0
push 0
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.0041193a
push eax
call dword [0x641764]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x40582a
push 0x14
lea eax, [ebp - 0xa14]
push eax
call fcn.00412d64
pop ecx
pop ecx
push eax
lea eax, [ebp - 0xa20]
push eax
lea ecx, [ebp - 0xc]
call fcn.004117e0
push eax
lea ecx, [ebp - 0xc]
call fcn.0041177a
lea ecx, [ebp - 0xa20]
call fcn.00411701
lea ecx, [ebp - 0xa14]
call fcn.00411701
push str.___r_n
lea eax, [ebp - 0xa44]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa38]
push eax
push str._r_n______
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041185b
mov ecx, eax
call fcn.004117e0
mov ecx, eax
call fcn.0041185b
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041177a
lea ecx, [ebp - 0xa44]
call fcn.00411701
lea ecx, [ebp - 0xa38]
call fcn.00411701
lea ecx, [ebp - 0xa2c]
call fcn.00411701
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa5c]
push eax
push dword [0x6306cc]
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041185b
mov ecx, eax
call fcn.004117e0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041177a
lea ecx, [ebp - 0xa5c]
call fcn.00411701
lea ecx, [ebp - 0xa50]
call fcn.00411701
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
push dword [ebp + 0xc]
call dword [0x641864]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x40582a
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x40], 0
je 0x405057
mov dword [ebp - 0x9c], 0xc00100
jmp 0x405061
mov dword [ebp - 0x9c], 0x400100
push 0
push dword [ebp - 0x9c]
push 0
push 0
push dword [0x630860]
push dword [ebp - 0x58]
push dword [0x630a34]
push dword [ebp - 0x98]
call dword [0x6418a4]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40581e
cmp dword [ebp - 0x40], 0
je 0x4050c0
mov eax, dword [ebp - 0x1ac]
or eax, 0x10300
mov dword [ebp - 0x1ac], eax
push 4
lea eax, [ebp - 0x1ac]
push eax
push 0x1f
push dword [ebp - 0x30]
call dword [0x64165c]
push str.______
lea eax, [ebp - 0xa68]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xa68]
call fcn.00411701
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004117e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xa74]
call fcn.00411701
push 0x428d7c
lea eax, [ebp - 0xa80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xa80]
call fcn.00411701
push dword [0x630894]
lea eax, [ebp - 0xa8c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xa8c]
call fcn.00411701
push dword [0x630a08]
lea eax, [ebp - 0xa98]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xa98]
call fcn.00411701
push str.__r_n_r_n
lea eax, [ebp - 0xaa4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xaa4]
call fcn.00411701
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0xab0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004117e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xab0]
call fcn.00411701
push 0x428d7c
lea eax, [ebp - 0xabc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xabc]
call fcn.00411701
push str.______
lea eax, [ebp - 0xac8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xac8]
call fcn.00411701
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xad4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004117e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xad4]
call fcn.00411701
push 0x428d7c
lea eax, [ebp - 0xae0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xae0]
call fcn.00411701
push dword [0x630894]
lea eax, [ebp - 0xaec]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xaec]
call fcn.00411701
push str.build_id
lea eax, [ebp - 0xaf8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xaf8]
call fcn.00411701
push str.__r_n_r_n
lea eax, [ebp - 0xb04]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb04]
call fcn.00411701
call fcn.00402278
push eax
lea eax, [ebp - 0xb10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb10]
call fcn.00411701
push 0x428d7c
lea eax, [ebp - 0xb1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb1c]
call fcn.00411701
push str.______
lea eax, [ebp - 0xb28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb28]
call fcn.00411701
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xb34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004117e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb34]
call fcn.00411701
push 0x428d7c
lea eax, [ebp - 0xb40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb40]
call fcn.00411701
push dword [0x630894]
lea eax, [ebp - 0xb4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb4c]
call fcn.00411701
push dword [0x630990]
lea eax, [ebp - 0xb58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb58]
call fcn.00411701
push str.__r_n_r_n
lea eax, [ebp - 0xb64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb64]
call fcn.00411701
push dword [ebp - 0x44]
lea eax, [ebp - 0xb70]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb70]
call fcn.00411701
push 0x428d7c
lea eax, [ebp - 0xb7c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb7c]
call fcn.00411701
push str.______
lea eax, [ebp - 0xb88]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb88]
call fcn.00411701
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xb94]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004117e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xb94]
call fcn.00411701
push 0x428d7c
lea eax, [ebp - 0xba0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xba0]
call fcn.00411701
push dword [0x630894]
lea eax, [ebp - 0xbac]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xbac]
call fcn.00411701
push str.file_data
lea eax, [ebp - 0xbb8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xbb8]
call fcn.00411701
push str.__r_n_r_n
lea eax, [ebp - 0xbc4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
lea ecx, [ebp - 0xbc4]
call fcn.00411701
lea ecx, [ebp - 0x2c]
call fcn.0041193a
push eax
call dword [0x641724]
mov esi, eax
add esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
call fcn.0041193a
push eax
call dword [0x641724]
add esi, eax
mov dword [ebp - 0x48], esi
push dword [ebp - 0x48]
push 0
call dword [0x641870]
push eax
call dword [0x641800]
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x2c]
call fcn.0041193a
push eax
call dword [0x641724]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041193a
push eax
push dword [ebp - 0xa4]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0041193a
push eax
call dword [0x641724]
add eax, dword [ebp - 0xa4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.0041193a
push eax
call dword [0x641724]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041193a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041193a
push eax
call dword [0x641724]
add eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xa4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp - 0x48]
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x18]
call fcn.0041193a
push eax
call dword [0x641724]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041193a
push eax
push dword [ebp - 0x30]
call dword [0x64182c]
push 4
lea eax, [ebp - 0xa4]
push eax
call fcn.00412bcb
mov dword [ebp - 0xa8], 0x100
push 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 0x13
push dword [ebp - 0x30]
call dword [0x6418bc]
test eax, eax
jne 0x4056f7
push str.ERROR
mov ecx, dword [ebp + 8]
call fcn.00411668
lea ecx, [ebp - 0x18]
call fcn.00411701
lea ecx, [ebp - 0x3c]
call fcn.00411701
lea ecx, [ebp - 0x2c]
call fcn.00411701
lea ecx, [ebp - 0xc]
call fcn.00411701
lea ecx, [ebp - 0x94]
call fcn.00411701
lea ecx, [ebp + 0x10]
call fcn.00411701
lea ecx, [ebp + 0x1c]
call fcn.00411701
lea ecx, [ebp + 0x28]
call fcn.00411701
lea ecx, [ebp + 0x34]
call fcn.00411701
mov eax, dword [ebp + 8]
jmp 0x4058bd
lea eax, [ebp - 0x1a8]
push eax
call fcn.00412b90
pop ecx
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xc8
jne 0x4057b5
lea eax, [ebp - 0x988]
push eax
push 0x7cf
lea eax, [ebp - 0x980]
push eax
push dword [ebp - 0x30]
call dword [0x64178c]
mov dword [ebp - 0x984], eax
cmp dword [ebp - 0x984], 0
je 0x40574e
cmp dword [ebp - 0x988], 0
jne 0x405750
jmp 0x405790
mov eax, dword [ebp - 0x988]
mov byte [ebp + eax - 0x980], 0
lea eax, [ebp - 0x980]
push eax
lea eax, [ebp - 0xbd0]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041185b
push eax
lea ecx, [ebp - 0x94]
call fcn.0041177a
lea ecx, [ebp - 0xbd0]
call fcn.00411701
jmp 0x40571a
push str.block
lea ecx, [ebp - 0x94]
call fcn.0041193a
push eax
call dword [0x641840]
test eax, eax
jne 0x4057b3
push 0
call dword [0x641790]
jmp 0x405815
push str.ERROR
mov ecx, dword [ebp + 8]
call fcn.00411668
lea ecx, [ebp - 0x18]
call fcn.00411701
lea ecx, [ebp - 0x3c]
call fcn.00411701
lea ecx, [ebp - 0x2c]
call fcn.00411701
lea ecx, [ebp - 0xc]
call fcn.00411701
lea ecx, [ebp - 0x94]
call fcn.00411701
lea ecx, [ebp + 0x10]
call fcn.00411701
lea ecx, [ebp + 0x1c]
call fcn.00411701
lea ecx, [ebp + 0x28]
call fcn.00411701
lea ecx, [ebp + 0x34]
call fcn.00411701
mov eax, dword [ebp + 8]
jmp 0x4058bd
push dword [ebp - 0x30]
call dword [0x641760]
push dword [ebp - 0x98]
call dword [0x641760]
push 4
lea eax, [ebp - 0x1c]
push eax
call fcn.00412bcb
push 4
lea eax, [ebp - 0x44]
push eax
call fcn.00412bcb
lea ecx, [ebp - 0xc]
call fcn.004118d5
lea ecx, [ebp - 0x2c]
call fcn.004118d5
lea ecx, [ebp - 0x3c]
call fcn.004118d5
lea ecx, [ebp - 0x18]
call fcn.004118d5
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
call fcn.004116b4
lea ecx, [ebp - 0x18]
call fcn.00411701
lea ecx, [ebp - 0x3c]
call fcn.00411701
lea ecx, [ebp - 0x2c]
call fcn.00411701
lea ecx, [ebp - 0xc]
call fcn.00411701
lea ecx, [ebp - 0x94]
call fcn.00411701
lea ecx, [ebp + 0x10]
call fcn.00411701
lea ecx, [ebp + 0x1c]
call fcn.00411701
lea ecx, [ebp + 0x28]
call fcn.00411701
lea ecx, [ebp + 0x34]
call fcn.00411701
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret