Function at 0x412c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x483600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movups xmm0, xmmword [str._____BEGIN_SSH2_PUBLIC_KEY]
movzx eax, word [0x474ad0]
mov word [ebp - 0x4c], ax
movzx eax, byte [0x474ad2]
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x4a], al
movq xmm0, qword [0x474ac8]
mov eax, dword [0x4746ac]
movq qword [ebp - 0x54], xmm0
movups xmm0, xmmword [str.PuTTY_User_Key_File_]
mov dword [ebp - 0x38], eax
movzx eax, byte [0x4746b0]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x34], al
movups xmm0, xmmword [str._____BEGIN_SSH2_ENCRYPTED_PRIVAT]
movzx eax, byte [0x474af4]
mov byte [ebp - 0x68], al
mov eax, dword [0x474b10]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x474ae4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
movzx eax, word [0x474b14]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [str._____BEGIN_OPENSSH_PRIVATE_KEY]
mov word [ebp - 0x14], ax
movzx eax, byte [0x474b16]
push esi
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x12], al
movq xmm0, qword [0x474b08]
mov eax, dword [0x474b20]
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.0044a974
push esi
mov edi, eax
call fcn.0044af9f
add esp, 0x14
test edi, edi
jns 0x412d84
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
mov esp, ebp
pop ebp
ret
cmp edi, 0x20
jge 0x412d9e
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
mov esp, ebp
pop ebp
ret
cmp edi, 0x400
jae 0x412ff1
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 0x412de8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412dc2
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
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 0x412e24
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412df6
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x412e24
pop edi
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
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 0x412e58
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412e32
pop edi
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
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 0x412e94
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412e66
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x412e94
pop edi
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
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 0x412ed8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412ea2
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x412ed8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x412ed8
pop edi
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
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 0x412f16
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412ef0
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push str.0123456789
push eax
call fcn.004496c0
lea esi, [ebp - 0x488]
add esp, 8
add esi, eax
cmp byte [esi], 0x20
jne 0x412f86
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.004496c0
add esi, eax
add esp, 8
cmp byte [esi + 1], 0x20
jne 0x412f86
lea eax, [esi + 2]
push str.0123456789
push eax
call fcn.004496c0
add esp, 8
mov al, byte [eax + esi + 2]
cmp al, 0x20
je 0x412f71
cmp al, 0xa
je 0x412f71
test al, al
jne 0x412f86
pop edi
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fbe4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push 0x474a10
push eax
call fcn.00449670
lea ecx, [ebp - 0x488]
push ecx
lea esi, [ebp - 0x488]
push eax
add esi, eax
call fcn.00412b60
add esp, 0x10
test eax, eax
je 0x412d89
lea eax, [esi + 1]
push str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push eax
call fcn.004496c0
add esp, 8
mov al, byte [eax + esi + 1]
cmp al, 0x20
je 0x412fdc
cmp al, 0xa
je 0x412fdc
test al, al
jne 0x412d89
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
xor ecx, ebp
pop esi
call fcn.0041fbe4
mov esp, ebp
pop ebp
ret
call fcn.0041fd14
int3