Function at 0x413620
Capabilities:
Check http status code

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
mov eax, dword [esi]
mov ebp, dword [esi + 0x338]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x70]
lea edi, [eax + 0x2ec]
test ecx, ecx
jne 0x41364c
mov ebx, esi
mov dword [esp + 0x18], ebp
jmp 0x413652
mov ebx, ebp
mov dword [esp + 0x18], esi
push esi
call fcn.00413950
add esp, 4
test eax, eax
jne 0x413947
push str.PASV
push 0x440f18
push ebx
call fcn.00412e80
add esp, 0xc
test eax, eax
jne 0x413947
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
call fcn.0040faa0
add esp, 0xc
test eax, eax
jne 0x413947
mov eax, dword [esp + 0x6c]
cmp eax, 0xe3
je 0x4136c4
mov edx, dword [esp + 0x14]
push eax
push str.Odd_return_code_after_PASV:__03d
push edx
call fcn.0040dc60
add esp, 0xc
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
cmp byte [edi], 0
je 0x413707
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
push str._d__d__d__d__d__d
push edi
call fcn.004208fd
add esp, 0x20
cmp eax, 6
je 0x413702
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4136c9
cmp byte [edi], 0
jne 0x413724
mov eax, dword [ebx]
push str.Couldnt_interpret_the_227_reply
push eax
call fcn.0040dc60
add esp, 8
mov eax, 0xe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push str._d__d__d__d__d__d
lea ecx, [esp + 0x50]
push 0x32
push ecx
call sym.SportLauncher.exe_curl_msnprintf
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x58]
push edx
push str.PORT__s
push edi
call fcn.00412e80
add esp, 0x30
test eax, eax
jne 0x413947
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push eax
push edi
push ecx
call fcn.0040faa0
add esp, 0xc
test eax, eax
jne 0x413947
mov eax, dword [esp + 0x6c]
cmp eax, 0xc8
je 0x4137b8
mov edx, dword [esp + 0x14]
push eax
push str.PORT_command_attempts_failed:__03d
push edx
call fcn.0040dc60
add esp, 0xc
mov eax, 0x1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ebx, dword [esp + 0x14]
mov edi, str.APPE
mov al, byte [ebx + 0x187]
test al, al
jne 0x4137d0
mov edi, str.STOR
mov eax, dword [ebp + 0x50]
push eax
push str.RETR__s
push ebp
call fcn.00412e80
add esp, 0xc
test eax, eax
jne 0x413947
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x4138a3
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x10]
push ecx
push ebp
push edx
call fcn.0040faa0
add esp, 0xc
test eax, eax
jne 0x413947
mov eax, dword [esp + 0x6c]
cmp eax, 0x96
je 0x41383c
cmp eax, 0x7d
je 0x41383c
push eax
push str.Failed_RETR:__03d
push ebx
call fcn.0040dc60
add esp, 0xc
mov eax, 0x13
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov eax, dword [esi + 0x16c]
mov ecx, dword [eax + 0x1c]
push ecx
push edi
push str._s__s
push esi
call fcn.00412e80
add esp, 0x10
test eax, eax
jne 0x413947
lea edx, [esp + 0x6c]
lea eax, [esp + 0x10]
push edx
push esi
push eax
call fcn.0040faa0
add esp, 0xc
test eax, eax
jne 0x413947
mov eax, dword [esp + 0x6c]
cmp eax, 0x190
jl 0x413945
push eax
push str.Failed_FTP_upload:__03d
push ebx
call fcn.0040dc60
add esp, 0xc
mov eax, 0x19
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [esi + 0x16c]
mov edx, dword [ecx + 0x1c]
push edx
push edi
push str._s__s
push esi
call fcn.00412e80
add esp, 0x10
test eax, eax
jne 0x413947
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push eax
push ebp
push ecx
call fcn.0040faa0
add esp, 0xc
test eax, eax
jne 0x413947
mov eax, dword [esp + 0x6c]
cmp eax, 0x190
jl 0x413902
push eax
push str.Failed_FTP_upload:__03d
push ebx
call fcn.0040dc60
add esp, 0xc
mov eax, 0x19
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
lea edx, [esp + 0x6c]
lea eax, [esp + 0x10]
push edx
push esi
push eax
call fcn.0040faa0
add esp, 0xc
test eax, eax
jne 0x413947
mov eax, dword [esp + 0x6c]
cmp eax, 0x96
je 0x413945
cmp eax, 0x7d
je 0x413945
push eax
push str.Failed_FTP_upload:__03d
push ebx
call fcn.0040dc60
add esp, 0xc
mov eax, 0x19
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret