Function at 0x415b40
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d7516
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push str.gfxhandler.log
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esi + 0x8c]
push str._t_tInit_GUI_Gfx_Handler
call fcn.004623a0
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0xc8]
push eax
call fcn.0044e3a0
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x415bab
push 0x5058a0
call fcn.004623a0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x5058ac
call fcn.004623a0
mov eax, dword [esi + 0xc8]
mov dword [eax + 0x10], 0x4144b0
mov dword [eax + 0x14], esi
mov ecx, dword [esi + 0x8c]
push str._t_tLoading_GUI_Gfx_Script
call fcn.004623a0
mov ecx, dword [esi + 0xc8]
push 0
push str.scripts_gfx_gui.vsc
call fcn.0044e580
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x415c0d
push 0x5058e4
call fcn.004623a0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x5058f0
call fcn.004623a0
mov ecx, dword [esi + 0x8c]
push str._t_tInit_Gfx_Handler
call fcn.004623a0
mov ecx, dword [esi + 0x70]
push ecx
mov ecx, dword [esi + 0xf0]
call fcn.0044e3a0
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x415c5c
push 0x50590c
call fcn.004623a0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x505918
call fcn.004623a0
mov eax, dword [esi + 0xf0]
mov dword [eax + 0x10], 0x4144b0
mov dword [eax + 0x14], esi
mov ecx, dword [esi + 0x8c]
push str._t_tLoading_Gfx_Script
call fcn.004623a0
mov ecx, dword [esi + 0xf0]
push 0
push str.scripts_gfx_gfx.vsc
call fcn.0044e580
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x415cbe
push 0x50594c
call fcn.004623a0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x505958
call fcn.004623a0
mov ecx, dword [esi + 0x8c]
push str._t_tInit_Shader_Handler
call fcn.004623a0
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0xf8]
push edx
call fcn.00462910
mov ecx, dword [esi + 0x8c]
push 0x505978
call fcn.004623a0
mov ecx, dword [esi + 0x8c]
push str._t_tLoading_Shader_Script
call fcn.004623a0
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xf8]
push eax
push str.scripts_shaders_shaders.shd
call fcn.00464120
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x415d44
push str._t_tFAILED_n
call fcn.004623a0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push str._t_tOK_n
call fcn.004623a0
push 0xe4
call fcn.004c73ca
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x2c], 0
je 0x415e04
push 0
push 0x3faaaaab
push 0x3f060a92
push 0x42200000
push 0x447a0000
push 0x3dcccccd
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x3c]
mov dword [ecx], edx
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], edx
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x44]
mov dword [ecx + 8], edx
mov dword [esp + 0x48], 0x3f800000
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
sub esp, 0xc
mov dword [esp + 0x3c], 0x41200000
mov edx, dword [esp + 0x3c]
mov ecx, esp
mov dword [ecx], edx
mov dword [esp + 0x40], 0x41200000
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], edx
mov dword [esp + 0x44], 0xc2c80000
mov edx, dword [esp + 0x44]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.004627a0
jmp 0x415e06
xor eax, eax
lea ecx, [esp + 8]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [esi + 0x298], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xc14ccccd
call fcn.00417150
mov ecx, dword [esi + 0x298]
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00417180
mov ecx, dword [esi + 0x298]
mov eax, dword [esi + 0x70]
mov dword [eax + 0x2d4], ecx
mov ecx, esi
call fcn.004157d0
mov ecx, dword [esi + 0xc8]
push str.FONT_MENU_FONT
call fcn.0044e430
mov ecx, dword [esi + 0xc8]
push str.FONT_MENU_TEXTURE
mov dword [esi + 0x29c], eax
call fcn.0044e430
mov ecx, dword [esi + 0xc8]
push str.MOUSE_POINTER_TEXTURE
mov dword [esi + 0x2a0], eax
call fcn.0044e430
mov ecx, dword [esi + 0x28c]
mov dword [esi + 0xec], eax
call fcn.00427600
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret