Function at 0x4163b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x4ac600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movups xmm0, xmmword [str._____BEGIN_SSH2_PUBLIC_KEY]
movzx eax, word [0x4a02d8]
mov word [ebp - 0x4c], ax
movzx eax, byte [0x4a02da]
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x4a], al
movq xmm0, qword [0x4a02d0]
mov eax, dword [0x49fed0]
movq qword [ebp - 0x54], xmm0
movups xmm0, xmmword [str.qwert_User_Key_File_]
mov dword [ebp - 0x38], eax
movzx eax, byte [0x49fed4]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x34], al
movups xmm0, xmmword [str._____BEGIN_SSH2_ENCRYPTED_PRIVAT]
movzx eax, byte [0x4a02fc]
mov byte [ebp - 0x68], al
mov eax, dword [0x4a0318]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x4a02ec]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
movzx eax, word [0x4a031c]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [str._____BEGIN_OPENSSH_PRIVATE_KEY]
mov word [ebp - 0x14], ax
movzx eax, byte [0x4a031e]
push esi
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x12], al
movq xmm0, qword [0x4a0310]
mov eax, dword [0x497370]
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.00471ec3
push esi
mov edi, eax
call fcn.004724ee
add esp, 0x14
test edi, edi
jns 0x4164b4
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
mov esp, ebp
pop ebp
ret
cmp edi, 0x20
jge 0x4164ce
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
mov esp, ebp
pop ebp
ret
cmp edi, 0x400
jae 0x416721
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 0x416518
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4164f2
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
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 0x416554
add ecx, 4
add edx, 4
sub esi, 4
jae 0x416526
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x416554
pop edi
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
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 0x416588
add ecx, 4
add edx, 4
sub esi, 4
jae 0x416562
pop edi
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
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 0x4165c4
add ecx, 4
add edx, 4
sub esi, 4
jae 0x416596
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4165c4
pop edi
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
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 0x416608
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4165d2
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x416608
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x416608
pop edi
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
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 0x416646
add ecx, 4
add edx, 4
sub esi, 4
jae 0x416620
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push str.0123456789
push eax
call fcn.00471840
lea esi, [ebp - 0x488]
add esp, 8
add esi, eax
cmp byte [esi], 0x20
jne 0x4166b6
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.00471840
add esi, eax
add esp, 8
cmp byte [esi + 1], 0x20
jne 0x4166b6
lea eax, [esi + 2]
push str.0123456789
push eax
call fcn.00471840
add esp, 8
mov al, byte [eax + esi + 2]
cmp al, 0x20
je 0x4166a1
cmp al, 0xa
je 0x4166a1
test al, al
jne 0x4166b6
pop edi
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439f9e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push 0x4a0224
push eax
call fcn.004717f0
lea ecx, [ebp - 0x488]
push ecx
lea esi, [ebp - 0x488]
push eax
add esi, eax
call fcn.004162b0
add esp, 0x10
test eax, eax
je 0x4164b9
lea eax, [esi + 1]
push str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push eax
call fcn.00471840
add esp, 8
mov al, byte [eax + esi + 1]
cmp al, 0x20
je 0x41670c
cmp al, 0xa
je 0x41670c
test al, al
jne 0x4164b9
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
xor ecx, ebp
pop esi
call fcn.00439f9e
mov esp, ebp
pop ebp
ret
call fcn.0043a100
int3