Function at 0x42bfb0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2b8c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x60
mov eax, dword [0x52600c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x10]
push edx
mov dword [ebp - 0x34], 0
push 0x4fb438
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x68], edi
call dword [ecx]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c48b
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x42c073
mov dword [ebp - 0x28], eax
call fcn.00499b50
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x24], eax
push ecx
lea ecx, [ebp - 0x2c]
mov esi, dword [eax + 0x40]
push ecx
lea ecx, [eax + 0x40]
call fcn.00496650
cmp dword [eax], esi
jne 0x42c05f
mov dword [ebp - 0x24], 0
jmp 0x42c073
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 0x40]
call fcn.0049bdc0
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
push 0x5674e4
push 0x1e0
call fcn.004bd047
mov esi, eax
add esp, 8
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42c177
mov eax, dword [edi + 0x7c]
lea ecx, [esi + 0x160]
push ecx
push 0
push str.CVideoRenderer
push 0x509bf4
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.004b8dd0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x108
mov dword [esi], vtable.CVideoRender.4.0
mov dword [esi + 0xc], vtable.CVideoRender.3.0
mov dword [esi + 0x10], vtable.CVideoRender.2.0
mov dword [esi + 0xe0], vtable.CVideoRender.1.0
mov dword [esi + 0xe4], vtable.CVideoRender.0
mov dword [esi + 0x1d0], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x18c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x19c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [ebp - 0x24]
movq qword [esi + 0x1ac], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0x164], xmm0
movups xmmword [esi + 0x174], xmm0
movq qword [esi + 0x184], xmm0
mov dword [esi + 0x1b4], eax
call fcn.0049d520
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x1d4], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1b8], 0
jmp 0x42c179
xor esi, esi
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x24], esi
neg esi
push 0
sbb esi, esi
mov edx, dword [ecx]
and esi, eax
push esi
push ecx
call dword [edx + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c49c
mov eax, dword [edi + 0x24]
add eax, 0xc
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x74]
mov dword [eax + 0x1d8], ecx
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x78]
mov dword [ecx + 0x1dc], eax
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x1b8], ecx
push dword [edi + 0x24]
push str.VideoRender_0x_x_n
call fcn.0042ad70
mov eax, dword [edi + 0x6c]
add esp, 8
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x4b424]
mov dword [esi + 0x4b430], 0
mov dword [esi + 0x4b434], 0
mov dword [esi + 0x4b438], 0
test eax, eax
je 0x42c21e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
push 0
mov dword [esi + 0x4b428], ecx
lea ecx, [ebp - 0x24]
push ecx
push 4
lea ecx, [ebp - 0x30]
mov dword [esi + 0x4b424], eax
push ecx
push eax
mov dword [esi + 0x4b42c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x24], 4
jne 0x42c2b8
cmp dword [ebp - 0x30], 0x31445356
jne 0x42c299
push 0
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x4b424]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x24], 4
jne 0x42c2b8
mov eax, dword [ebp - 0x28]
add eax, 8
sub dword [esi + 0x4b428], eax
mov dword [ebp - 0x28], eax
sbb dword [esi + 0x4b42c], 0
add eax, dword [ebp - 0x48]
mov dword [esi + 0x4b438], eax
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push dword [esi + 0x4b438]
push dword [esi + 0x4b424]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x5674e4
push 0x1e8
call fcn.004bd047
add esp, 8
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x42c2e5
lea ecx, [ebp - 0x20]
push ecx
push dword [edi + 0x2c]
mov ecx, eax
call fcn.0042b8b0
jmp 0x42c2e7
xor eax, eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x20], 0
mov dword [edi + 0x28], eax
jl 0x42c513
test eax, eax
je 0x42c513
mov ecx, dword [eax + 0xc]
add eax, 0xc
push eax
call dword [ecx + 4]
mov esi, dword [edi + 0x28]
mov ecx, dword [ebp - 0x34]
push 0
lea eax, [esi + 0xc]
neg esi
mov edx, dword [ecx]
sbb esi, esi
and esi, eax
push esi
push ecx
call dword [edx + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c4ad
mov ecx, dword [edi + 0x28]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x42c342
lea edx, [eax + 0xc]
jmp 0x42c344
xor edx, edx
mov eax, dword [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c4be
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42c36d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x34], 0
mov ecx, dword [edi + 0x10]
lea eax, [edi + 0x20]
push eax
push 0x4fb338
push ecx
mov edx, dword [ecx]
call dword [edx]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c4cf
mov ecx, dword [edi + 0x10]
lea eax, [edi + 0x18]
push eax
push 0x4fb318
push ecx
mov edx, dword [ecx]
call dword [edx]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c4e0
mov ecx, dword [edi + 0x10]
lea eax, [edi + 0x14]
push eax
push 0x4fb308
push ecx
mov edx, dword [ecx]
call dword [edx]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c4f1
mov ecx, dword [edi + 0x10]
lea esi, [edi + 0x1c]
push esi
push 0x4fb3f8
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
js 0x42c502
mov eax, dword [esi]
movups xmm0, xmmword [str.tUx]
push str.pUx
push eax
movups xmmword [edi + 0x30], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
mov eax, dword [esi]
mov ecx, dword [eax]
jne 0x42c416
push str.pUx
push eax
call dword [ecx + 0x24]
movups xmm0, xmmword [str.pUx]
mov dword [ebp - 0x20], eax
movups xmmword [edi + 0x30], xmm0
jmp 0x42c454
push str.tUx
push eax
call dword [ecx + 0x24]
jmp 0x42c454
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42c468
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004bcfcc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push 0x5234a4
push eax
call fcn.004bf896
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push 0x5234a4
push eax
call fcn.004bf896
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 0x5234a4
push eax
call fcn.004bf896
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push 0x5234a4
push eax
call fcn.004bf896
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push 0x5234a4
push eax
call fcn.004bf896
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push 0x5234a4
push eax
call fcn.004bf896
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push 0x5234a4
push eax
call fcn.004bf896
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push 0x5234a4
push eax
call fcn.004bf896
push 0x5234a4
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x80004005
push eax
call fcn.004bf896
int3