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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
push edi
xor eax, eax
push 0x3e
mov word [ebp - 0x48], ax
xor edi, edi
lea eax, [ebp - 0x46]
push edi
push eax
call fcn.00438870
add esp, 0xc
xor eax, eax
push 0x3e
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x86]
push edi
push eax
call fcn.00438870
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.0045d899
pop ecx
pop ecx
mov esi, 0xe18c
push esi
test eax, eax
je 0x463dca
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea edi, [eax + ecx - 0xe1c]
mov dword [ebp - 8], edi
call fcn.00433f70
pop ecx
push esi
mov ebx, eax
push 0
push ebx
call fcn.00438870
mov eax, dword [ebp - 4]
mov dword [ebx + 0xb844], eax
mov eax, dword [edi]
mov dword [ebx + 0xb848], eax
add esp, 0xc
lea eax, [ebx + 0xb850]
push eax
lea eax, [ebx + 0xb84c]
push eax
call fcn.0045da86
pop ecx
pop ecx
mov esi, edi
mov ecx, 0x387
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
lea eax, [esi + 8]
lea ecx, [ebp - 0x88]
push 2
mov dword [0x48ab6c], ebx
sub ecx, eax
pop edi
movzx edx, word [eax]
mov word [ecx + eax], dx
add eax, edi
test dx, dx
jne 0x463d9c
lea eax, [esi + 0xa1c]
lea edx, [ebp - 0x48]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, edi
test cx, cx
jne 0x463db5
xor esi, esi
jmp 0x463f0b
call fcn.00433f70
pop ecx
push esi
mov ebx, eax
push 0x478f80
push ebx
call fcn.00437d30
add esp, 0xc
push 0x103
lea eax, [ebp - 0x18f]
push edi
push eax
mov byte [ebp - 0x190], 0
call fcn.00438870
add esp, 0xc
push str.data.cab
mov eax, 0x104
lea edi, [ebp - 0x190]
call fcn.00455b42
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x463e6a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebx + 0xb848], eax
call fcn.004346f1
pop ecx
push esi
lea ecx, [ebp - 8]
push ecx
push dword [ebx + 0xb848]
mov dword [ebx + 0xb844], eax
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.theme.cab
mov eax, 0x104
lea edi, [ebp - 0x190]
call fcn.00455b42
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x463ed5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebx + 0xb850], eax
call fcn.004346f1
pop ecx
push esi
lea ecx, [ebp - 8]
push ecx
push dword [ebx + 0xb850]
mov dword [ebx + 0xb84c], eax
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
mov dword [0x48ab6c], ebx
xor eax, eax
pop edi
movzx ecx, word [eax + 0x478f88]
mov word [ebp + eax - 0x88], cx
add eax, edi
cmp cx, si
jne 0x463ee0
xor eax, eax
movzx ecx, word [eax + 0x47999c]
mov word [ebp + eax - 0x48], cx
add eax, edi
cmp cx, si
jne 0x463ef8
lea eax, [ebp - 0x48]
mov dword [ebx + 0xf3c], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, edi
cmp cx, si
jne 0x463f17
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x48]
cmp word [eax - 2], 0x2a
jne 0x463f46
mov ecx, dword [0x48ab6c]
mov dword [ecx + 0xf3c], 1
xor ecx, ecx
mov word [eax - 2], cx
mov edx, dword [0x48ab6c]
lea ecx, [ebp - 0x48]
add edx, 0xf28
movzx eax, word [ecx]
mov word [edx], ax
add ecx, edi
add edx, edi
cmp ax, si
jne 0x463f55
mov edx, dword [0x48ab6c]
lea ecx, [ebp - 0x88]
add edx, 0xf40
movzx eax, word [ecx]
mov word [edx], ax
add ecx, edi
add edx, edi
cmp ax, si
jne 0x463f76
push dword [0x48ab6c]
call fcn.00462c71
pop ecx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret