Function at 0x405ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x405d10
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov ebp, eax
je 0x405c90
mov dword [esp + 4], 0x3d
mov dword [esp], eax
call sub.cygwin1.dll_strchr
test eax, eax
mov ebx, eax
mov dword [esp + 0x34], eax
je 0x405c70
lea edx, [eax + 1]
movzx eax, byte [eax + 1]
cmp al, 0x28
setne cl
or cl, byte [esp + 0x28]
cmp ebx, ebp
jbe 0x405cb3
test cl, cl
mov dword [esp + 0x34], edx
mov byte [ebx], 0
mov dword [esp + 0x2c], ebp
je 0x405d3d
cmp al, 0x40
je 0x405df0
cmp al, 0x3c
je 0x405dd0
cmp byte [esp + 0x28], 0
jne 0x405ddb
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
xor edx, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
call fcn.00404be0
test eax, eax
mov ebx, eax
mov edx, dword [esp + 0x38]
js 0x405c90
mov eax, dword [esp + 0x7c]
mov edi, dword [eax]
mov dword [esp], edx
call sub.cygwin1.dll_strdup
test eax, eax
mov esi, eax
je 0x405c90
mov eax, edi
mov edx, 2
call fcn.00404930
test eax, eax
mov edi, eax
je 0x4060e7
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x405c15
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [edi + 0x14], eax
je 0x405c90
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x405c2c
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [edi + 0x18], eax
je 0x405c90
mov eax, dword [esp + 0x44]
test eax, eax
je 0x405c43
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [edi + 0x1c], eax
je 0x405c90
test ebx, ebx
jne 0x405fc0
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
je 0x405c99
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [edi + 0x10], eax
sete al
movzx eax, al
mov esi, eax
jmp 0x405c99
mov dword [esp + 4], str.Illegally_formatted_input_field
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
call fcn.0040b870
lea esi, [esi]
mov ebx, dword [esp + 0x48]
mov esi, 1
mov dword [esp], ebp
call sub.cygwin1.dll_free
mov dword [esp], ebx
call sub.cygcurl_4.dll_curl_slist_free_all
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test cl, cl
mov dword [esp + 0x34], edx
mov byte [ebx], 0
je 0x405d35
mov ecx, 2
mov esi, edx
mov edi, 0x41ce4c
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
movsx esi, cl
test esi, esi
jne 0x405fa3
cmp byte [esp + 0x28], 0
jne 0x405fb0
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x4060fd
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x48]
mov dword [edi], eax
jmp 0x405c99
xor eax, eax
mov edx, 1
call fcn.00404930
mov edi, dword [esp + 0x78]
test eax, eax
mov dword [edi], eax
je 0x405f93
mov edi, dword [esp + 0x7c]
mov dword [edi], eax
jmp 0x405b00
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
xor edx, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
call fcn.00404be0
test eax, eax
js 0x405c90
mov eax, dword [esp + 0x7c]
mov edx, 1
mov eax, dword [eax]
call fcn.00404930
test eax, eax
mov edi, eax
je 0x405c90
mov eax, dword [esp + 0x7c]
mov dword [eax], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4060e0
mov dword [esp], eax
xor ebx, ebx
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [edi + 0x18], eax
jne 0x405c4f
jmp 0x405c94
cmp byte [esp + 0x28], 0
je 0x405ff0
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x405bbe
cmp byte [esp + 0x28], 0
jne 0x405ddb
xor ebx, ebx
mov dword [esp + 0x28], ebp
mov edi, dword [esp + 0x70]
jmp 0x405ead
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov ecx, 1
mov dword [esp], eax
mov eax, ebx
call fcn.00404970
test eax, eax
mov ebp, eax
je 0x405f20
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], 0x1a
mov dword [esp + 0x48], 0
mov dword [ebp + 0x20], eax
mov eax, dword [edi + 0x2c0]
mov dword [ebp + 0x40], eax
je 0x405f32
mov eax, dword [esp + 0x40]
test eax, eax
je 0x405e6f
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [ebp + 0x14], eax
je 0x405f20
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x405e8a
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [ebp + 0x18], eax
je 0x405f20
mov eax, dword [esp + 0x44]
test eax, eax
je 0x405ea1
mov dword [esp], eax
call sub.cygwin1.dll_strdup
test eax, eax
mov dword [ebp + 0x1c], eax
je 0x405f20
test esi, esi
je 0x4060c3
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x48]
add edx, 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, 0x2c
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov eax, edi
call fcn.00404be0
test eax, eax
mov esi, eax
js 0x405f20
test ebx, ebx
jne 0x405e10
mov eax, dword [esp + 0x7c]
cmp esi, 0x2c
mov ebx, dword [eax]
jne 0x405e10
mov eax, ebx
mov edx, 1
call fcn.00404930
test eax, eax
mov ebx, eax
jne 0x405e10
nop
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov esi, 1
jmp 0x405c99
cmp dword [ebp + 0x34], 0
jl 0x405f66
jle 0x405f60
mov ebp, dword [esp + 0x28]
mov dword [esp + 4], str.error_while_reading_standard_input
mov dword [esp], eax
mov esi, 1
call fcn.0040b870
mov ebx, dword [esp + 0x48]
jmp 0x405c99
cmp dword [ebp + 0x30], 0
ja 0x405f3a
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x30], 0xffffffff
mov dword [ebp + 0x34], 0xffffffff
mov dword [esp + 0x4c], 0
jmp 0x405e54
mov ebx, dword [esp + 0x48]
mov esi, 1
xor ebp, ebp
jmp 0x405c99
mov dword [esp + 0x2c], 0
jmp 0x405b5f
mov dword [esp + 0x2c], 0
jmp 0x405ddb
mov eax, dword [esp + 0x34]
mov byte [eax], bl
mov eax, dword [esp + 0x34]
mov dword [esp + 4], str.garbage_at_end_of_field_specification:__s
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
call fcn.0040b870
jmp 0x405c4b
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
add ebx, 2
xor edx, edx
mov dword [esp + 8], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
call fcn.00404be0
test eax, eax
mov ebx, eax
js 0x405c90
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
call fcn.00404970
test eax, eax
mov edi, eax
je 0x405c90
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], 0x1a
mov dword [esp + 0x48], 0
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x2c0]
mov dword [edi + 0x40], eax
jne 0x405bfe
cmp dword [edi + 0x34], 0
jl 0x406096
jg 0x405f3e
cmp dword [edi + 0x30], 0
ja 0x405f3e
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0xffffffff
mov dword [esp + 0x4c], 0
jmp 0x405bfe
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov eax, dword [eax]
mov edi, dword [eax + 0x24]
jmp 0x405c4f
xor ebx, ebx
jmp 0x405c4f
mov dword [esp], esi
mov esi, 1
call sub.cygwin1.dll_free
mov ebx, dword [esp + 0x48]
jmp 0x405c99
mov dword [esp + 4], str.no_multipart_to_terminate
jmp 0x405c78