Function at 0x50dfe5
Capabilities:
Get file size

Disassembly:
push 0xbc
mov eax, 0x728cdd
call fcn.0054dd23
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
lea eax, [edi + 0xd0]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
mov esi, edx
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x50], bl
call fcn.0040d4f7
mov dword [ebp - 4], ebx
mov byte [esi], bl
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x14]
jne 0x50e02d
cmp ecx, dword [edi + 0x24]
je 0x50e03f
cmp eax, dword [edi + 0x28]
jne 0x50e238
cmp ecx, dword [edi + 0x2c]
jne 0x50e238
lea esi, [edi + 0xc4]
cmp dword [esi], 0xffffffff
push edi
setne byte [ebp - 0x36]
call fcn.0050df0b
lea eax, [ebp - 0xac]
push eax
push edi
call fcn.0050d053
sub esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push ecx
call fcn.00452842
call fcn.00455d35
add esp, 0x1c
cmp edx, dword [edi + 0x24]
jb 0x50e08c
ja 0x50e086
cmp eax, dword [edi + 0x20]
jbe 0x50e08c
mov byte [ebp - 0x35], 1
jmp 0x50e08f
mov byte [ebp - 0x35], bl
push ebx
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], bl
call fcn.00401f4f
cmp byte [ebp - 0x35], bl
je 0x50e13d
lea eax, [ebp - 0x74]
push eax
push edi
mov byte [ebp - 4], 2
call fcn.0050d053
push ebx
push ebx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00477d9b
push ebx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00401f4f
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.00477f35
lea eax, [ebp - 0x40]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x44], eax
jne 0x50e100
lea esi, [ebp - 0x44]
call fcn.00477fc3
mov ecx, eax
mov eax, edx
jmp 0x50e105
mov ecx, eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x78], ecx
mov dword [edi + 0x7c], eax
mov dword [ebp - 4], ebx
jmp 0x50e137
push edi
call fcn.0050df0b
cmp byte [edi + 0x68], bl
je 0x50e179
lea eax, [ebp - 0x90]
push eax
push edi
call fcn.0050d053
sub esp, 0x1c
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push ecx
mov dword [ebp - 0x3c], 1
call fcn.00452842
call fcn.00455690
add esp, 0x1c
cmp al, bl
mov byte [ebp - 0x35], 1
jne 0x50e17c
mov byte [ebp - 0x35], bl
mov dword [ebp - 4], ebx
test byte [ebp - 0x3c], 1
je 0x50e193
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.00401f4f
cmp byte [ebp - 0x35], bl
je 0x50e223
push edi
call fcn.0050df0b
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.0050d053
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 6
push edi
mov byte [edi + 0x68], bl
call fcn.0050d053
sub esp, 0x1c
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
push ecx
call fcn.00452842
sub esp, 0x1c
mov byte [ebp - 4], 8
mov eax, esp
mov dword [ebp - 0x3c], esp
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00452842
mov byte [ebp - 4], 7
call fcn.00455797
add esp, 0x38
push ebx
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 0x35], al
call fcn.00401f4f
cmp byte [ebp - 0x35], bl
jne 0x50e215
mov eax, dword [ebp - 0x4c]
mov byte [eax], 1
mov byte [edi + 0x68], 1
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401f4f
cmp byte [ebp - 0x36], bl
je 0x50e238
cmp dword [edi + 0xc4], 0xffffffff
jne 0x50e238
mov esi, edi
call fcn.0050da12
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x54]
call fcn.0040d1d9
mov al, 1
call fcn.0054dd7f
ret