Function at 0x461b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x104
mov ebp, dword [esp + 0x120]
mov esi, dword [esp + 0x118]
mov eax, dword [0x50302c]
xor eax, esp
mov dword [esp + 0x100], eax
call fcn.00436810
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x10]
xor edi, edi
xor ebx, ebx
mov esi, str.no_header_line_found_in_key_file
nop
push ecx
call fcn.00435e00
add esp, 4
cmp al, 0xa
je 0x461f39
cmp al, 0xd
je 0x461f39
mov ecx, dword [esp + 0x118]
mov ecx, dword [ecx + 0x10]
cmp dword [ecx + 0xc], 0
jne 0x461f39
cmp al, 0x3a
je 0x461bf6
cmp ebx, 0x27
je 0x461f39
mov byte [esp + ebx + 0xd8], al
add ebx, 1
jmp 0x461bb0
push ecx
call fcn.00435e00
add esp, 4
cmp al, 0x20
jne 0x461f39
mov byte [esp + ebx + 0xd8], 0
lea esi, [esp + 0xd8]
push 0x16
push str.PuTTY_User_Key_File_3
push esi
call int.0049f24d
add esp, 0xc
xor edi, edi
test eax, eax
je 0x461c7a
push 0x16
push str.PuTTY_User_Key_File_2
push esi
call int.0049f24d
add esp, 0xc
test eax, eax
je 0x461c93
push 0x16
push str.PuTTY_User_Key_File_1
push esi
call int.0049f24d
add esp, 0xc
test eax, eax
je 0x461cae
push 0x14
push str.PuTTY_User_Key_File_
push esi
call int.0049f24d
add esp, 0xc
test eax, eax
mov eax, str.PuTTY_key_format_too_new
mov esi, str.not_a_PuTTY_SSH_2_private_key
cmove esi, eax
xor edi, edi
jmp 0x461f39
mov dword [esp + 4], 3
mov dword [esp + 0x10], 0x4d981c
mov al, 1
mov dword [esp], eax
xor ebx, ebx
jmp 0x461ccc
mov dword [esp + 0x10], 0x4d9894
mov dword [esp + 4], 2
mov dword [esp], 0
xor ebx, ebx
jmp 0x461ccc
mov dword [esp + 0x10], 0x4d9894
call fcn.0041f0e0
mov dword [esp + 4], 1
mov bl, 1
mov dword [esp], 0
mov ecx, dword [esp + 0x118]
call fcn.00462660
mov esi, str.file_format_error
test eax, eax
je 0x461f32
mov ebp, eax
mov dword [esp + 0x1c], ebx
push eax
call fcn.004b1830
add esp, 4
push eax
push ebp
call fcn.004618a0
add esp, 8
mov ebx, eax
push ebp
call fcn.004362e0
add esp, 4
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x461f32
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 0x10]
xor edi, edi
xor ebx, ebx
mov ebp, dword [esp + 0x120]
push ecx
call fcn.00435e00
add esp, 4
cmp al, 0xa
je 0x461f39
cmp al, 0xd
je 0x461f39
mov ecx, dword [esp + 0x118]
mov ecx, dword [ecx + 0x10]
cmp dword [ecx + 0xc], 0
jne 0x461f39
cmp al, 0x3a
je 0x461d70
cmp ebx, 0x27
je 0x461f39
mov byte [esp + ebx + 0xd8], al
add ebx, 1
jmp 0x461d2a
push ecx
call fcn.00435e00
add esp, 4
cmp al, 0x20
jne 0x461f39
mov byte [esp + ebx + 0xd8], 0
push 0xb
push str.Encryption
lea eax, [esp + 0xe0]
push eax
call int.0049f24d
add esp, 0xc
test eax, eax
jne 0x461f39
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x461f39
mov ebx, eax
push str.aes256_cbc
push eax
call fcn.004b12e0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x461df0
push str.none
push ebx
call fcn.004b12e0
add esp, 8
test eax, eax
jne 0x461e2b
mov dword [esp + 0xc], str.none
jmp 0x461df8
mov dword [esp + 0xc], str.aes256_cbc
lea edx, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
call fcn.00462600
test al, al
je 0x461e2b
mov eax, 0x6d6d6f43
xor eax, dword [esp + 0xd8]
mov ecx, 0x746e65
xor ecx, dword [esp + 0xdc]
or ecx, eax
je 0x461e39
push ebx
call fcn.004362e0
add esp, 4
jmp 0x461f39
mov ecx, dword [esp + 0x118]
call fcn.00462660
mov dword [esp + 0x18], eax
test eax, eax
je 0x461e2b
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
mov esi, str.file_format_error
test al, al
je 0x461ec7
push 0xd
push str.Public_Lines
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
je 0x461f67
xor ebp, ebp
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp], 0
xor ebx, ebx
push dword [esp + 0x18]
call fcn.004362e0
add esp, 4
push dword [esp + 0x20]
call fcn.004362e0
add esp, 4
test ebp, ebp
je 0x461f01
push ebp
call fcn.004362e0
add esp, 4
cmp dword [esp + 8], 0
je 0x461f14
push dword [esp + 8]
call fcn.004368d0
add esp, 4
cmp dword [esp], 0
je 0x461f25
push dword [esp]
call fcn.004368d0
add esp, 4
test ebx, ebx
je 0x461f32
push ebx
call fcn.004368d0
add esp, 4
mov ebp, dword [esp + 0x120]
push dword [esp + 0x28]
call fcn.004368d0
add esp, 4
test ebp, ebp
je 0x461f4c
mov dword [ebp], esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0049e0f0
mov eax, edi
add esp, 0x104
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x461ec7
mov ebp, eax
mov ecx, eax
call fcn.004626f0
mov edi, eax
push ebp
call fcn.004362e0
add esp, 4
test edi, edi
js 0x461ec7
call fcn.00436810
mov dword [esp + 8], eax
add eax, 0xc
mov ecx, dword [esp + 0x118]
mov edx, edi
push eax
call fcn.00462740
add esp, 4
test al, al
je 0x4622ca
cmp byte [esp], 0
je 0x46229d
mov eax, dword [esp + 0xc]
cmp dword [eax + 8], 0
je 0x46229d
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
test al, al
je 0x4622ca
push 0xf
push str.Key_Derivation
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
jne 0x4622ca
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x4622ca
mov edi, eax
push str.Argon2d
push eax
call fcn.004b12e0
add esp, 8
mov dword [esp], 0
mov ecx, 0
test eax, eax
je 0x46207c
push str.Argon2i
push edi
call fcn.004b12e0
add esp, 8
test eax, eax
je 0x462070
push str.Argon2id
push edi
call fcn.004b12e0
add esp, 8
test eax, eax
je 0x462077
push edi
call fcn.004362e0
add esp, 4
jmp 0x4622ca
mov ecx, 1
jmp 0x46207c
mov ecx, 2
mov dword [esp + 0x40], ecx
push edi
call fcn.004362e0
add esp, 4
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
test al, al
je 0x4624cb
push 0xe
push str.Argon2_Memory
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
jne 0x4622ca
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x4622ca
mov edi, eax
lea edx, [esp + 0x44]
mov ecx, eax
call fcn.00462820
mov ebx, eax
push edi
call fcn.004362e0
add esp, 4
test bl, bl
je 0x4622ca
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
test al, al
je 0x4622ca
push 0xe
push str.Argon2_Passes
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
jne 0x4622ca
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x4622ca
mov edi, eax
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.00462820
mov ebx, eax
push edi
call fcn.004362e0
add esp, 4
test bl, bl
je 0x4622ca
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
test al, al
je 0x4622ca
push 0x13
push str.Argon2_Parallelism
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
jne 0x4622ca
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x4622ca
mov edi, eax
lea edx, [esp + 0x50]
mov ecx, eax
call fcn.00462820
mov ebx, eax
push edi
call fcn.004362e0
add esp, 4
test bl, bl
je 0x4622ca
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
test al, al
je 0x4622ca
push 0xc
push str.Argon2_Salt
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
jne 0x4622ca
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x4622ca
mov edi, eax
mov al, byte [eax]
mov byte [esp], al
test al, al
je 0x462294
add dword [esp + 0x14], 0xc
mov ebp, edi
add ebp, 2
movzx eax, byte [esp]
push eax
call fcn.004b0430
add esp, 4
test eax, eax
je 0x462062
movzx ebx, byte [ebp - 1]
test ebx, ebx
je 0x462062
push ebx
call fcn.004b0430
add esp, 4
test eax, eax
je 0x462062
movzx eax, byte [esp]
mov byte [esp + 0x77], al
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], 0
push 0x10
push 0
lea eax, [esp + 0x7f]
push eax
call fcn.004b1b42
add esp, 0xc
movzx eax, al
push eax
push dword [esp + 0x18]
call fcn.00435a20
add esp, 8
movzx eax, byte [ebp]
add ebp, 2
mov byte [esp], al
test al, al
jne 0x462222
push edi
call fcn.004362e0
add esp, 4
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
test al, al
je 0x4622ca
push 0xe
push str.Private_Lines
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
je 0x4622d3
xor ebp, ebp
xor edi, edi
jmp 0x461ed3
mov ecx, dword [esp + 0x118]
call fcn.00462660
test eax, eax
je 0x4622ca
mov edi, eax
mov ecx, eax
call fcn.004626f0
mov ebp, eax
push edi
call fcn.004362e0
add esp, 4
test ebp, ebp
js 0x4622ca
call fcn.00436870
mov dword [esp], eax
add eax, 0xc
mov ecx, dword [esp + 0x118]
mov edx, ebp
push eax
call fcn.00462740
add esp, 4
test al, al
je 0x4624cb
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00462600
test al, al
je 0x4624cb
push 0xc
push str.Private_MAC
push edi
call int.0049f24d
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x462379
push 0xd
push str.Private_Hash
push edi
call int.0049f24d
add esp, 0xc
test eax, eax
setne al
mov ecx, dword [esp + 0x1c]
xor cl, 1
or cl, al
jne 0x4624cb
mov ecx, dword [esp + 0x118]
call fcn.00462660
mov ebp, eax
test eax, eax
je 0x4624cb
call fcn.00436810
mov ebx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x11c]
test eax, eax
mov ecx, 0x4f31a8
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
push ecx
call fcn.004b1830
add esp, 4
lea edi, [esp + 0x3c]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push edi
push dword [esp + 0x34]
push dword [esp + 0x3c]
lea edi, [esp + 0x68]
push edi
lea edi, [esp + 0x74]
push edi
lea edi, [esp + 0x80]
push edi
push ebx
push eax
push dword [esp + 0x4c]
call fcn.00462870
add esp, 0x24
mov eax, dword [esp]
mov eax, dword [eax + 8]
xor edi, edi
mov dword [esp + 4], eax
xor edx, edx
mov ecx, dword [esp + 0xc]
div dword [ecx + 4]
test edx, edx
jne 0x461edc
cmp dword [esp + 0x38], 0
jne 0x46243a
push dword [esp + 4]
mov eax, dword [esp + 4]
push dword [eax + 4]
push dword [esp + 0x6c]
push dword [esp + 0x78]
call fcn.0048bc40
add esp, 0x10
mov eax, dword [esp]
mov dword [esp + 4], eax
cmp byte [esp + 0x1c], 0
jne 0x4624a3
call fcn.00436870
mov dword [esp + 4], eax
mov esi, eax
add esi, 0xc
mov eax, dword [esp + 0x24]
push dword [eax + 0x60]
push esi
call fcn.00435bb0
add esp, 8
push dword [esp + 0x20]
push esi
call fcn.00435bb0
add esp, 8
push dword [esp + 0x18]
push esi
call fcn.00435bb0
add esp, 8
mov eax, dword [esp + 8]
push dword [eax + 8]
push dword [eax]
push esi
call fcn.00435b60
add esp, 0xc
mov eax, dword [esp]
push dword [eax + 8]
push dword [eax]
push esi
call fcn.00435b60
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x4624d4
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esp + 8]
push dword [eax + 8]
push dword [eax + 4]
push 0x4d9978
call fcn.0048bb30
add esp, 0x10
jmp 0x46252a
xor ebp, ebp
xor edi, edi
jmp 0x461eda
push 0
mov eax, dword [esp + 0x14]
push eax
call dword [eax]
add esp, 8
mov edi, eax
mov eax, dword [eax]
push dword [esp + 0x60]
push dword [esp + 0x60]
push edi
call dword [eax + 8]
add esp, 0xc
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
add esp, 4
mov eax, dword [esp + 4]
push dword [eax + 8]
push dword [eax]
push dword [edi + 4]
call fcn.004359a0
add esp, 0xc
mov eax, dword [edi]
lea ecx, [esp + 0xb8]
push ecx
push edi
call dword [eax + 0x10]
add esp, 8
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
cmp byte [esp + 0x1c], 0
jne 0x46253d
push dword [esp + 4]
call fcn.004368d0
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jle 0x462573
xor esi, esi
lea edi, [esp + 0x77]
movzx eax, byte [esp + esi + 0xb8]
push eax
push 0x4df5b7
push edi
call fcn.00401000
add esp, 0xc
add esi, 1
add edi, 2
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 0x24]
jl 0x46254d
lea eax, [esp + 0x77]
push eax
push ebp
call fcn.004b12e0
add esp, 8
test eax, eax
je 0x4625a8
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
mov ecx, str.MAC_failed
mov esi, str.wrong_passphrase
cmove esi, ecx
mov edi, 0x5051d0
cmove edi, eax
jmp 0x461edc
push 0
push 8
push 1
call fcn.00436250
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp]
push dword [eax + 8]
push dword [eax + 4]
mov eax, dword [esp + 0x10]
push dword [eax + 8]
push dword [eax + 4]
mov eax, dword [esp + 0x34]
push eax
call dword [eax + 4]
add esp, 0x14
mov dword [edi], eax
test eax, eax
je 0x4625ea
xor esi, esi
jmp 0x461ee8
push edi
call fcn.004362e0
add esp, 4
xor edi, edi
mov esi, str.createkey_failed
jmp 0x461ee8