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

Disassembly:
sub esp, 0x6c
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
cmp dword [edi], ebp
je 0x4265ca
mov eax, dword [esp + 0x7c]
push ebx
mov ebx, 1
cmp eax, ebp
mov dword [esp + 0x10], ebx
jne 0x426371
fld dword [0x46f434]
mov esi, 2
jmp 0x42638c
lea eax, [edi + 0xa4]
push 0x6311a8
push eax
mov ecx, 0x62f668
mov esi, 3
call fcn.0041b0a0
cmp dword [esi*4 + 0x47cc18], ebx
jne 0x4263d3
fcomp dword [0x46f410]
fnstsw ax
test ah, 1
je 0x4263d5
fld dword [0x62f664]
fcomp dword [0x46f434]
fnstsw ax
test ah, 0x41
jne 0x4263d5
mov ecx, dword [0x62f664]
push ecx
push 0x62f640
push ebx
push edi
mov ecx, 0x62f668
call fcn.00418d60
mov dword [esp + 0x10], ebp
jmp 0x4263d5
fstp st(0)
cmp dword [0x60d390], ebp
jle 0x426466
mov ecx, dword [0x60d394]
lea ebx, [edi + 0xa4]
xor esi, esi
fild dword [esi + ecx + 0x10]
lea edx, [esp + 0x2c]
push ebx
push edx
fstp dword [esp + 0x34]
fild dword [esi + ecx + 0x14]
fstp dword [esp + 0x38]
fild dword [esi + ecx + 0x18]
mov ecx, 0x62f668
mov dword [esp + 0x40], 0x3f800000
fstp dword [esp + 0x3c]
call fcn.0041b0a0
mov ecx, dword [0x60d394]
fst dword [esp + 0x80]
fild dword [esi + ecx + 0x1c]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x42644a
mov eax, dword [0x60d390]
inc ebp
add esi, 0x20
cmp ebp, eax
jl 0x4263ef
jmp 0x426466
cmp ebp, dword [0x60d390]
jge 0x426466
mov eax, dword [esp + 0x80]
push eax
push ecx
push ebp
mov ecx, 0x62f668
call fcn.00417fa0
mov ecx, dword [esp + 0x10]
push 0
push ecx
push edi
mov ecx, 0x62f668
call fcn.004196b0
mov eax, dword [0x60d390]
pop ebx
cmp ebp, eax
jge 0x42648c
mov ecx, 0x62f668
call fcn.00418120
cmp byte [edi + 0x136], 1
jne 0x4265ca
mov ecx, 0x4b3a70
call fcn.0040b2b0
mov esi, eax
test esi, esi
jle 0x4265ca
fld dword [0x47c078]
fmul dword [0x46f400]
call fcn.004616bc
cdq
idiv esi
mov dword [esp + 0x7c], edx
fild dword [esp + 0x7c]
fstp dword [esp + 0xc]
fld dword [edi + 0xc8]
fadd dword [0x46f448]
fst dword [esp + 0x7c]
fcomp dword [0x46f450]
fnstsw ax
test ah, 0x41
jne 0x4264f8
fld dword [esp + 0x7c]
fsub dword [0x46f450]
fstp dword [esp + 0x7c]
call dword [sym.imp.opengl32.dll_glPushMatrix]
call dword [sym.imp.opengl32.dll_glLoadIdentity]
mov edx, dword [edi + 0xac]
mov eax, dword [edi + 0xa4]
push edx
push 0
push eax
call dword [sym.imp.opengl32.dll_glTranslatef]
mov ecx, dword [esp + 0x7c]
push 0
push 0x3f800000
push 0
push ecx
call dword [sym.imp.opengl32.dll_glRotatef]
lea edx, [esp + 0x38]
push edx
push 0xba6
call dword [sym.imp.opengl32.dll_glGetFloatv]
call dword [sym.imp.opengl32.dll_glPopMatrix]
fld dword [esp + 0x58]
fmul dword [0x46f4bc]
lea eax, [esp + 0x14]
push eax
push ecx
fadd dword [esp + 0x70]
fstp dword [esp + 0x18]
fld dword [esp + 0x68]
fmul dword [0x46f4bc]
mov edx, dword [esp + 0x18]
fadd dword [esp + 0x78]
fstp dword [esp + 0x20]
fld dword [edi + 0xa8]
fadd dword [0x46f424]
mov ecx, dword [esp + 0x20]
fstp dword [esp]
push ecx
push edx
mov ecx, 0x60cf40
call fcn.0044df70
test eax, eax
je 0x4265ca
mov eax, dword [edi + 0xc8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
push 0
lea edx, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, 0x4b3a70
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
call fcn.0040b390
pop edi
pop esi
pop ebp
add esp, 0x6c
ret 4