Function at 0x44e85a
Capabilities:
Get file size

Disassembly:
push 0x4c
mov eax, 0x5c3937
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [0x6c83dc]
shl eax, 0x14
cdq
mov ecx, dword [ebp - 0x24]
cmp ecx, edx
jl 0x44e8b2
jg 0x44e89f
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
jbe 0x44e8b2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00408559
mov al, 1
jmp 0x44eb6e
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004084e9
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
call fcn.0040876a
push 0x6829ac
xor ecx, ecx
lea esi, [ebp - 0x1c]
call fcn.004260a9
or edi, 0xffffffff
cmp eax, edi
jne 0x44eb76
push 0x6829d4
xor ecx, ecx
call fcn.004260a9
cmp eax, edi
jne 0x44eb76
call fcn.004571f2
mov esi, eax
cmp esi, ebx
je 0x44e952
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.004084e9
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00463f0c
cmp al, bl
je 0x44eb76
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.004084e9
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.004640d0
cmp al, bl
jne 0x44eb76
push dword [ebp + 8]
mov ebx, dword [0x6ddd34]
call fcn.00476fa0
test al, al
jne 0x44eb76
lea eax, [ebp - 0x18]
push eax
call fcn.004083b0
mov byte [ebp - 4], 5
xor eax, eax
mov byte [ebp - 0x40], al
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea edi, [ebp - 0x58]
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x38]
call fcn.00474190
cmp byte [ebp - 0x2c], 0
je 0x44ea5b
cmp byte [ebp - 0x40], 0
je 0x44ea5b
mov edi, dword [ebp - 0x54]
cmp edi, dword [ebp - 0x44]
jb 0x44e9bf
ja 0x44e9ba
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x48]
jbe 0x44e9bf
mov esi, dword [ebp - 0x58]
jmp 0x44e9c5
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
push eax
push edi
push esi
mov ebx, dword [ebp - 0x34]
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x30]
mov ecx, dword [0x6de644]
call fcn.004896e0
test al, al
jne 0x44ea7f
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x30]
mov ecx, dword [0x6de648]
call fcn.004896e0
test al, al
jne 0x44ea7f
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x30]
mov ecx, dword [0x6de64c]
call fcn.004896e0
test al, al
jne 0x44ea7f
mov byte [ebp - 0x12], al
push dword [ebp + 0x14]
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp + 0x10]
push eax
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0042e903
push edi
push esi
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x30]
lea edx, [ebp - 0x18]
mov ecx, dword [0x6de648]
call fcn.00489580
jmp 0x44ea7f
cmp dword [0x6c438c], 1
jl 0x44ea7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Realtime_error____i
push 0x6829fc
push 1
call fcn.00538922
add esp, 0x10
xor ebx, ebx
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x44eafc
cmp dword [ebp - 0x24], ebx
jl 0x44eafc
jg 0x44ea95
cmp dword [ebp - 0x28], ebx
jbe 0x44eafc
cmp dword [0x6c83c0], ebx
je 0x44eafc
mov byte [ebp + 0xb], 0
lea eax, [ebp + 0xb]
push eax
push ebx
push dword [ebp - 0x28]
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040fbd7
mov byte [ebp - 4], 6
lea edi, [ebp - 0x18]
call fcn.0040843b
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x14]
call fcn.00408418
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x44eafc
push 0x682a20
lea eax, [ebp + 8]
push eax
mov esi, edi
call fcn.00413787
pop ecx
pop ecx
mov byte [ebp - 4], 7
call fcn.0040843b
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
call fcn.00408418
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x44eb31
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041baa0
pop ecx
pop ecx
mov byte [ebp - 4], 8
push dword [eax]
push dword [ebp + 0xc]
call fcn.00409a0d
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
call fcn.00408559
mov byte [ebp - 0x11], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], ebx
setne al
movzx eax, al
push eax
call fcn.004533c1
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00408418
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00408559
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00408559
mov al, byte [ebp - 0x11]
call fcn.00587133
ret 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00408559
mov dword [ebp - 4], edi
jmp 0x44e8a3