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

Disassembly:
mov eax, 0x2068
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x2064], eax
push ebx
push ebp
push esi
xor ebp, ebp
mov eax, 0x5d5c58
xor esi, esi
push edi
mov byte [esp + 0x13], 0
xor ebx, ebx
mov dword [esp + 0x14], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x420bb3
sub eax, edx
sar eax, 1
jne 0x420d72
lea eax, [esp + 0x18]
push eax
call fcn.0041ae00
add esp, 4
test eax, eax
jne 0x420beb
push str.Cant_open_file_te225pass_n
call fcn.0041a700
add esp, 4
jmp 0x420cab
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046a76a
mov edx, dword [esp + 0x1c]
push edx
mov esi, eax
call fcn.004690f0
add esp, 8
cmp esi, 0x352
mov byte [esp + 0x13], 1
jg 0x420c4e
je 0x420c3f
mov eax, esi
sub eax, 0x313
je 0x420c30
sub eax, 0x1b
jne 0x420c5c
mov ebx, 0x464fb0
mov dword [esp + 0x14], 0x419dc0
jmp 0x420cab
mov ebx, 0x4645d0
mov dword [esp + 0x14], 0x419dc0
jmp 0x420cab
mov ebx, 0x465b00
mov dword [esp + 0x14], 0x419dc0
jmp 0x420cab
mov eax, esi
sub eax, 0x425
je 0x420c9e
sub eax, 0x2c
je 0x420c8f
push str.Wrong_version_in_te225pass_n
call fcn.0041a700
add esp, 4
mov eax, 0x4e2f0c
cmp dword [0x584064], ebp
jne 0x420c7b
mov eax, str.Password_file_damaged.
push 0x30
push 0x4e01e0
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x420fa2
mov ebx, 0x43c110
mov dword [esp + 0x14], 0x419dc0
jmp 0x420cab
mov ebx, 0x439de0
mov dword [esp + 0x14], 0x419dc0
push 0x58
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00468ca0
push 0x2000
lea ecx, [esp + 0x84]
push ebp
push ecx
call fcn.00468ca0
mov eax, 0x1000
add esp, 0x18
lea edx, [esp + 0x74]
mov dword [esp + 0x1c], 0x58
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
cmp dword [0x584064], ebp
je 0x420d05
mov dword [esp + 0x28], 0x4e2e98
mov dword [esp + 0x4c], 0x4e2e58
jmp 0x420d15
mov dword [esp + 0x28], 0x4e2e1c
mov dword [esp + 0x4c], 0x4e2dec
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
jne 0x420d96
mov eax, 0x4e2da0
cmp dword [0x584064], ebp
jne 0x420d36
mov eax, str.OpenFile_dialog_error.
push 0x30
push 0x4e01e0
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetOpenFileName___error._GetLastError___d_n
push 0x400
push 0x584090
call fcn.00469c7b
push 0x584090
call fcn.0041a5a0
add esp, 0x14
jmp 0x420fa2
xor eax, eax
jmp 0x420d80
movzx ecx, word [eax + 0x5d5c58]
mov word [esp + eax + 0x74], cx
add eax, 2
cmp cx, bp
jne 0x420d80
jmp 0x420d9e
cmp esi, ebp
jne 0x420f90
lea ecx, [esp + 0x74]
push ecx
push str.Selected_file:__s_n
push 0x400
push 0x584090
call fcn.00469c7b
push 0x584090
call fcn.0041a5a0
add esp, 0x14
cmp dword [0x527c08], ebp
je 0x420f2f
mov esi, 0x527c08
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0046977d
add esp, 8
test eax, eax
je 0x420f19
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov esi, 0x4e2ce0
mov edx, ecx
lea esp, [esp]
mov di, word [edx]
cmp di, word [esi]
jne 0x420e26
test di, di
je 0x420e22
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x420e26
add edx, 4
add esi, 4
test di, di
jne 0x420e00
xor edx, edx
jmp 0x420e2b
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x420f68
mov esi, str..qwe
mov edx, ecx
lea ebx, [ebx]
mov di, word [edx]
cmp di, word [esi]
jne 0x420e66
test di, di
je 0x420e62
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x420e66
add edx, 4
add esi, 4
test di, di
jne 0x420e40
xor edx, edx
jmp 0x420e6b
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x420fbb
mov esi, 0x4e2cb0
mov edx, ecx
lea ebx, [ebx]
mov di, word [edx]
cmp di, word [esi]
jne 0x420ea6
test di, di
je 0x420ea2
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x420ea6
add edx, 4
add esi, 4
test di, di
jne 0x420e80
xor edx, edx
jmp 0x420eab
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x420ef5
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0046977d
add esp, 8
test eax, eax
je 0x420f19
mov edx, 0x584898
sub edx, eax
jmp 0x420ed0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x420ed0
mov eax, dword [ebp*4 + 0x527c08]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], edx
jmp 0x420f90
lea esi, [ecx + 2]
jmp 0x420f00
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x420f00
sub ecx, esi
sar ecx, 1
cmp word [eax + ecx*2], dx
je 0x420fed
inc ebp
cmp dword [ebp*4 + 0x527c08], 0
lea esi, [ebp*4 + 0x527c08]
jne 0x420dd5
cmp byte [esp + 0x13], 0
jne 0x420f90
cmp dword [0x584064], 0
mov eax, 0x4e2c50
jne 0x420f49
mov eax, str.Decryption_of_the_selected_file_isnt_supported
push 0x30
push 0x4e01e0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push str.Unsupported_filetype__n
call fcn.0041a5a0
add esp, 4
jmp 0x420fa2
mov edx, 0x584898
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x420f70
mov eax, dword [ebp*4 + 0x527c08]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x74]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x420fa2
call dword [esp + 0x14]
mov ecx, dword [esp + 0x2074]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004690b5
add esp, 0x2068
ret
mov esi, dword [ebp*4 + 0x527c08]
mov ecx, dword [esi + 4]
mov edx, 0x584898
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x420fd0
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov dword [esp + 0x14], ecx
jmp 0x420f90
mov esi, dword [ebp*4 + 0x527c08]
mov ecx, dword [esi + 4]
mov edx, 0x584898
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x421000
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
jmp 0x420f8c