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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50de60
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x58fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0044e700
test eax, eax
jne 0x44dcbb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x68]
call fcn.00480950
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov ecx, edi
call fcn.00449980
mov byte [ebp - 4], 1
push ebx
push dword [edi + 0x32c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x40], eax
cmp eax, 0x1d0
jbe 0x44df97
mov dword [ebp - 0x18], ebx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [edi + 0x32c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x44df97
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x44df97
lea esi, [ebx + 0x1d0]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x2c], ecx
mov eax, 0x1d0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x40]
nop dword [eax]
mov dword [ebp - 0x3c], 0
xor edi, edi
nop dword [eax]
cmp dword [esi], 0x2b75fd3c
je 0x44dda1
mov ecx, esi
sub ecx, ebx
lea eax, [edx - 4]
cmp ecx, eax
jge 0x44dd99
inc esi
mov dword [ebp - 0x18], esi
jmp 0x44dd80
cmp dword [esi], 0x2b75fd3c
jne 0x44dda9
mov edi, esi
add esi, 0xc
mov dword [ebp - 0x18], esi
test edi, edi
je 0x44de85
cmp dword [edi], 0x2b75fd3c
jne 0x44de85
mov ecx, dword [edi + 4]
add ecx, esi
lea eax, [edx + ebx]
cmp ecx, eax
ja 0x44de85
push 0
push dword [edi + 8]
push dword [edi + 4]
push esi
mov ecx, dword [ebp - 0x14]
call fcn.0044d770
mov dword [ebp - 0x28], eax
test eax, eax
je 0x44de85
push 0x5c
call fcn.00472260
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x44de09
push 0x5c
push 0
push eax
call fcn.004b8570
add esp, 0xc
jmp 0x44de10
mov dword [ebp - 0x24], 0
push 0
push dword [edi + 8]
push dword [edi + 4]
mov eax, esi
sub eax, ebx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
call fcn.0044a410
push dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.00480c70
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x44de61
mov edx, dword [ebp - 0x1c]
mov eax, ecx
test edx, edx
je 0x44de4e
cmp edx, ecx
cmovb eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x2c], ecx
cmova ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x28]
push 0x44
push eax
call fcn.004a42c5
add esp, 8
mov dword [ebp - 0x3c], 1
add esi, dword [edi + 4]
mov dword [ebp - 0x18], esi
mov eax, esi
sub eax, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], eax
jmp 0x44de8b
cmp dword [ebp - 0x3c], 0
je 0x44de9d
mov ecx, esi
sub ecx, ebx
mov edx, dword [ebp - 0x40]
lea eax, [edx - 4]
cmp ecx, eax
jl 0x44dd70
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x68]
call fcn.00481540
test eax, eax
jne 0x44df97
push eax
push eax
mov eax, dword [ebp - 0x24]
push eax
mov edi, dword [ebp - 0x14]
push dword [edi + 0x32c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [edi + 0x32c]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [ebp - 0x68]
call fcn.00481230
mov dword [edi + 0x318], eax
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x31c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x320], ecx
xor ecx, ecx
mov edx, 0x5c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4577
mov ecx, eax
mov dword [ebp - 0x34], ecx
imul eax, dword [edi + 0x318], 0x5c
push eax
push ebx
push ecx
call fcn.004b8570
add esp, 0x10
xor esi, esi
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x54]
call fcn.004809f0
mov byte [ebp - 4], 2
nop dword [eax]
lea ecx, [ebp - 0x54]
call fcn.00481420
test eax, eax
je 0x44df7f
cmp esi, dword [edi + 0x318]
jae 0x44df7f
imul edi, esi, 0x5c
add edi, dword [ebp - 0x34]
mov ecx, 0x17
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x44]
inc esi
mov dword [ebp - 0x44], esi
mov edi, dword [ebp - 0x14]
jmp 0x44df50
mov eax, dword [edi + 0x318]
mov dword [edi + 0x324], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00480ad0
mov dword [ebp - 4], 0
jmp 0x44dfc1
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp - 0x68]
call fcn.00481020
test ebx, ebx
je 0x44dfda
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44dfe8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.0044e640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00480a10
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret