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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edi, ecx
mov eax, dword [0x591014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x18], ecx
mov eax, edx
sub eax, ecx
sar eax, 4
imul eax, eax, 0xcccccccd
mov bl, 1
cmp eax, 5
ja case.default.0x47d244
jmp dword [eax*4 + 0x5857dc]
lea eax, [edx - 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
cmp eax, dword [edx - 0x28]
mov eax, dword [edi + 0x2c]
sbb eax, dword [edx - 0x24]
jge case.0x47d244.0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0047d0a0
add esp, 8
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004c66e3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [edi + 0xa0]
mov dword [esp + 4], edx
lea edx, [edi + 0x50]
mov ecx, edi
push esi
call fcn.00529d40
mov ecx, dword [esp + 8]
add esp, 4
lea edx, [edi + 0xf0]
cmp edx, ecx
je case.0x47d244.0
mov dword [esp + 0xc], 0xa0
mov dword [esp + 8], 0
mov eax, dword [esi + 0x28]
cmp eax, dword [edx + 0x28]
mov eax, dword [esi + 0x2c]
sbb eax, dword [edx + 0x2c]
jge 0x47d46f
lea eax, [edx + 0x28]
mov dword [esp], eax
lea esi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
movups xmm0, xmmword [edx]
movaps xmmword [esp + 0x20], xmm0
lea eax, [edx + 0x10]
mov ecx, esi
push eax
mov ebx, edx
call fcn.004a1c90
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [ebx + 0x1c]
movsd qword [esi + 0xc], xmm0
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [ebx + 0x24], eax
mov eax, dword [esp]
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x38], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x28], xmm1
movups xmmword [esi + 0x18], xmm0
mov eax, dword [esp + 0xc]
mov ebx, eax
lea esi, [edi + eax]
add esi, 0x60
movups xmm0, xmmword [esi - 0x60]
movups xmmword [esi - 0x10], xmm0
lea eax, [edi + eax + 0x10]
mov dword [esp], eax
mov ecx, esi
push eax
call fcn.00449840
mov eax, dword [esp]
cmp byte [eax + 0x67], 0
jns 0x47d377
push dword [esi + 0xc]
call fcn.004c5c98
add esp, 4
mov eax, dword [edi + ebx + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [edi + ebx + 0x1c]
movsd qword [esi + 0xc], xmm0
xor eax, eax
mov byte [edi + ebx + 0x27], al
mov byte [edi + ebx + 0x1c], al
movups xmm0, xmmword [edi + ebx + 0x28]
movups xmm1, xmmword [edi + ebx + 0x38]
movups xmmword [edi + ebx + 0x78], xmm0
movups xmmword [edi + ebx + 0x88], xmm1
movsd xmm0, qword [edi + ebx + 0x48]
movsd qword [edi + ebx + 0x98], xmm0
test ebx, ebx
je 0x47d3dd
mov eax, dword [edi + ebx - 0x28]
mov ecx, dword [edi + ebx - 0x24]
cmp eax, dword [esp + 0x48]
lea eax, [ebx - 0x50]
sbb ecx, dword [esp + 0x4c]
jl 0x47d344
add eax, edi
add eax, 0x50
jmp 0x47d3df
mov eax, edi
lea esi, [esp + 0x30]
mov dword [esp + 0x10], eax
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
mov ecx, dword [esp]
push esi
call fcn.00449840
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x27], 0
lea ecx, [edi + ebx + 0x1c]
jns 0x47d418
push dword [ecx]
mov dword [esp + 4], ecx
call fcn.004c5c98
mov ecx, dword [esp + 4]
add esp, 4
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
movsd xmm0, qword [esi + 0xc]
movsd qword [ecx], xmm0
lea eax, [edi + ebx]
add eax, 0x28
xor ecx, ecx
mov byte [esp + 0x47], cl
mov byte [esp + 0x3c], cl
movsd xmm0, qword [esi + 0x38]
movsd qword [eax + 0x20], xmm0
movups xmm0, xmmword [esi + 0x18]
movups xmm1, xmmword [esi + 0x28]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
mov ebx, dword [esp + 8]
inc ebx
mov ecx, esi
call fcn.004a1da0
mov dword [esp + 8], ebx
cmp ebx, 8
mov bl, 1
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
je 0x47d4e8
mov esi, edx
lea eax, [edx + 0x50]
add dword [esp + 0xc], 0x50
mov edx, eax
cmp eax, ecx
jne 0x47d2bd
jmp case.0x47d244.0
add edx, 0xffffffb0
lea eax, [edi + 0xa0]
mov esi, edx
lea edx, [edi + 0x50]
mov ecx, edi
push esi
push eax
call fcn.00529e10
jmp 0x47d26f
add edx, 0xffffffb0
mov eax, edx
lea edx, [edi + 0x50]
mov ecx, edi
push eax
call fcn.00529d40
add esp, 4
jmp case.0x47d244.0
add edx, 0xffffffb0
lea eax, [edi + 0xf0]
mov dword [esp], eax
lea esi, [edi + 0xa0]
mov eax, edx
lea edx, [edi + 0x50]
mov ecx, edi
push eax
push dword [esp + 4]
push esi
call fcn.00529c50
add esp, 0xc
jmp case.0x47d244.0
add edx, 0x50
cmp edx, ecx
sete bl
jmp case.0x47d244.0