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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x1b0
mov ebx, dword [eax + 0x1c0]
mov dword [ebp - 0x118], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x120], eax
lea eax, [ebx + 0x188]
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x10c], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x114], ecx
test eax, eax
je 0x6c99e708
mov dword [ebp - 0xbc], eax
cmp eax, dword [ebx + 0x140]
je 0x6c99e16e
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0xbc]
mov edx, dword [eax]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
call dword [edx + 0x84]
mov eax, dword [ebp - 0xbc]
sub esp, 0x10
mov dword [ebx + 0x140], eax
mov edi, dword [ebx + 0x184]
test edi, edi
jne 0x6c99e3f8
mov ecx, dword [ebx + 0x158]
mov eax, dword [ebx + 0x15c]
test ecx, ecx
je 0x6c99e1bf
test eax, eax
jne 0x6c99e710
mov eax, dword [ebx + 0x14]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0xb4]
sub esp, 0xc
mov dword [ebx + 0x158], 0
mov edx, dword [ebx + 0x15c]
mov eax, dword [ebx + 0xb4]
test edx, edx
cmove eax, dword [ebx + 0xb0]
cmp dword [ebx + 0x144], eax
je 0x6c99e203
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x124], eax
mov ecx, dword [edx]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x124]
sub esp, 8
mov dword [ebx + 0x144], eax
test esi, esi
jne 0x6c99e3a0
xor eax, eax
cmp dword [ebx + 0x148], eax
je 0x6c99e24c
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x120], eax
mov ecx, dword [edx]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp], edx
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x120]
sub esp, 0x10
mov dword [ebx + 0x148], eax
mov esi, dword [ebp - 0x118]
cmp dword [ebx + 0x14c], esi
je 0x6c99e282
mov eax, dword [ebx + 0x14]
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x24]
mov dword [ebx + 0x14c], esi
sub esp, 0x10
mov eax, dword [ebp - 0x10c]
xor esi, esi
test eax, eax
je 0x6c99e296
mov eax, dword [ebp - 0x114]
mov esi, dword [eax]
cmp dword [ebx + 0x150], esi
je 0x6c99e2ce
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x114]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx + 0x20]
mov dword [ebx + 0x150], esi
sub esp, 0x10
mov esi, dword [ebp - 0x11c]
mov eax, dword [esi + 8]
cmp dword [ebx + 0x154], eax
je 0x6c99e30d
mov eax, dword [ebx + 0x14]
lea ecx, [esi + 8]
mov edx, dword [eax]
mov dword [esp], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0
call dword [edx + 0x28]
mov eax, dword [esi + 8]
sub esp, 0x10
mov dword [ebx + 0x154], eax
lea esi, [ebx + 0xb8]
cmp edi, 1
je 0x6c99e336
mov eax, dword [ebp - 0x110]
mov dword [esp + 8], 0x40
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.6c9d7a80
test eax, eax
je 0x6c99e38f
mov eax, dword [ebp - 0x110]
mov dword [esp + 8], 0x40
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.6c9d78b0
mov eax, dword [ebx + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ecx, dword [ebx + 0x138]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0xc0]
sub esp, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov ecx, dword [ebx + 0x9c]
test ecx, ecx
jle 0x6c99e3d8
mov eax, dword [ebx + 0xa0]
xor edx, edx
jmp 0x6c99e3c2
add edx, 1
add eax, 8
cmp edx, ecx
je 0x6c99e3d8
cmp dword [eax], esi
jne 0x6c99e3b8
mov eax, dword [eax + 4]
test eax, eax
jne 0x6c99e20d
lea esi, [esi]
mov eax, dword [ebp - 0x120]
mov edx, esi
mov eax, dword [eax + 0x1c0]
call fcn.6c99dea0
test eax, eax
jne 0x6c99e20d
jmp 0x6c99e38f
mov eax, dword [ebp - 0x120]
mov edi, dword [eax + 0x1c0]
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x178]
test edx, edx
je 0x6c99e760
test eax, eax
je 0x6c99ea7f
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x6c99ea7f
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.6c988c80
lea eax, [ebp - 0x98]
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6c9d74f0
fild dword [edi + 0x178]
mov edx, 0x3f800000
mov eax, 0xbf800000
fdivr dword [0x6ca83e60]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x108]
fstp dword [ebp - 0x98]
fild dword [edi + 0x17c]
fdivr dword [0x6ca83e64]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x50], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x54], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x34]
fstp dword [ebp - 0x84]
mov dword [esp + 0x68], edx
fld1
mov edx, dword [ebp - 0x30]
fst dword [ebp - 0x70]
fstp dword [ebp - 0x5c]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x70], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x74], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x80], edx
mov edx, dword [ebp - 0x98]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x94]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x90]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x88]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x84]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x80]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x60]
mov dword [esp], eax
mov dword [esp + 0x34], 0xbf800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x3f800000
call fcn.6c988d20
mov eax, dword [ebp - 0x108]
mov dword [edi + 0xf8], eax
mov eax, dword [ebp - 0x104]
mov dword [edi + 0xfc], eax
mov eax, dword [ebp - 0x100]
mov dword [edi + 0x100], eax
mov eax, dword [ebp - 0xfc]
mov dword [edi + 0x104], eax
mov eax, dword [ebp - 0xf8]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0xf0]
mov dword [edi + 0x110], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 0x114], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x118], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0x11c], eax
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0x120], eax
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x124], eax
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0x128], eax
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x12c], eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x130], eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x134], eax
fild dword [edi + 0x170]
fstp dword [ebp - 0x124]
fild dword [edi + 0x174]
movss xmm0, dword [ebp - 0x124]
fstp dword [ebp - 0x128]
fild dword [edi + 0x178]
movss xmm5, dword [ebp - 0x128]
unpcklps xmm0, xmm5
fstp dword [ebp - 0x12c]
fild dword [edi + 0x17c]
movss xmm1, dword [ebp - 0x12c]
fstp dword [ebp - 0x130]
movss xmm4, dword [ebp - 0x130]
unpcklps xmm1, xmm4
movlhps xmm0, xmm1
xor eax, eax
mov edx, 0x3f800000
movaps xmmword [ebp - 0xb8], xmm0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov eax, dword [edi + 0x14]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xb0]
mov dword [edi + 0x184], 0
mov edi, 1
sub esp, 0xc
jmp 0x6c99e17c
mov eax, dword [ebx + 0x20]
jmp 0x6c99e129
mov dword [esp], 1
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x58]
lea edx, [ebx + 0x160]
call fcn.6c99c100
test eax, eax
jne 0x6c99e38f
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x58]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xb4]
sub esp, 0xc
jmp 0x6c99e1b5
mov edx, dword [edi + 0x13c]
test eax, eax
je 0x6c99ea7f
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x6c99ea7f
cmp edx, 3
je 0x6c99ea4c
ja 0x6c99ea2f
cmp edx, 1
je 0x6c99e42b
cmp edx, 2
jne 0x6c99ea64
lea eax, [ebp - 0x58]
mov dword [esp + 4], 0xbfc90fdb
mov dword [esp], eax
call fcn.6c9891d0
lea eax, [ebp - 0x98]
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6c9d74f0
fild dword [edi + 0x178]
mov edx, 0x3f800000
mov eax, 0xbf800000
fdivr dword [0x6ca83e60]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x108]
fstp dword [ebp - 0x98]
fild dword [edi + 0x17c]
fdivr dword [0x6ca83e64]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x50], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x54], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x34]
fstp dword [ebp - 0x84]
mov dword [esp + 0x68], edx
fld1
mov edx, dword [ebp - 0x30]
fst dword [ebp - 0x70]
fstp dword [ebp - 0x5c]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x70], edx
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x74], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x80], edx
mov edx, dword [ebp - 0x98]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x94]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x90]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x8c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x88]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x84]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x80]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x60]
mov dword [esp], eax
mov dword [esp + 0x34], 0xbf800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x3f800000
call fcn.6c988d20
mov eax, dword [ebp - 0x108]
mov dword [edi + 0xf8], eax
mov eax, dword [ebp - 0x104]
mov dword [edi + 0xfc], eax
mov eax, dword [ebp - 0x100]
mov dword [edi + 0x100], eax
mov eax, dword [ebp - 0xfc]
mov dword [edi + 0x104], eax
mov eax, dword [ebp - 0xf8]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0xf0]
mov dword [edi + 0x110], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 0x114], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x118], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0x11c], eax
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0x120], eax
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x124], eax
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0x128], eax
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x12c], eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x130], eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x134], eax
fild dword [edi + 0x174]
fstp dword [ebp - 0x124]
fild dword [edi + 0x170]
movss xmm0, dword [ebp - 0x124]
fstp dword [ebp - 0x128]
fild dword [edi + 0x17c]
movss xmm3, dword [ebp - 0x128]
unpcklps xmm0, xmm3
fstp dword [ebp - 0x12c]
fild dword [edi + 0x178]
movss xmm1, dword [ebp - 0x12c]
fstp dword [ebp - 0x130]
movss xmm2, dword [ebp - 0x130]
unpcklps xmm1, xmm2
movlhps xmm0, xmm1
jmp 0x6c99e6b0
cmp edx, 4
jne 0x6c99ea64
lea eax, [ebp - 0x58]
mov dword [esp + 4], 0x3fc90fdb
mov dword [esp], eax
call fcn.6c9891d0
jmp 0x6c99e7b0
lea eax, [ebp - 0x58]
mov dword [esp + 4], 0x40490fdb
mov dword [esp], eax
call fcn.6c9891d0
jmp 0x6c99e436
mov dword [esp], str.An_unknown_DisplayOrientation_is_being_used
call fcn.6c942590
test eax, eax
sete al
movzx eax, al
mov edi, eax
jmp 0x6c99e17c
xor edi, edi
jmp 0x6c99e17c