Function at 0x4013a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x42e3d4]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
push 1
push 1
push dword [0x42e004]
push dword [section..data]
push 0x42eca0
call fcn.00401120
add esp, 0x14
test al, al
je 0x40167a
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0
push eax
mov eax, dword [0x42eca4]
xorps xmm0, xmm0
movaps xmmword [esp + 0x24], xmm0
movaps xmmword [esp + 0x34], xmm0
mov dword [esp + 0x28], 0x78000000
push eax
mov eax, dword [eax + 0x6c]
call eax
push eax
mov eax, dword [0x42eca4]
push eax
mov eax, dword [eax + 0x70]
call eax
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [0x42eca4]
movaps xmmword [esp + 0x34], xmm0
movaps xmmword [esp + 0x44], xmm0
mov dword [esp + 0x3c], 0x70
push eax
mov eax, dword [eax + 0x90]
call eax
push eax
mov eax, dword [0x42eca4]
push eax
mov eax, dword [eax + 0x94]
call eax
lea eax, [esp + 0x70]
xorps xmm0, xmm0
push eax
mov eax, dword [0x42eca4]
movaps xmmword [esp + 0x74], xmm0
or dword [esp + 0x78], 1
movaps xmmword [esp + 0x84], xmm0
movq qword [esp + 0x94], xmm0
mov dword [esp + 0x74], 0x80000000
push eax
mov eax, dword [eax + 0x84]
call eax
push eax
mov eax, dword [0x42eca4]
push eax
mov eax, dword [eax + 0x88]
call eax
movd xmm2, dword [section..data]
lea eax, [esp + 0x50]
movd xmm1, dword [0x42e004]
xorps xmm0, xmm0
cvtdq2ps xmm2, xmm2
push eax
mov eax, dword [0x42eca4]
push 1
push 0
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x6040200
push eax
mulss xmm2, dword [0x41b3ac]
mulss xmm1, dword [0x41b3ac]
movss dword [esp + 0x60], xmm2
addss xmm2, xmm0
movss dword [esp + 0x64], xmm1
addss xmm1, xmm0
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x70], xmm1
mov eax, dword [eax + 0x114]
call eax
xorps xmm0, xmm0
add esp, 0x40
movd eax, xmm0
movaps xmmword [esp + 0x20], xmm0
and eax, 0x1fffff
or eax, 0x4400000
mov dword [esp + 0x20], eax
mov eax, 0x10
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x28]
and eax, 0x1fffff
or eax, 0x4400000
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x42eca4]
push 2
push eax
mov eax, dword [eax + 0xd8]
call eax
push eax
mov eax, dword [0x42eca4]
push eax
mov eax, dword [eax + 0xdc]
call eax
mov edi, dword [0x42eca4]
xor eax, eax
and eax, 0xff00ffff
mov dword [esp + 0x28], 0x20
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
mov ecx, dword [edi]
push eax
push ecx
mov dword [esp + 0x6c], 0
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x78], 1
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x7c], 0x43
mov dword [esp + 0x84], 0x10
mov dword [esp + 0x88], 0
mov dword [esp + 0x70], 0x100
mov dword [esp + 0x74], 0x10001
call eax
mov ecx, dword [edi + 0x194]
mov esi, eax
push 0x42e008
push 0x100
push 0
push 0x402
push esi
push edi
call ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x50], esi
push eax
mov eax, dword [0x42eca4]
push 0
push 0
push 1
push 0
push eax
mov eax, dword [eax + 0x130]
call eax
add esp, 0x4c
push str.VERT_nDCL_IN_0__nDCL_IN_1__nDCL_OUT_0___POSITION_nDCL_OUT_1___GENERIC_0__n__0:_MOV_OUT_0___IN_0__n__1:_MOV_OUT_1___IN_1__n__2:_END_n
push dword [0x42eca4]
call sym.graw_fs_write_z.exe_graw_parse_vertex_shader
push eax
mov eax, dword [0x42eca4]
push eax
mov eax, dword [eax + 0xac]
call eax
push str.FRAG_nDCL_IN_0___GENERIC__CONSTANT_nDCL_OUT_0___COLOR_nDCL_OUT_1___POSITION_nDCL_TEMP_0__nIMM_FLT32_____1.0______0.0______0.0______0.0__nIMM_FLT32_____0.0______1.0______0.0______0.0__nIMM_FLT32_____0.5______0.4______0.0______0.0__n_0:_MOV_OUT_0___IN_0__n_1:_IF_IN_0_.xxxx_:3_n_2:___MOV_OUT_1_.z__IMM_2_.yyyy_n_3:_ELSE_:5_n_4:___MOV_OUT_1_.z__IMM_2_.xxxx_n_5:_ENDIF_n_6:_END_n
push dword [0x42eca4]
call sym.graw_fs_write_z.exe_graw_parse_fragment_shader
push eax
mov eax, dword [0x42eca4]
push eax
mov eax, dword [eax + 0xa0]
call eax
mov ecx, dword [esp + 0xac]
add esp, 0x20
pop edi
pop esi
xor ecx, esp
call fcn.00406584
mov esp, ebp
pop ebp
ret
push 1
call fcn.0040a0b1
int3