Function at 0x4011b0
Capabilities:
Get file attributes
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 4], edi
mov eax, dword [0x423030]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
test eax, eax
mov dword [ebp - 8], esi
je 0x401270
mov dword [esp], 0x423d7c
lea edx, [ebp - 0x98]
mov dword [esp + 4], edx
call sub.msys_1.0.dll_stat
test eax, eax
js 0x401336
mov dword [esp], 0x423d7c
xor ebx, ebx
mov dword [esp + 4], ebx
call fcn.0040eb10
test eax, eax
mov esi, eax
je 0x401286
mov edx, dword [esi]
test edx, edx
je 0x401347
mov dword [esp], esi
lea edx, [ebp - 0xa0]
lea ebx, [ebp - 0x9c]
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.00408860
test eax, eax
jg 0x401371
mov eax, dword [0x423d34]
mov edi, 0x13
mov esi, 1
mov ecx, dword [eax + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0xc], ecx
mov dword [esp], str.key_to_blob_failed_n
call sub.msys_1.0.dll_fwrite
mov dword [esp], 1
call sub.msys_1.0.dll_exit
lea esi, [esi]
mov dword [esp], edi
mov esi, str.Enter_file_in_which_the_key_is
mov dword [esp + 4], esi
call fcn.00401040
jmp 0x4011d2
mov dword [esp], 0x423d7c
xor eax, eax
mov ecx, 0x41ba1b
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.0040e9e0
test eax, eax
mov ebx, eax
je 0x4012e0
test ebx, ebx
mov esi, ebx
jne 0x401208
mov esi, dword [0x423d34]
mov ecx, 0xc
mov edi, 1
mov eax, dword [esi + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov dword [esp], str.load_failed_n
jmp 0x40125b
mov eax, dword [0x423034]
test eax, eax
je 0x401461
mov dword [esp], eax
call fcn.0040cf00
mov dword [esp + 4], eax
mov esi, eax
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp], 0x423d7c
call fcn.0040e9e0
mov dword [esp], esi
mov ebx, eax
call sub.msys_1.0.dll_strlen
mov dword [esp + 8], eax
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp], esi
call sub.msys_1.0.dll_memset
mov dword [esp], esi
call fcn.0040ced0
jmp 0x4012a7
mov dword [esp], 0x423d7c
call sub.msys_1.0.dll_perror
jmp 0x401260
mov eax, dword [0x423d34]
mov edi, 0x21
mov ebx, 1
mov ecx, dword [eax + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], str.version_1_keys_are_not_supported_n
jmp 0x40125b
mov dword [esp], esi
call fcn.00407a40
mov dword [esp], esi
mov ebx, eax
call fcn.00407ae0
mov ecx, 0x423d3c
mov dword [esp + 0x18], ecx
mov edx, dword [edi]
mov edi, 0x3d
mov dword [esp + 4], edi
mov ecx, str._u_bit__s__converted_by__s__s_from_OpenSSH
lea edi, [ebp - 0x58]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov ebx, str._____BEGIN_SSH2_PUBLIC_KEY_____
mov dword [esp + 8], ecx
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sub.msys_1.0.dll_snprintf
mov dword [esp + 8], ebx
mov eax, dword [0x423d34]
mov edx, 0x41ba9c
mov dword [esp + 4], edx
mov ebx, str.Comment:___s__n
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call sub.msys_1.0.dll_fprintf
mov dword [esp + 8], edi
mov edx, dword [0x423d34]
mov dword [esp + 4], ebx
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.msys_1.0.dll_fprintf
mov ecx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
mov ebx, dword [0x423d34]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov edx, dword [ebx + 8]
mov dword [esp], edx
call fcn.00411660
mov edi, dword [0x423d34]
mov ecx, 0x41ba9c
mov eax, str._____END_SSH2_PUBLIC_KEY_____
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ebx, dword [edi + 8]
mov dword [esp], ebx
call sub.msys_1.0.dll_fprintf
mov dword [esp], esi
call fcn.004067f0
mov edx, dword [ebp - 0xa0]
mov dword [esp], edx
call fcn.0040ced0
mov dword [esp], 0
call sub.msys_1.0.dll_exit
mov dword [esp], str.Enter_passphrase:
mov esi, 2
mov dword [esp + 4], esi
call fcn.00411e00
jmp 0x4012f5