Function at 0x4e4e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642763
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x6f8458]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x124], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x134], eax
call fcn.004e4790
mov esi, dword [ebx + 4]
mov edx, 1
mov edi, esi
mov dword [ebp - 0x128], esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4e4eba
nop dword [eax]
cmp dword [ecx + 0x10], eax
jae 0x4e4eaa
mov ecx, dword [ecx + 8]
jmp 0x4e4eae
mov edi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4e4ea0
mov dword [ebp - 0x128], edi
cmp byte [edi + 0xd], 0
jne 0x4e5253
cmp eax, dword [edi + 0x10]
jb 0x4e5253
cmp edi, esi
je 0x4e5253
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
cmp esi, eax
jne 0x4e4ff4
cmp dword [ebp + 0x10], esi
push 0
cmovb esi, dword [ebp + 0x10]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [ebx + 0x9d8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 0x130]
push dword [ebx + 0x9d8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x7c
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005df990
add esp, 0xc
lea eax, [ebx + 0x4d5]
push eax
push ecx
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004e5860
mov ebx, dword [ebp - 0x130]
lea ecx, [ebp - 0xa0]
push esi
push ebx
push ebx
mov byte [ebp - 4], 1
call fcn.005c97b0
mov dword [ebp - 0xa4], vtable.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.2.0
mov dword [ebp - 0xa0], vtable.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.1.0
mov dword [ebp - 0x88], vtable.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x4e4fab
mov eax, dword [ebp - 0x6c]
mov edi, edx
mov ecx, dword [ebp - 0x68]
cmp eax, ecx
push edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
call fcn.005af5d0
mov edi, dword [ebp - 0x128]
add esp, 4
lea ecx, [ebp - 0xa4]
call fcn.004e4ce0
lea ecx, [ebp - 0x58]
call fcn.004e53c0
cmp esi, dword [edi + 0x20]
jne 0x4e4fd9
push ecx
mov edx, esi
mov ecx, ebx
call fcn.004e6e90
add esp, 4
cmp eax, dword [edi + 0x28]
jne 0x4e51eb
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x4e5251
mov dword [eax], esi
jmp 0x4e5251
add eax, esi
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov dword [ebp - 0x12c], ecx
xor ebx, ebx
movq qword [ebp - 0x24], xmm0
xor esi, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x4e5063
cmp eax, 0x7fffffff
ja 0x4e5288
push eax
cmp eax, 0x1000
jb 0x4e503b
call fcn.0044e180
jmp 0x4e5040
call fcn.005ab7cc
mov ebx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ebp - 0x12c], esi
add ebx, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
push ebx
push esi
call fcn.0045f9e0
add esp, 8
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x124]
push 0
push 0
mov dword [ebp - 4], 4
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [eax + 0x9d8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x20]
mov eax, dword [ebp - 0x124]
push esi
push dword [eax + 0x9d8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x7c
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.005df990
mov ecx, dword [ebp - 0x124]
add esp, 0xc
lea eax, [ecx + 0x4d5]
push eax
push ecx
lea eax, [ecx + 0xc]
push eax
lea ecx, [ebp - 0x120]
call fcn.004e5860
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
push dword [edi + 0x20]
push esi
push esi
call fcn.005c97b0
mov dword [ebp - method.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.2.virtual_0], vtable.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.2.0
mov dword [ebp - method.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.1.virtual_0], vtable.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.1.0
mov dword [ebp - method.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.virtual_0], vtable.CryptoPP::ConcretePolicyHolder_class_CryptoPP::Empty__class_CryptoPP::CFB_DecryptionTemplate_class_CryptoPP::AbstractPolicyHolder_class_CryptoPP::CFB_CipherAbstractPolicy__class_CryptoPP::CFB_ModePolicy____class_CryptoPP::CFB_CipherAbstractPolicy_.0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xe0]
test edx, edx
je 0x4e513c
mov eax, dword [ebp - 0xe8]
mov edi, edx
mov ecx, dword [ebp - 0xe4]
cmp eax, ecx
push edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
call fcn.005af5d0
mov edi, dword [ebp - 0x128]
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.004e4ce0
lea ecx, [ebp - 0xd4]
call fcn.004e53c0
mov edx, dword [edi + 0x20]
push dword [edi + 0x24]
mov ecx, dword [ebp - 0x12c]
add edx, esi
call fcn.004e6ca0
mov ecx, dword [edi + 0x20]
add esp, 4
cmp eax, ecx
je 0x4e51a7
test esi, esi
je 0x4e519d
sub ebx, esi
cmp ebx, 0x1000
jb 0x4e5193
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4e528d
mov esi, ecx
push ebx
push esi
call fcn.005ab7be
add esp, 8
mov eax, 6
jmp 0x4e5255
mov edx, dword [edi + 0x24]
lea eax, [ecx + esi]
push ecx
mov ecx, eax
call fcn.004e6e90
add esp, 4
cmp eax, dword [edi + 0x28]
je 0x4e51f2
test esi, esi
je 0x4e51eb
sub ebx, esi
cmp ebx, 0x1000
jb 0x4e51e1
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4e528d
mov esi, ecx
push ebx
push esi
call fcn.005ab7be
add esp, 8
mov eax, 2
jmp 0x4e5255
mov eax, dword [edi + 0x24]
cmp dword [ebp + 0x10], eax
cmovb eax, dword [ebp + 0x10]
push eax
mov eax, dword [edi + 0x20]
add eax, esi
push eax
push dword [ebp - 0x130]
call fcn.005df360
mov edx, dword [ebp - 0x134]
add esp, 0xc
test edx, edx
je 0x4e5227
mov eax, dword [edi + 0x24]
cmp dword [ebp + 0x10], eax
cmovb eax, dword [ebp + 0x10]
mov dword [edx], eax
test esi, esi
je 0x4e5251
sub ebx, esi
cmp ebx, 0x1000
jb 0x4e5247
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4e528d
mov esi, ecx
push ebx
push esi
call fcn.005ab7be
add esp, 8
xor edx, edx
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ab78d
mov esp, ebp
pop ebp
ret 0x10
call fcn.0044e9f0
call fcn.005e8ee2
int3