Function at 0x404316
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
lea edx, [ebp - 0x28]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5a1931
mov dword [esp], eax
call fcn.0040117a
test eax, eax
je 0x4044c8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x2c]
mov dword [esp + 8], edx
lea edx, [ebp - 0x50]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0042ba94
test eax, eax
je 0x40439c
mov ebx, dword [ebp - 0x28]
mov dword [esp], str.protocol_error:_expected_sha_ref__got__s
call fcn.004013c5
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae00f
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4043b1
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x4043df
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test al, al
jne 0x4043c4
mov dword [ebp - 0x1c], 0x5a1097
jmp 0x4043df
mov ebx, dword [ebp - 0x28]
mov dword [esp], str.protocol_error:_expected_sha_ref__got__s
call fcn.004013c5
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae00f
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0046d854
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 4]
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00401396
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jl 0x40447a
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x10]
mov eax, edx
add eax, eax
add eax, edx
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
cmp dword [ebp - 0x18], eax
jl 0x40443d
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x404455
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x10]
mov eax, edx
add eax, eax
add eax, edx
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], 4
call fcn.004011df
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.004b4420
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x18], edx
lea edx, [eax*4]
mov eax, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401263
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0048c0aa
cmp eax, 0xffffffff
jne 0x4044e6
jmp 0x404578
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov dword [esp], str.http_transport_does_not_support__s
call fcn.004013c5
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae00f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
movzx eax, byte [eax]
test al, al
jne 0x40433f
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004042bc
test eax, eax
jne 0x40450f
jmp 0x404533
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x4f6
mov dword [esp], str.remote_curl.c
call fcn.00499d7f
mov dword [esp], eax
call sub.cygwin1.dll_exit
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.0046d9c9
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [esp], 0xa
call sub.cygwin1.dll_putchar
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.cygwin1.dll_fflush
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401263
mov ebx, dword [ebp - 4]
leave
ret