Function at 0x740153b2
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 0x740153e6
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 [0x74051130]
mov ecx, ebx
call esi
test eax, eax
jne 0x740157b6
mov eax, dword [ebx + 0xfb8]
lea ecx, [ebx + 0xf30]
mov eax, dword [eax + 0xac]
shl eax, 5
cmp eax, dword [ecx + 8]
jbe 0x74015434
add eax, 0x400
push eax
push ebx
call fcn.74003835
test eax, eax
jne 0x740157b6
mov eax, dword [ebx + 0xfb8]
lea ecx, [ebx + 0xf24]
mov eax, dword [eax + 0xac]
add eax, eax
cmp eax, dword [ecx + 8]
jbe 0x74015460
add eax, 0x400
push eax
call fcn.740036af
test eax, eax
jne 0x740157b6
mov edx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
xor esi, esi
mov dword [esp + 0x3c], 0x14
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
call fcn.74018fb7
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x7401549d
jmp 0x740157b6
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.740145e0
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 0x74015767
movzx eax, al
lea edx, [esi + 4]
mov dword [esp + 0x1c], edx
cmp eax, 8
ja 0x740156d3
je 0x7401563a
sub eax, 3
je 0x7401558d
sub eax, 1
je 0x7401557f
sub eax, 1
je 0x74015558
sub eax, 1
jne 0x740156e7
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.74014931
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x74015802
movzx eax, word [esi + 2]
lea esi, [esi + eax*8]
add esi, 4
jmp 0x740157eb
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.740148a8
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x74015802
movzx eax, word [esi + 2]
imul eax, eax, 0xc
jmp 0x740157e6
push edx
movzx edx, word [esi + 2]
mov ecx, ebx
call fcn.74014800
jmp 0x7401553a
mov eax, dword [ebx + 0x15d0]
cmp dword [eax + 0x78], 0
jne 0x74015549
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 0x740155f6
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.740145e0
jmp 0x74015633
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.7402397c
test eax, eax
jmp 0x74015543
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 0x74015691
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call dword [0x74051130]
call edi
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x74015695
and dword [esp + 0x14], ecx
test ecx, ecx
jne 0x740157fe
movzx eax, word [esi + 2]
xor edi, edi
and dword [esp + 0x10], edi
mov ecx, eax
cmp word [esp + 0x10], ax
jae 0x740156cb
mov ecx, ebx
call fcn.740143ea
mov edx, dword [esp + 0x1c]
inc edi
movzx ecx, word [esi + 2]
add edx, 8
mov dword [esp + 0x1c], edx
cmp edi, ecx
jb 0x740156b0
movzx eax, cx
jmp 0x7401554d
sub eax, 9
je 0x740157c4
sub eax, 3
je 0x74015741
dec eax
sub eax, 1
je 0x740156fc
movzx ecx, word [esi + 2]
movzx eax, byte [esi + 1]
add esi, 4
imul ecx, eax
add esi, ecx
jmp 0x740157eb
mov eax, dword [edx]
test al, 1
je 0x7401570d
mov eax, dword [edx + 4]
mov dword [ebx + 0x12e0], eax
mov eax, dword [edx]
test al, 2
je 0x74015735
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 0x740157e6
mov eax, dword [ebx + 0x12e0]
and eax, dword [edx]
cmp dword [edx + 8], 0
je 0x740157bd
cmp eax, dword [edx + 4]
je 0x740157df
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x740157e9
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 4]
call fcn.74019063
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
lea edx, [ebx + 0xea4]
call fcn.7402073e
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 0x740157df
jmp 0x74015758
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
push edx
movzx edx, word [esi + 2]
call fcn.74014a2e
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jne 0x74015802
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 0x740154fd
jmp 0x74015763
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 4]
call fcn.74019063
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 0x740157b6