Function at 0x436b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x4e080c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movups xmm0, xmmword [str._____BEGIN_SSH2_PUBLIC_KEY]
movzx eax, word [0x4cb444]
mov word [ebp - 0x4c], ax
movzx eax, byte [0x4cb446]
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x4a], al
movq xmm0, qword [0x4cb43c]
mov eax, dword [0x4cb03c]
movq qword [ebp - 0x54], xmm0
movups xmm0, xmmword [str.PuTTY_User_Key_File_]
mov dword [ebp - 0x38], eax
movzx eax, byte [0x4cb040]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x34], al
movups xmm0, xmmword [str._____BEGIN_SSH2_ENCRYPTED_PRIVAT]
movzx eax, byte [0x4cb468]
mov byte [ebp - 0x68], al
mov eax, dword [0x4cb484]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x4cb458]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
movzx eax, word [0x4cb488]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [str._____BEGIN_OPENSSH_PRIVATE_KEY]
mov word [ebp - 0x14], ax
movzx eax, byte [0x4cb48a]
push esi
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x12], al
movq xmm0, qword [0x4cb47c]
mov eax, dword [0x4cb494]
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.004958f7
push esi
mov edi, eax
call fcn.00495a28
add esp, 0x14
test edi, edi
jns 0x436c94
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
mov esp, ebp
pop ebp
ret
cmp edi, 0x20
jge 0x436cae
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
mov esp, ebp
pop ebp
ret
cmp edi, 0x400
jae 0x436f0d
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 0x436cf8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x436cd2
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
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 0x436d34
add ecx, 4
add edx, 4
sub esi, 4
jae 0x436d06
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x436d34
pop edi
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
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 0x436d68
add ecx, 4
add edx, 4
sub esi, 4
jae 0x436d42
pop edi
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
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 0x436da4
add ecx, 4
add edx, 4
sub esi, 4
jae 0x436d76
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x436da4
pop edi
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
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 0x436de8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x436db2
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x436de8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x436de8
pop edi
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
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 0x436e26
add ecx, 4
add edx, 4
sub esi, 4
jae 0x436e00
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push str.0123456789
push eax
call fcn.0048be30
lea esi, [ebp - 0x488]
add esp, 8
add esi, eax
cmp byte [esi], 0x20
jne 0x436e97
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.0048be30
inc esi
add esp, 8
add esi, eax
cmp byte [esi], 0x20
jne 0x436e97
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.0048be30
inc eax
add esp, 8
add eax, esi
mov al, byte [eax]
cmp al, 0x20
je 0x436e82
cmp al, 0xa
je 0x436e82
test al, al
jne 0x436e97
pop edi
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465775
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push 0x4cb38c
push eax
call fcn.0048bde0
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.00436a90
add esp, 0x10
test eax, eax
je 0x436c99
lea eax, [esi + 1]
push str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push eax
call fcn.0048be30
inc eax
add esp, 8
add eax, esi
mov al, byte [eax]
cmp al, 0x20
je 0x436ef8
cmp al, 0xa
je 0x436ef8
test al, al
jne 0x436c99
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
xor ecx, ebp
pop esi
call fcn.00465775
mov esp, ebp
pop ebp
ret
call fcn.004658a7
int3