Function at 0x40fac8
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1d0]
sub esp, 0x250
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp + 0x1cc], eax
push edi
lea ecx, [ebp - 0x70]
call fcn.0042ef80
xor edi, edi
push edi
lea eax, [ebp - 0x70]
push eax
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsRealPlay.exe
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040158e
add esp, 0x14
test eax, eax
je 0x40fb4c
cmp byte [ebp - 0x69], 0xff
lea eax, [ebp - 0x70]
jne 0x40fb16
mov eax, dword [ebp - 0x70]
push edi
push eax
call fcn.00401bf8
add eax, 0x9fff5000
pop ecx
pop ecx
cmp eax, 0xfff
ja 0x40fb4c
lea ecx, [ebp - 0x70]
call fcn.0042f1e0
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1cc]
xor ecx, ebp
pop edi
call fcn.0044f6e0
add ebp, 0x1d0
leave
ret
push esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x5c], esi
call fcn.0042ef80
lea eax, [ebp - 0x68]
push eax
push edi
push edi
push 0x1a
push edi
call fcn.00401d5f
add esp, 0x14
test eax, eax
jne 0x40fb9a
lea eax, [ebp - 0x68]
push eax
push edi
push edi
push 0x1c
push edi
call fcn.00401d5f
add esp, 0x14
test eax, eax
jne 0x40fb9a
lea ecx, [ebp - 0x68]
call fcn.0042f1e0
lea ecx, [ebp - 0x70]
call fcn.0042f1e0
mov eax, esi
pop esi
jmp 0x40fb36
cmp byte [ebp - 0x61], 0xff
lea eax, [ebp - 0x68]
jne 0x40fba6
mov eax, dword [ebp - 0x68]
push eax
call fcn.0044f080
pop ecx
test eax, eax
jbe 0x40fd40
push str.RealMsgSCategory.dat
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0042f9d0
add esp, 0xc
cmp byte [ebp - 0x79], 0xff
lea eax, [ebp - 0x80]
jne 0x40fbd6
mov eax, dword [ebp - 0x80]
push ebx
push 0x473600
push eax
call fcn.00450908
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x40fd37
mov dword [ebp - 0x5c], edi
push ebx
push esi
lea eax, [ebp - 0x50]
push 2
push eax
mov dword [ebp - 0x50], edi
call fcn.00453efc
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x50], ah
mov byte [ebp - 0x4f], al
mov eax, dword [ebp - 0x50]
push ebx
push esi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x74]
push esi
push eax
mov dword [ebp - 0x74], edi
call fcn.00453efc
push 0x100
lea eax, [ebp + 0xb8]
push edi
push eax
call fcn.0044f280
push ebx
push dword [ebp - 0x74]
lea eax, [ebp + 0xb8]
push esi
push eax
call fcn.00453efc
push ebx
push esi
lea eax, [ebp - 0x78]
push esi
push eax
mov dword [ebp - 0x78], edi
call fcn.00453efc
add esp, 0x4c
push 0x100
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.0044f280
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00453efc
push ebx
push esi
lea eax, [ebp - 0x58]
push 2
push eax
mov dword [ebp - 0x58], edi
call fcn.00453efc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x58], ah
mov byte [ebp - 0x57], al
mov eax, dword [ebp - 0x58]
push ebx
push esi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push 2
push eax
mov dword [ebp - 0x60], edi
call fcn.00453efc
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4c], ah
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x4c]
push ebx
push esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x4c], edi
push 2
lea eax, [ebp - 0x4c]
push eax
call fcn.00453efc
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
add esp, 0x4c
mov byte [ebp - 0x4c], ah
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x4c]
push ebx
push esi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x54]
push 2
push eax
mov dword [ebp - 0x54], edi
call fcn.00453efc
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x54], ah
mov byte [ebp - 0x53], al
mov eax, dword [ebp - 0x54]
push ebx
push 0x12
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x1b8]
push esi
push eax
call fcn.00453efc
add esp, 0x20
cmp dword [ebp - 0x50], edi
jne 0x40fd1c
cmp dword [ebp - 0x4c], edi
jne 0x40fd2d
push ebx
call fcn.00453bf4
pop ecx
test eax, eax
je 0x40fbf1
jmp 0x40fd30
mov dword [ebp - 0x5c], esi
push ebx
call fcn.004506ac
pop ecx
lea ecx, [ebp - 0x80]
call fcn.0042f1e0
pop ebx
mov esi, dword [ebp - 0x5c]
jmp 0x40fb85