Function at 0x74014c00
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 0x74014c34
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 0x7401500e
mov eax, dword [ebx + 0xfb8]
lea ecx, [ebx + 0xf30]
mov eax, dword [eax + 0xac]
shl eax, 5
cmp eax, dword [ecx + 8]
jbe 0x74014c7e
add eax, 0x400
push eax
push ebx
call fcn.7400378e
xor esi, esi
jmp 0x74014c82
xor esi, esi
mov eax, esi
test eax, eax
jne 0x7401500e
mov eax, dword [ebx + 0xfb8]
lea ecx, [ebx + 0xf24]
mov eax, dword [eax + 0xac]
add eax, eax
cmp eax, dword [ecx + 8]
jbe 0x74014cb0
add eax, 0x400
push eax
call fcn.74003616
jmp 0x74014cb2
mov eax, esi
test eax, eax
jne 0x7401500e
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.74018786
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x74014cf5
jmp 0x7401500e
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.74013e80
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 0x74014fbf
movzx eax, al
lea edx, [esi + 4]
mov dword [esp + 0x1c], edx
cmp eax, 8
ja 0x74014f2b
je 0x74014e92
sub eax, 3
je 0x74014de5
sub eax, 1
je 0x74014dd7
sub eax, 1
je 0x74014db0
sub eax, 1
jne 0x74014f3f
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.740141b2
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x7401505a
movzx eax, word [esi + 2]
lea esi, [esi + eax*8]
add esi, 4
jmp 0x74015043
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.74014126
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x7401505a
movzx eax, word [esi + 2]
imul eax, eax, 0xc
jmp 0x7401503e
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.74014084
jmp 0x74014d92
mov eax, dword [ebx + 0x15d0]
cmp dword [eax + 0x78], 0
jne 0x74014da1
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 0x74014e4e
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.74013e80
jmp 0x74014e8b
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.74022c79
test eax, eax
jmp 0x74014d9b
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 0x74014ee9
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 0x74014eed
and dword [esp + 0x14], ecx
test ecx, ecx
jne 0x74015056
movzx eax, word [esi + 2]
xor edi, edi
and dword [esp + 0x10], edi
mov ecx, eax
cmp word [esp + 0x10], ax
jae 0x74014f23
mov ecx, ebx
call fcn.74013c94
mov edx, dword [esp + 0x1c]
inc edi
movzx ecx, word [esi + 2]
add edx, 8
mov dword [esp + 0x1c], edx
cmp edi, ecx
jb 0x74014f08
movzx eax, cx
jmp 0x74014da5
sub eax, 9
je 0x7401501c
sub eax, 3
je 0x74014f99
dec eax
sub eax, 1
je 0x74014f54
movzx ecx, word [esi + 2]
movzx eax, byte [esi + 1]
add esi, 4
imul ecx, eax
add esi, ecx
jmp 0x74015043
mov eax, dword [edx]
test al, 1
je 0x74014f65
mov eax, dword [edx + 4]
mov dword [ebx + 0x12e0], eax
mov eax, dword [edx]
test al, 2
je 0x74014f8d
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 0x7401503e
mov eax, dword [ebx + 0x12e0]
and eax, dword [edx]
cmp dword [edx + 8], 0
je 0x74015015
cmp eax, dword [edx + 4]
je 0x74015037
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x74015041
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 4]
call fcn.7401882b
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
lea edx, [ebx + 0xea4]
call fcn.7401fa63
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 0x74015037
jmp 0x74014fb0
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
push edx
movzx edx, word [esi + 2]
call fcn.740142a9
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jne 0x7401505a
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 0x74014d55
jmp 0x74014fbb
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
call fcn.7401882b
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 0x7401500e