Function at 0x42e350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movups xmm0, xmmword [str._____BEGIN_SSH2_PUBLIC_KEY]
movzx eax, word [0x4a7354]
mov word [ebp - 0x4c], ax
movzx eax, byte [0x4a7356]
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x4a], al
movq xmm0, qword [0x4a734c]
mov eax, dword [0x4a6f4c]
movq qword [ebp - 0x54], xmm0
movups xmm0, xmmword [str.PuTTY_User_Key_File_]
mov dword [ebp - 0x38], eax
movzx eax, byte [0x4a6f50]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x34], al
movups xmm0, xmmword [str._____BEGIN_SSH2_ENCRYPTED_PRIVAT]
movzx eax, byte [0x4a7378]
mov byte [ebp - 0x68], al
mov eax, dword [0x4a7394]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x4a7368]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
movzx eax, word [0x4a7398]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [str._____BEGIN_OPENSSH_PRIVATE_KEY]
mov word [ebp - 0x14], ax
movzx eax, byte [0x4a739a]
push esi
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x12], al
movq xmm0, qword [0x4a738c]
mov eax, dword [0x4a73a4]
push 0x3ff
mov dword [ebp - 8], eax
lea eax, [ebp - 0x488]
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [str._____BEGIN]
push 1
push eax
movq qword [ebp - 0x10], xmm0
call fcn.00477117
push esi
mov edi, eax
call fcn.00477248
add esp, 0x14
test edi, edi
jns 0x42e454
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
cmp edi, 0x20
jge 0x42e46e
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
cmp edi, 0x400
jae 0x42e6cd
mov byte [ebp + edi - 0x488], 0
lea ecx, [ebp - 0x488]
mov edx, str.SSH_PRIVATE_KEY_FILE_FORMAT_1.1_n
mov esi, 0x1c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e4b8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e492
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x16
lea edx, [ebp - 0x64]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e4f4
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e4c6
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42e4f4
pop edi
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x10
lea edx, [ebp - 0x48]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e528
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e502
pop edi
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x1a
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e564
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e536
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42e564
pop edi
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 7
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e5a8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e572
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42e5a8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42e5a8
pop edi
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x1c
lea edx, [ebp - 0x88]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42e5e6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42e5c0
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push str.0123456789
push eax
call fcn.004693d0
lea esi, [ebp - 0x488]
add esp, 8
add esi, eax
cmp byte [esi], 0x20
jne 0x42e657
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.004693d0
inc esi
add esp, 8
add esi, eax
cmp byte [esi], 0x20
jne 0x42e657
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.004693d0
inc eax
add esp, 8
add eax, esi
mov al, byte [eax]
cmp al, 0x20
je 0x42e642
cmp al, 0xa
je 0x42e642
test al, al
jne 0x42e657
pop edi
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448c15
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push 0x4a729c
push eax
call fcn.00469380
lea esi, [ebp - 0x488]
add esi, eax
lea ecx, [ebp - 0x488]
lea eax, [ebp - 0x488]
push eax
mov eax, esi
sub eax, ecx
push eax
call fcn.0042e250
add esp, 0x10
test eax, eax
je 0x42e459
lea eax, [esi + 1]
push str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push eax
call fcn.004693d0
inc eax
add esp, 8
add eax, esi
mov al, byte [eax]
cmp al, 0x20
je 0x42e6b8
cmp al, 0xa
je 0x42e6b8
test al, al
jne 0x42e459
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
xor ecx, ebp
pop esi
call fcn.00448c15
mov esp, ebp
pop ebp
ret
call fcn.00448d47
int3