Function at 0x455720
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x4ccbf8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push 0x4b2e28
push dword [esi + 8]
mov dword [ebp - 0x1d0], edi
call fcn.00436680
add esp, 8
mov dword [ebp - 0x1cc], eax
cmp dword [ebp + 0x10], 0xf
jne 0x4558cd
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [ebp - 0x1d4], eax
test eax, eax
je 0x45599a
xor ebx, ebx
test eax, eax
jle 0x45599a
nop word [eax + eax]
push 0x12c
lea eax, [ebp - 0x130]
push eax
push ebx
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
test eax, eax
je 0x4558bb
push 0
push 0
push 3
push 0
push 0
lea eax, [ebp - 0x130]
push SysReAllocString
push eax
call fcn.0041dce0
add esp, 0x1c
mov dword [ebp - 0x1c8], eax
cmp eax, 0xffffffff
je 0x4558bb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x1c4], eax
call fcn.00486927
add esp, 4
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x134]
lea edi, [esi + 0x2c]
push 0
push ecx
push dword [ebp - 0x1c4]
push eax
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45588e
mov eax, dword [ebp - 0x1c4]
cmp dword [ebp - 0x134], eax
jne 0x45588e
push dword [esi + 0x20]
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.00449600
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 8]
mov dword [ebp - 0x1c4], eax
call fcn.0044c120
add esp, 0x1c
cmp dword [ebp - 0x1cc], 0
je 0x455862
push dword [ebp - 0x1c4]
call fcn.00456f10
add esp, 4
jmp 0x455885
push 1
push dword [ebp - 0x1c4]
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.004490e0
add esp, 0xc
push eax
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
add esp, 0x10
mov eax, dword [esi + 0x3c]
push esi
call eax
add esp, 4
cmp dword [edi], 0
je 0x4558a9
push edi
call fcn.0041f010
push dword [edi]
call fcn.0048690c
add esp, 8
mov dword [edi], 0
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x1d0]
inc ebx
cmp ebx, dword [ebp - 0x1d4]
jl 0x455790
jmp 0x45599a
test byte [esi + 4], 4
mov dword [esi + 0x30], edi
jne 0x45599a
push dword [esi + 0x20]
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.00449600
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 8]
mov ebx, eax
call fcn.0044c120
add esp, 0x1c
cmp dword [esi + 0x1c], 2
jne 0x455939
xor edi, edi
cmp dword [esi + 0x24], edi
jle 0x455922
mov eax, dword [esi + 0x28]
push 1
push dword [eax + edi*4]
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
inc edi
add esp, 0x10
cmp edi, dword [esi + 0x24]
jl 0x455907
mov eax, dword [esi + 0x40]
push esi
call eax
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
add esp, 0x14
cmp dword [ebp - 0x1cc], 0
je 0x45594d
push ebx
call fcn.00456f10
add esp, 4
jmp 0x45596b
push 1
push ebx
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.004490e0
add esp, 0xc
push eax
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
add esp, 0x10
mov eax, dword [esi + 0x3c]
push esi
call eax
add esp, 4
test eax, eax
je 0x45599a
push ebx
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.004490e0
add esp, 0xc
test eax, eax
je 0x45599a
push 0
push eax
push 0xffffffffffffffff
push dword [esi + 8]
call fcn.0044c120
add esp, 0x10
push 0x8c
lea eax, [ebp - 0x1c0]
push 0
push eax
call fcn.004811a0
add esp, 0xc
mov dword [ebp - 0x1b8], 0xffffff94
lea eax, [ebp - 0x1c0]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
push 0x4e
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f41c
mov esp, ebp
pop ebp
ret