Function at 0x414fa0
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d3e86
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.0045f340
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0xc8]
push eax
call fcn.0044b190
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x41500b
push 0x501708
call fcn.0045f340
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x501714
call fcn.0045f340
mov eax, dword [esi + 0xc8]
mov dword [eax + 0x10], 0x413c30
mov dword [eax + 0x14], esi
mov ecx, dword [esi + 0x8c]
push str._t_tLoading_GUI_Gfx_Script
call fcn.0045f340
mov ecx, dword [esi + 0xc8]
push 0
push str.scripts_gfx_gui.vsc
call fcn.0044b370
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x41506d
push 0x50174c
call fcn.0045f340
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x501758
call fcn.0045f340
mov ecx, dword [esi + 0x8c]
push str._t_tInit_Gfx_Handler
call fcn.0045f340
mov ecx, dword [esi + 0x70]
push ecx
mov ecx, dword [esi + 0xf0]
call fcn.0044b190
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x4150bc
push 0x501774
call fcn.0045f340
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x501780
call fcn.0045f340
mov eax, dword [esi + 0xf0]
mov dword [eax + 0x10], 0x413c30
mov dword [eax + 0x14], esi
mov ecx, dword [esi + 0x8c]
push str._t_tLoading_Gfx_Script
call fcn.0045f340
mov ecx, dword [esi + 0xf0]
push 0
push str.scripts_gfx_gfx.vsc
call fcn.0044b370
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x41511e
push 0x5017b4
call fcn.0045f340
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
push 0x5017c0
call fcn.0045f340
mov ecx, dword [esi + 0x8c]
push str._t_tInit_Shader_Handler
call fcn.0045f340
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0xf8]
push edx
call fcn.0045f8b0
mov ecx, dword [esi + 0x8c]
push 0x5017e0
call fcn.0045f340
mov ecx, dword [esi + 0x8c]
push str._t_tLoading_Shader_Script
call fcn.0045f340
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xf8]
push eax
push str.scripts_shaders_shaders.shd
call fcn.004610c0
test eax, eax
mov ecx, dword [esi + 0x8c]
jne 0x4151a4
push str._t_tFAILED_n
call fcn.0045f340
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.0045f340
push 0xe4
call fcn.004c3f1a
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x2c], 0
je 0x415264
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.0045f740
jmp 0x415266
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.00416500
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.00416530
mov ecx, dword [esi + 0x298]
mov eax, dword [esi + 0x70]
mov dword [eax + 0x2d4], ecx
mov ecx, esi
call fcn.00414c30
mov ecx, dword [esi + 0xc8]
push str.FONT_MENU_FONT
call fcn.0044b220
mov ecx, dword [esi + 0xc8]
push str.FONT_MENU_TEXTURE
mov dword [esi + 0x29c], eax
call fcn.0044b220
mov ecx, dword [esi + 0xc8]
push str.MOUSE_POINTER_TEXTURE
mov dword [esi + 0x2a0], eax
call fcn.0044b220
mov ecx, dword [esi + 0x28c]
mov dword [esi + 0xec], eax
call fcn.00426ad0
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret