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

Disassembly:
sub esp, 0x58
mov eax, dword [0x97efc0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x6c]
movups xmm0, xmmword [esi + 0x68]
push edi
sub esp, 0x10
mov dword [esp + 0x2c], esi
lea ebp, [esi + 0x68]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0040a460
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x47421b
mov ecx, dword [eax]
mov ebp, dword [ebx + ecx*4 + 0x63de0]
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x474218
push 4
push 0
lea eax, [esi + 0x78]
push eax
push ebx
call fcn.00476910
add esp, 0x10
mov dword [esp + 0x14], eax
jmp 0x474313
lea ebp, [esi + 0x68]
movups xmm0, xmmword [ebp]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
jne 0x474238
test eax, eax
jne 0x4742e0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x10]
cmp eax, 2
je 0x4742e0
xor ecx, ecx
mov edi, 2
push 4
push ecx
test eax, eax
push ebp
push ebx
cmovne edi, ecx
call fcn.00476910
mov edx, dword [ebx + 0x63fec]
add esp, 0x10
mov ebp, dword [ebx + 0x640fc]
mov esi, dword [ebx + 0x63bc8]
shr edx, 2
shr ebp, 2
add ebp, edx
shr esi, 2
add ebp, esi
mov dword [esp + 0x14], eax
cmp dword [ebx + 0x24], 6
mov edx, ebp
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x18
mov ecx, eax
imul ecx, ebp
add ecx, dword [ebx + 0x64208]
nop dword [eax]
cmp dword [ecx + 4], edi
jne 0x4742ac
mov esi, dword [ecx + 8]
test esi, esi
je 0x4742b1
inc edx
add ecx, eax
jmp 0x4742a0
cmp dword [esp + 0x10], 0
sete al
sub edx, ebp
movzx eax, al
push eax
push dword [esp + 0x18]
push edx
push edi
push dword [ecx + 0xc]
push esi
push 1
push ebx
call fcn.0046d8f0
mov esi, dword [esp + 0x3c]
add esp, 0x20
mov ebp, eax
mov dword [esp + 0x18], eax
jmp 0x4742f6
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x64230]
shl ecx, 6
mov ebp, dword [ecx + eax]
mov dword [esp + 0x18], ebp
push 4
push 0
lea eax, [esi + 0x78]
push eax
push ebx
call fcn.00476910
add esp, 0x10
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x47452b
test eax, eax
je 0x47452b
movups xmm0, xmmword [esi + 0x58]
lea edi, [esi + 0x58]
psrldq xmm0, 0xc
movd eax, xmm0
movups xmm0, xmmword [edi]
psrldq xmm0, 0xc
movzx ebp, byte [eax + 0x10]
movd eax, xmm0
cmp byte [eax + 0x11], 0x10
jne 0x47434e
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x40000
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x64230]
shl ecx, 6
push dword [ecx + eax]
call fcn.0047fff0
push eax
call fcn.0047ffc0
add esp, 8
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
xor esi, esi
movups xmmword [esp + 0x2c], xmm0
test ebp, ebp
je 0x4743a1
push eax
push esi
push edi
push ebx
call fcn.00476910
add esp, 0x10
mov dword [esp + esi*4 + 0x2c], eax
test eax, eax
je 0x47452b
mov eax, dword [esp + 0x10]
inc esi
cmp esi, ebp
jb 0x474380
lea esi, [ebx + 0x10]
push 0x20
push esi
call fcn.0047ece0
add esp, 8
test eax, eax
je 0x47452b
push eax
push esi
call fcn.0047fd20
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x47452b
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 0x64]
movzx ecx, byte [ecx + 0x11]
push ecx
push dword [esp + 0x14]
call fcn.00476650
add esp, 8
mov dword [esp + 0x10], eax
cmp ebp, 4
jae 0x474431
push dword [esp + 0x2c]
call fcn.0047fff0
push eax
push esi
call fcn.0047fd20
add esp, 0xc
test eax, eax
je 0x47452b
mov ecx, 4
lea edi, [esp + 0x2c]
sub ecx, ebp
lea edi, [edi + ebp*4]
shl ecx, 2
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov al, 1
mov ecx, ebp
shl al, cl
dec al
movzx eax, al
push eax
push esi
call fcn.0047eac0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x47452b
cmp dword [ebx + 0x1c], 2
push dword [esp + 0x10]
jb 0x4744fa
mov ecx, dword [edi + 0x64]
push str.dx.op.rawBufferStore
push esi
movzx edi, byte [ecx + 0x11]
shr edi, 3
call fcn.00482920
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x474491
mov al, 0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004eec95
add esp, 0x58
ret
push 0x8c
push esi
call fcn.0047ea20
movups xmm0, xmmword [esp + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
push edi
push esi
mov dword [esp + 0x58], eax
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x6c], ebp
call fcn.0047ea20
mov dword [esp + 0x70], eax
lea eax, [esp + 0x4c]
push 0xa
push eax
push ebx
push esi
call fcn.0047d020
add esp, 0x20
test al, al
setne al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004eec95
add esp, 0x58
ret
push ebp
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push eax
push ebx
call fcn.0046cf00
add esp, 0x18
test al, al
setne al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004eec95
add esp, 0x58
ret
mov ecx, dword [esp + 0x64]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eec95
add esp, 0x58
ret