Function at 0x439e20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
push ecx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
push eax
mov dword [ebp - 0x2c], ecx
call fcn.00442200
add esp, 0x10
test eax, eax
je 0x439f44
cmp eax, 2
jne 0x439e9b
cmp dword [0x482348], 0
push esi
push ebx
je 0x439e94
push str.WARNING___POTENTIAL_SECURITY_BREACH__nThe_servers_host_key_does_not_match_the_one_PuTTY_has_ncached_in_the_registry._This_means_that_either_the_nserver_administrator_has_changed_the_host_key__or_you_nhave_actually_connected_to_another_computer_pretending_nto_be_the_server._nThe_new__s_key_fingerprint_is:_n_s_nConnection_abandoned._n
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
add esp, 0x10
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
push str.WARNING___POTENTIAL_SECURITY_BREACH__nThe_servers_host_key_does_not_match_the_one_PuTTY_has_ncached_in_the_registry._This_means_that_either_the_nserver_administrator_has_changed_the_host_key__or_you_nhave_actually_connected_to_another_computer_pretending_nto_be_the_server._nThe_new__s_key_fingerprint_is:_n_s_nIf_you_were_expecting_this_change_and_trust_the_new_key__nenter__y__to_update_PuTTYs_cache_and_continue_connecting._nIf_you_want_to_carry_on_connecting_but_without_updating_nthe_cache__enter__n_._nIf_you_want_to_abandon_the_connection_completely__press_nReturn_to_cancel._Pressing_Return_is_the_ONLY_guaranteed_nsafe_choice._nUpdate_cached_key___y_n__Return_cancels_connection_
jmp 0x439eb7
cmp eax, 1
jne 0x439ed7
cmp dword [0x482348], 0
push esi
push ebx
je 0x439eb2
push str.The_servers_host_key_is_not_cached_in_the_registry._You_nhave_no_guarantee_that_the_server_is_the_computer_you_nthink_it_is._nThe_servers__s_key_fingerprint_is:_n_s_nConnection_abandoned._n
jmp 0x439e6f
push str.The_servers_host_key_is_not_cached_in_the_registry._You_nhave_no_guarantee_that_the_server_is_the_computer_you_nthink_it_is._nThe_servers__s_key_fingerprint_is:_n_s_nIf_you_trust_this_host__enter__y__to_add_the_key_to_nPuTTYs_cache_and_carry_on_connecting._nIf_you_want_to_carry_on_connecting_just_once__without_nadding_the_key_to_the_cache__enter__n_._nIf_you_do_not_trust_this_host__press_Return_to_abandon_the_nconnection._nStore_key_in_cache___y_n_
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.0044ada3
push eax
call fcn.0044b137
add esp, 0x18
push edi
push 0xfffffffffffffff6
mov byte [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
or ecx, 7
push ecx
push edi
call esi
push 0
lea eax, [ebp - 0x34]
push eax
push 0x1f
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
push edi
call esi
mov al, byte [ebp - 0x24]
pop edi
test al, al
je 0x439f59
cmp al, 0xd
je 0x439f59
cmp al, 0xa
je 0x439f59
cmp al, 0x79
je 0x439f32
cmp al, 0x59
jne 0x439f44
push dword [ebp - 0x2c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call fcn.004420b0
add esp, 0x10
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
push 0x4710b8
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop esi
pop ebx
call fcn.00443ced
mov esp, ebp
pop ebp
ret