Function at 0x41da25
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x111d8
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x111d0], ecx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41da71
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41de69
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x111d4], eax
test eax, eax
jne 0x41da97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41da6a
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x41dab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41de56
lea eax, [ebp - 0x111c8]
mov dword [ebp - 0x111c8], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x111c0], eax
cmp dword [ebp - 0x111c8], ebx
jne 0x41de4f
push 0x270f
lea eax, [ebp - 0x4e6b]
mov byte [ebp - 0x4e6c], bl
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xc39c], bl
lea eax, [ebp - 0xc39b]
push 0x270f
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x9c8c], bl
lea eax, [ebp - 0x9c8b]
push 0x270f
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x275c], bl
lea eax, [ebp - 0x275b]
push 0x270f
push ebx
push eax
call fcn.006390b0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x111bc], ax
lea eax, [ebp - 0x111ba]
push 0x4e1e
push ebx
push eax
call fcn.006390b0
mov edx, dword [ebp - 0x111c0]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x20], 0xc000000
mov ecx, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x1f
mov dword [ebp - 0x14], 0xd000000
push 0xc
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0x1f
mov dword [ebp - 0x3c], 0x2d
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 0x1f00
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x4c], 0x35
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x1f00
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x2c], 0x7000000
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x1f
call fcn.00417191
mov dword [ebp - 0x111cc], eax
pop ecx
pop ecx
test eax, eax
je 0x41de4f
mov ecx, dword [eax + 0xc]
cmp ecx, 0x1f4
ja 0x41de4f
mov edx, dword [ebp - 0x111c0]
lea eax, [eax + ecx*2]
add edx, esi
add eax, 0x10
mov dword [ebp - 0x111c4], edx
cmp eax, edx
ja 0x41de4f
mov eax, dword [ebp - 0x111cc]
push ecx
add eax, 0x10
push eax
lea eax, [ebp - 0x111bc]
push 0x2710
push eax
call fcn.00651f84
add esp, 0x10
lea eax, [ebp - 0x9c8c]
push ebx
push ebx
push 0x2710
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x111bc]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x111c0]
lea eax, [ebp - 0x20]
push 0xc
push eax
mov ecx, esi
call fcn.00417191
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x41dcbf
mov ecx, dword [edx + 0xc]
cmp ecx, 0x1f4
ja 0x41dcbf
lea eax, [ecx + 8]
lea eax, [edx + eax*2]
cmp eax, dword [ebp - 0x111c4]
ja 0x41dcbf
push ecx
lea eax, [edx + 0x10]
push eax
lea eax, [ebp - 0x111bc]
push 0x2710
push eax
call fcn.00651f84
add esp, 0x10
lea eax, [ebp - 0xc39c]
push ebx
push ebx
push 0x2710
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x111bc]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x111c0]
lea eax, [ebp - 0x3c]
push 0xd
push eax
mov ecx, esi
call fcn.00417191
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x41dcf5
mov edx, dword [ebp - 0x111c0]
lea eax, [ebp - 0x4c]
push 0xd
push eax
mov ecx, esi
call fcn.00417191
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x41dd49
mov edx, dword [ecx + 0xd]
cmp edx, 0x1f4
ja 0x41dd49
lea eax, [edx*2 + 0x11]
add eax, ecx
cmp eax, dword [ebp - 0x111c4]
ja 0x41dd49
push edx
lea eax, [ecx + 0x11]
push eax
lea eax, [ebp - 0x111bc]
push 0x2710
push eax
call fcn.00651f84
add esp, 0x10
lea eax, [ebp - 0x4e6c]
push ebx
push ebx
push 0x2710
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x111bc]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x111c0]
lea eax, [ebp - 0x2c]
push 0xc
push eax
mov ecx, esi
call fcn.00417191
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x41ddb5
mov edx, dword [ecx + 0xc]
cmp edx, 0x1f4
ja 0x41ddb5
lea eax, [edx + 8]
lea eax, [ecx + eax*2]
cmp eax, dword [ebp - 0x111c4]
ja 0x41ddb5
push edx
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x111bc]
push 0x2710
push eax
call fcn.00651f84
add esp, 0x10
lea eax, [ebp - 0x275c]
push ebx
push ebx
push 0x2710
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x111bc]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x270f
lea eax, [ebp - 0x757b]
mov byte [ebp - 0x757c], bl
push ebx
push eax
call fcn.006390b0
add esp, 0xc
cmp byte [ebp - 0x275c], bl
je 0x41de01
lea eax, [ebp - 0x275c]
push eax
lea eax, [ebp - 0x4e6c]
push eax
push str._s___s_
lea eax, [ebp - 0x757c]
push 0x2710
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x41de1c
lea eax, [ebp - 0x4e6c]
push eax
lea eax, [ebp - 0x757c]
push 0x2710
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0x9c8c]
push ecx
push eax
lea eax, [ebp - 0xc39c]
push eax
lea eax, [ebp - 0x757c]
push eax
push ecx
mov ecx, dword [ebp - 0x111d0]
push 0x12e
push 4
call fcn.0043ee6b
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x111d4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4