Function at 0x44f150
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4aca66
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4d92d4]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x278]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x274]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push 0
push edi
call fcn.0043fa90
mov ebx, eax
add esp, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x26c], 0
push edi
push ebx
mov ecx, ebp
call fcn.004374a0
lea eax, [esp + 0x1dc]
push eax
call fcn.0047ccf0
push 0x1b0
lea ecx, [esp + 0x34]
push 0x46
push ecx
mov dword [esp + 0x3c], eax
call fcn.0047c3d0
push edi
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.0047caf0
lea eax, [esp + 0x48]
push 1
push eax
call fcn.0047c8b0
lea ecx, [esp + 0x50]
push ecx
call fcn.0047d070
mov edi, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
add esp, 0x28
push edi
push ebp
mov ecx, esi
call eax
lea ecx, [edi*4]
push 0
push ecx
call fcn.0043fa90
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x26c], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0xc]
sub edx, 1
imul edx, ecx
add ecx, ecx
lea edx, [eax + edx*4]
add ecx, ecx
xor eax, eax
test edi, edi
jle 0x44f285
mov ebx, dword [esp + 0x18]
mov dword [ebx + eax*4], edx
add eax, 1
sub edx, ecx
cmp eax, edi
jl 0x44f271
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jae 0x44f2c1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax*4]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0047ce10
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x98]
add esp, 0xc
cmp eax, ecx
jb 0x44f297
lea ecx, [esp + 0x2c]
push ecx
call fcn.0047c7e0
lea edx, [esp + 0x30]
push edx
call fcn.0047c4d0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov esi, dword [esi + 0xc]
sub eax, 1
imul eax, ecx
lea edx, [esi + ebp]
lea edx, [edx + ebp*2]
lea edx, [edx + eax*4 - 1]
add eax, ebp
add ecx, ecx
add ecx, ecx
add esp, 8
test edi, edi
lea eax, [esi + eax*4 - 1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jle 0x44f365
add edx, 0xffffffff
mov dword [esp + 0x1c], edx
test ebp, ebp
jle 0x44f34c
mov ecx, edx
mov esi, ebp
lea esp, [esp]
mov byte [eax], 0
movzx edx, byte [ecx - 1]
sub eax, 1
mov byte [eax], dl
movzx edx, byte [ecx]
sub eax, 1
mov byte [eax], dl
movzx edx, byte [ecx + 1]
sub eax, 1
mov byte [eax], dl
sub eax, 1
sub ecx, 3
sub esi, 1
jne 0x44f320
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
sub edx, ecx
sub eax, ecx
sub edi, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
jne 0x44f311
mov byte [esp + 0x26c], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44f380
push 0
push eax
call fcn.0043fae0
add esp, 8
mov dword [esp + 0x26c], 0xffffffff
test ebx, ebx
je 0x44f39a
push 0
push ebx
call fcn.0043fae0
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.0041c78e
add esp, 0x25c
ret