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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
mov ebx, ecx
lea eax, [edx + 0xc]
push esi
push edi
mov edi, dword [edx]
and dword [ebx + 0x1264], 0
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x1260]
mov dword [esp + 0x18], edi
test eax, eax
je 0x74014bf4
push eax
call sym.d3dim.dll_D3DFree
and dword [ebx + 0x1260], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x64]
mov ecx, esi
call dword [0x74050130]
mov ecx, ebx
call esi
test eax, eax
jne 0x74014fce
mov eax, dword [ebx + 0xfb8]
lea ecx, [ebx + 0xf30]
mov eax, dword [eax + 0xac]
shl eax, 5
cmp eax, dword [ecx + 8]
jbe 0x74014c3e
add eax, 0x400
push eax
push ebx
call fcn.7400378e
xor esi, esi
jmp 0x74014c42
xor esi, esi
mov eax, esi
test eax, eax
jne 0x74014fce
mov eax, dword [ebx + 0xfb8]
lea ecx, [ebx + 0xf24]
mov eax, dword [eax + 0xac]
add eax, eax
cmp eax, dword [ecx + 8]
jbe 0x74014c70
add eax, 0x400
push eax
call fcn.74003616
jmp 0x74014c72
mov eax, esi
test eax, eax
jne 0x74014fce
mov edx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], esi
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], 0x14
call fcn.74018744
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x74014cb5
jmp 0x74014fce
mov eax, dword [ebx + 0xf40]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xf44]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xf48]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xf4c]
mov dword [esp + 0x24], eax
mov eax, fcn.74013e30
mov dword [ebx + 0xf44], esi
mov dword [ebx + 0xf4c], esi
mov dword [ebx + 0xf40], eax
mov dword [ebx + 0xf48], eax
mov esi, dword [edi + 0x10]
add esi, dword [esp + 0x48]
mov dword [ebx + 0x1278], esi
mov dword [esp + 0x10], esi
mov al, byte [esi]
cmp al, 0xb
je 0x74014f7f
movzx eax, al
lea edx, [esi + 4]
mov dword [esp + 0x1c], edx
cmp eax, 8
ja 0x74014eeb
je 0x74014e52
sub eax, 3
je 0x74014da5
sub eax, 1
je 0x74014d97
sub eax, 1
je 0x74014d70
sub eax, 1
jne 0x74014eff
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.74014166
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x7401501a
movzx eax, word [esi + 2]
lea esi, [esi + eax*8]
add esi, 4
jmp 0x74015003
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.740140da
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x7401501a
movzx eax, word [esi + 2]
imul eax, eax, 0xc
jmp 0x74014ffe
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.74014038
jmp 0x74014d52
mov eax, dword [ebx + 0x15d0]
cmp dword [eax + 0x78], 0
jne 0x74014d61
test byte [ebx + 0xf1c], 4
lea edi, [ebx + 0x1268]
mov esi, dword [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
je 0x74014e0e
mov dword [ebx + 0xe4c], 4
mov ecx, ebx
movzx eax, word [esi + 2]
imul eax, eax, 3
mov dword [ebx + 0xe30], eax
movzx eax, word [esi + 2]
mov dword [ebx + 0xe48], eax
mov eax, dword [ebx + 0xf3c]
add eax, dword [ebx + 0xf34]
mov dword [ebx + 0xe28], eax
mov dword [ebx + 0xe34], edx
call fcn.74013e30
jmp 0x74014e4b
movzx ecx, word [esi + 2]
imul eax, ecx, 3
mov dword [ebx + 0xe48], ecx
lea ecx, [ebx + 0x10]
mov dword [ebx + 0xe4c], 4
mov dword [ebx + 0xe30], eax
mov eax, dword [ebx + 0xf3c]
add eax, dword [ebx + 0xf34]
mov dword [ebx + 0xe28], eax
mov dword [ebx + 0xe34], edx
call fcn.74022b79
test eax, eax
jmp 0x74014d5b
mov eax, dword [ebx + 0x1224]
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, esi
sub eax, dword [esp + 0x48]
add eax, 4
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0xfb4]
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x74014ea9
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call dword [0x74050130]
call edi
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x74014ead
and dword [esp + 0x14], ecx
test ecx, ecx
jne 0x74015016
movzx eax, word [esi + 2]
xor edi, edi
and dword [esp + 0x10], edi
mov ecx, eax
cmp word [esp + 0x10], ax
jae 0x74014ee3
mov ecx, ebx
call fcn.74013c44
mov edx, dword [esp + 0x1c]
inc edi
movzx ecx, word [esi + 2]
add edx, 8
mov dword [esp + 0x1c], edx
cmp edi, ecx
jb 0x74014ec8
movzx eax, cx
jmp 0x74014d65
sub eax, 9
je 0x74014fdc
sub eax, 3
je 0x74014f59
dec eax
sub eax, 1
je 0x74014f14
movzx ecx, word [esi + 2]
movzx eax, byte [esi + 1]
add esi, 4
imul ecx, eax
add esi, ecx
jmp 0x74015003
mov eax, dword [edx]
test al, 1
je 0x74014f25
mov eax, dword [edx + 4]
mov dword [ebx + 0x12e0], eax
mov eax, dword [edx]
test al, 2
je 0x74014f4d
fild dword [edx + 8]
fstp dword [ebx + 0xea4]
fild dword [edx + 0xc]
fstp dword [ebx + 0xea8]
fild dword [edx + 0x10]
fstp dword [ebx + 0xeac]
fild dword [edx + 0x14]
fstp dword [ebx + 0xeb0]
movzx eax, word [esi + 2]
imul eax, eax, 0x18
jmp 0x74014ffe
mov eax, dword [ebx + 0x12e0]
and eax, dword [edx]
cmp dword [edx + 8], 0
je 0x74014fd5
cmp eax, dword [edx + 4]
je 0x74014ff7
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x74015001
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 4]
call fcn.740187e9
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
lea edx, [ebx + 0xea4]
call fcn.7401f9e8
mov eax, dword [ebx + 0x12e0]
add esp, 4
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xf48], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0xf4c], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xf40], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xf44], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [edx + 4]
jne 0x74014ff7
jmp 0x74014f70
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
push edx
movzx edx, word [esi + 2]
call fcn.7401425d
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jne 0x7401501a
movzx eax, word [esi + 2]
shl eax, 4
add esi, 4
add esi, eax
mov al, byte [esi]
mov dword [esp + 0x10], esi
cmp al, 0xb
jne 0x74014d15
jmp 0x74014f7b
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
call fcn.740187e9
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xf48], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0xf4c], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xf40], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xf44], eax
mov eax, dword [esp + 0x14]
jmp 0x74014fce