Function at 0x457b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da9e0
mov eax, dword fs:[0]
push eax
mov eax, 0x40
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x5808f0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x58], eax
call fcn.0041ae00
add esp, 4
cmp eax, 5
jne 0x457ba3
mov edx, dword [esp + 0xc]
push edx
call fcn.004690f0
add esp, 4
mov ecx, esi
call fcn.00456e30
cmp dword [esp + 0x44], 8
mov byte [esi + 0x38], 1
jb 0x457e4b
mov eax, dword [esp + 0x30]
push eax
jmp 0x457e43
mov ecx, dword [esp + 0xc]
mov dl, 0x56
mov ebx, 0x3a
cmp byte [ecx + 5], dl
jne 0x457e24
cmp byte [ecx + 6], 0x31
jne 0x457bf8
cmp byte [ecx + 7], bl
jne 0x457bf8
cmp eax, 0x48
jae 0x457bec
push str.Wrong_pass_file_size_n
call fcn.0041a700
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004690f0
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.0041b5b0
jmp 0x457e4b
mov dword [esi + 0x2c], 1
jmp 0x457cbe
cmp byte [ecx + 5], dl
jne 0x457e24
cmp byte [ecx + 6], 0x32
jne 0x457c30
cmp byte [ecx + 7], bl
jne 0x457c30
cmp eax, 0x4b0
jae 0x457c24
push str.Wrong_pass_file_size_n
call fcn.0041a700
mov edx, dword [esp + 0x10]
push edx
jmp 0x457bd6
mov dword [esi + 0x2c], 2
jmp 0x457cbe
cmp byte [ecx + 5], dl
jne 0x457e24
cmp byte [ecx + 6], 0x33
jne 0x457c68
cmp byte [ecx + 7], bl
jne 0x457c68
cmp eax, 0x4b0
jae 0x457c5f
push str.Wrong_pass_file_size_n
call fcn.0041a700
mov eax, dword [esp + 0x10]
push eax
jmp 0x457bd6
mov dword [esi + 0x2c], 3
jmp 0x457cbe
cmp byte [ecx + 5], dl
jne 0x457e24
cmp byte [ecx + 6], 0x34
jne 0x457c90
cmp byte [ecx + 7], bl
jne 0x457c90
cmp eax, 0x4b0
jb 0x457bc7
mov dword [esi + 0x2c], 4
jmp 0x457cbe
cmp byte [ecx + 5], dl
jne 0x457e24
cmp byte [ecx + 6], 0x35
jne 0x457e24
cmp byte [ecx + 7], bl
jne 0x457e24
cmp eax, 0x4b0
jb 0x457c13
mov dword [esi + 0x2c], 5
lea eax, [ecx + 8]
push ebx
push eax
call fcn.0046b2c0
add esp, 8
test eax, eax
je 0x457cf1
push 0x10
inc eax
push 0
push eax
call fcn.0046b863
add esp, 0xc
mov dword [esi + 0x24], eax
test eax, eax
jne 0x457cf1
push str.Wrong_pass_file_format_n
call fcn.0041a700
add esp, 4
mov eax, dword [esi + 0x2c]
cmp eax, 4
je 0x457e00
cmp eax, 5
je 0x457e00
cmp dword [0x584064], 0
je 0x457d1b
mov ecx, 0x4e2e98
mov eax, 0x4e2e58
jmp 0x457d25
mov ecx, 0x4e2e1c
mov eax, str.Choose_encrypted_doc_file
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0042bd50
lea ecx, [esp + 0x2c]
test al, al
je 0x457be2
push 0xffffffffffffffff
push 0x4e463c
call fcn.0041bb00
lea ecx, [esp + 0x2c]
cmp eax, 0xffffffff
je 0x457be2
push 0xffffffffffffffff
add eax, 4
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041c930
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x60], 1
call fcn.0041c410
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 0
call fcn.0041b5b0
cmp dword [esi + 0x2c], 1
jne 0x457d9f
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.004571a0
cmp dword [esi + 0x2c], 2
jne 0x457dd1
mov ecx, dword [esi + 0x24]
xor edx, edx
mov eax, 0xd00000
div ecx
lea edx, [esp + 0x2c]
lea eax, [eax + eax + 1]
imul eax, ecx
mov ecx, dword [esp + 0xc]
push ecx
sub eax, 0xd00000
push edx
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.00457330
cmp dword [esi + 0x2c], 3
jne 0x457de8
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00457570
mov edx, dword [esp + 0xc]
push edx
call fcn.004690f0
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.0041b5b0
jmp 0x457e4b
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.00457810
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004690f0
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.0041b5b0
jmp 0x457e4b
push ecx
call fcn.004690f0
push str.Wrong_pass_file_format_n
call fcn.0041a700
add esp, 8
cmp dword [esp + 0x44], 8
jb 0x457e4b
mov edx, dword [esp + 0x30]
push edx
call fcn.004699ce
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004690b5
add esp, 0x4c
ret