Function at 0x10054000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
mov esi, ecx
push edi
mov ebp, dword [ebp + 0x18]
mov dword [esp + 0x20], ebp
mov ecx, dword [esi + 8]
mov bl, byte [esi + 0x90]
mov eax, dword [ecx]
call dword [eax + 0x58]
push ebx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1016df00
mov eax, dword [esi + 0x140]
lea ebx, [esi + 0x140]
mov ecx, dword [ebx + 4]
add esp, 0xc
mov dword [esp + 0x14], ebx
cmp eax, ecx
je 0x1005405b
push ebx
push ecx
push eax
call fcn.1002cd50
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
mov esi, dword [eax + 0x30]
add eax, 0x30
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100543f8
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edi, dword [ebx + esi + 0x14]
add ebx, esi
mov eax, ebx
mov esi, dword [ebx + 0x10]
cmp edi, 0x10
jb 0x100540a4
mov eax, dword [ebx]
push 0xb
push str.gl_Position
push esi
push eax
call fcn.1001c310
add esp, 0x10
test al, al
je 0x10054134
cmp byte [ebp + 0x24], 0
je 0x100543c3
mov esi, dword [ebp + 0x40]
lea eax, [ebp + 0x28]
push eax
lea ecx, [esp + 0x2c]
call fcn.10029be0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 4
call fcn.10043a10
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x100543c3
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054125
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054420
push ecx
push edx
call fcn.10174919
add esp, 8
jmp 0x100543c3
mov eax, ebx
cmp edi, 0x10
jb 0x1005413d
mov eax, dword [ebx]
push 0xc
push str.gl_FragCoord
push esi
push eax
call fcn.1001c310
add esp, 0x10
test al, al
je 0x100541cd
cmp byte [ebp + 0x48], 0
je 0x100543c3
mov esi, dword [ebp + 0x64]
lea eax, [ebp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
call fcn.10029be0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 4
call fcn.10043a10
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x100543c3
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100541be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054420
push ecx
push edx
call fcn.10174919
add esp, 8
jmp 0x100543c3
mov eax, ebx
cmp edi, 0x10
jb 0x100541d6
mov eax, dword [ebx]
push 0xc
push str.gl_PointSize
push esi
push eax
call fcn.1001c310
add esp, 0x10
test al, al
je 0x100542d5
cmp byte [ebp + 0x90], 0
je 0x100543c3
mov eax, dword [str.PSIZE]
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], eax
mov al, byte [0x1019542c]
mov byte [esp + 0x2c], al
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x31], 0
call fcn.10029be0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
call fcn.10043a10
mov ecx, dword [esp + 0x78]
cmp ecx, 0x10
jb 0x10054296
mov edx, dword [esp + 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005428c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054420
push ecx
push edx
call fcn.10174919
add esp, 8
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x100543c3
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100542c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054420
push ecx
push edx
call fcn.10174919
add esp, 8
jmp 0x100543c3
mov eax, dword [esp + 0x8c]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
cmp edi, eax
je 0x100543c3
nop
mov eax, dword [edi]
mov esi, dword [eax]
push dword [esi]
call fcn.1002e9a0
push eax
call fcn.1002eae0
mov ecx, dword [edi]
add esp, 8
mov ebp, eax
cmp dword [ecx + 0x1c], 0
jne 0x100543b2
mov ecx, dword [esi + 0x40]
cmp ecx, dword [esi + 0x44]
jne 0x100543b2
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x1005432c
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x10054336
mov ecx, dword [ebx]
push edx
push eax
push dword [ebx + 0x10]
push ecx
call fcn.1001c310
add esp, 0x10
test al, al
je 0x100543b2
mov esi, dword [edi + 0x14]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x68]
call fcn.10029be0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebp
call fcn.10043a10
mov ecx, dword [esp + 0x78]
cmp ecx, 0x10
jb 0x100543b2
mov edx, dword [esp + 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100543a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054420
push ecx
push edx
call fcn.10174919
add esp, 8
add edi, 0x30
cmp edi, dword [esp + 0x1c]
jne 0x100542f0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
inc dword [esp + 0x10]
add ebx, 0x18
mov dword [esp + 0x18], ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x10054092
mov ecx, dword [esp + 0x60]
cmp ecx, 0x10
jb 0x10054430
mov edx, dword [esp + 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054426
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10054426
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10174919
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 4