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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
movzx eax, word [eax + 2]
mov esi, dword [ecx + 0x171c]
mov ebx, dword [ecx + 0x1720]
mov dword [esp + 0x14], eax
xor eax, eax
push edi
mov edi, dword [ecx + 0x1718]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
cmp dword [ebp + 0x10], eax
jl 0x5289b7
mov ecx, dword [esp + 0x18]
mov edx, 0x8a
test ecx, ecx
mov dword [esp + 0x2c], 7
cmovne edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
xor edx, edx
test ecx, ecx
mov ecx, dword [ebp + 0xc]
setne dl
add ecx, 6
mov dword [esp + 0x28], ecx
add edx, 3
mov ecx, dword [ebp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0xc], eax
movzx ecx, word [ecx]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
cmp eax, dword [esp + 0x1c]
jge 0x528311
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
je 0x5289a7
cmp eax, edx
jge 0x5283fa
mov edx, dword [esp + 0x20]
lea eax, [edx + 0x2b3]
lea edx, [edx*4 + 0xace]
lea eax, [ecx + eax*4]
add edx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
movzx eax, word [eax]
cdq
mov dword [esp + 0x60], eax
movzx ecx, word [ecx]
mov dword [esp + 0x10], ecx
add ecx, ebx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x40
mov ecx, dword [ebp + 8]
mov dword [esp + 0x64], edx
jae 0x528375
mov ecx, ebx
call fcn.00491da0
mov ebx, dword [esp + 0x1c]
or edi, eax
or esi, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
jmp 0x5283e6
mov eax, dword [ecx + 4]
add eax, dword [ecx + 0x10]
cmp ebx, 0x40
jne 0x52839d
mov ebx, dword [esp + 0x10]
mov dword [eax], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 4], esi
mov esi, edx
add dword [ecx + 0x10], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
jmp 0x5283e6
movq xmm1, qword [esp + 0x60]
movd xmm0, ebx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
movq qword [eax], xmm1
mov eax, 0x40
movq xmm1, qword [esp + 0x60]
sub eax, ebx
mov ebx, dword [esp + 0x1c]
add dword [ecx + 0x10], 8
add ebx, 0xffffffc0
movd xmm0, eax
psrlq xmm1, xmm0
movq qword [esp + 0x38], xmm1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
sub dword [esp + 0xc], 1
mov eax, dword [esp + 0x30]
jne 0x528337
jmp 0x52895f
cmp dword [esp + 0x24], 0
je 0x528678
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
je 0x52851e
movzx eax, word [ecx + eax*4 + 0xacc]
cdq
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], edx
movzx eax, word [ecx + eax*4 + 0xace]
mov dword [esp + 0x30], eax
add eax, ebx
mov dword [esp + 0xc], eax
cmp eax, 0x40
mov eax, dword [esp + 0x40]
jae 0x528478
mov ecx, ebx
call fcn.00491da0
mov ecx, dword [ebp + 8]
or edi, eax
mov ebx, dword [esp + 0xc]
or esi, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
lea eax, [ecx + 4]
lea edx, [ecx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
jmp 0x52852c
lea edx, [ecx + 0x10]
lea eax, [ecx + 4]
mov dword [esp + 0x10], edx
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
cmp ebx, 0x40
jne 0x5284c0
mov ebx, dword [esp + 0x30]
mov dword [eax], edi
mov edi, dword [esp + 0x40]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
add dword [edx], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0xc], eax
jmp 0x52852c
movq xmm1, qword [esp + 0x40]
movd xmm0, ebx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
mov dword [esp + 0x10], edx
movq qword [eax], xmm1
mov eax, 0x40
movq xmm1, qword [esp + 0x40]
sub eax, ebx
mov ebx, dword [esp + 0xc]
add dword [edx], 8
add ebx, 0xffffffc0
movd xmm0, eax
mov eax, dword [esp + 0x14]
psrlq xmm1, xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
movq qword [esp + 0x38], xmm1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], eax
jmp 0x52852c
lea edx, [ecx + 0x10]
lea eax, [ecx + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
movzx eax, word [ecx + 0xb0c]
movzx ecx, word [ecx + 0xb0e]
cdq
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
lea edx, [ecx + ebx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], edx
cmp edx, 0x40
jae 0x528573
mov edx, dword [esp + 0x4c]
mov ecx, ebx
call fcn.00491da0
mov ecx, dword [esp + 0x10]
or edi, eax
or esi, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
jmp 0x5285fa
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp ebx, 0x40
jne 0x5285b2
mov dword [eax], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
add dword [ecx], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
jmp 0x5285fa
movq xmm1, qword [esp + 0x48]
movd xmm0, ebx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
movq qword [eax], xmm1
mov eax, 0x40
movq xmm1, qword [esp + 0x48]
sub eax, ebx
add dword [ecx], 8
add edx, 0xffffffc0
mov dword [esp + 0x1c], edx
movd xmm0, eax
psrlq xmm1, xmm0
movq qword [esp + 0x38], xmm1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
cdq
add eax, 0xfffffffd
mov dword [esp + 0x34], eax
adc edx, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x1c]
lea ebx, [edx + 2]
cmp ebx, 0x40
jb 0x5288d6
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, dword [ecx]
cmp edx, 0x40
jne 0x528652
mov dword [eax], edi
lea ebx, [edx - 0x3e]
mov edi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x10]
add dword [ecx], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
jmp 0x52895f
movq xmm1, qword [esp + 0x68]
movd xmm0, edx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
movq qword [eax], xmm1
movq xmm1, qword [esp + 0x68]
jmp 0x52893c
cmp eax, 0xa
jg 0x5287d7
movzx eax, word [ecx + 0xb10]
cdq
mov dword [esp + 0x54], edx
movzx edx, word [ecx + 0xb12]
mov dword [esp + 0x30], edx
add edx, ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], edx
cmp edx, 0x40
jae 0x5286cc
mov edx, dword [esp + 0x54]
mov ecx, ebx
call fcn.00491da0
or edi, eax
or esi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
lea ecx, [eax + 0x10]
add eax, 4
jmp 0x528755
lea eax, [ecx + 0x10]
mov dword [esp + 0x34], eax
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
add eax, dword [ecx]
cmp ebx, 0x40
jne 0x528709
mov dword [eax], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add dword [ecx], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
jmp 0x528759
movq xmm1, qword [esp + 0x50]
movd xmm0, ebx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
movq qword [eax], xmm1
mov eax, 0x40
movq xmm1, qword [esp + 0x50]
sub eax, ebx
add dword [ecx], 8
add edx, 0xffffffc0
mov dword [esp + 0x1c], edx
movd xmm0, eax
mov eax, dword [esp + 0x14]
psrlq xmm1, xmm0
movq qword [esp + 0x38], xmm1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
cdq
add eax, 0xfffffffd
mov dword [esp + 0x34], eax
adc edx, 0xffffffff
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c]
lea ebx, [edx + 3]
cmp ebx, 0x40
jb 0x5288d6
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, dword [ecx]
cmp edx, 0x40
jne 0x5287b1
mov dword [eax], edi
lea ebx, [edx - 0x3d]
mov edi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x10]
add dword [ecx], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
jmp 0x52895f
movq xmm1, qword [esp + 0x70]
movd xmm0, edx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
movq qword [eax], xmm1
movq xmm1, qword [esp + 0x70]
jmp 0x52893c
movzx eax, word [ecx + 0xb14]
cdq
mov dword [esp + 0x5c], edx
movzx edx, word [ecx + 0xb16]
mov dword [esp + 0x30], edx
add edx, ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], edx
cmp edx, 0x40
jae 0x528822
mov edx, dword [esp + 0x5c]
mov ecx, ebx
call fcn.00491da0
or edi, eax
or esi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
lea ecx, [eax + 0x10]
add eax, 4
jmp 0x5288ab
lea eax, [ecx + 0x10]
mov dword [esp + 0x34], eax
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
add eax, dword [ecx]
cmp ebx, 0x40
jne 0x52885f
mov dword [eax], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x30]
add dword [ecx], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
jmp 0x5288af
movq xmm1, qword [esp + 0x58]
movd xmm0, ebx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
movq qword [eax], xmm1
mov eax, 0x40
movq xmm1, qword [esp + 0x58]
sub eax, ebx
add dword [ecx], 8
add edx, 0xffffffc0
mov dword [esp + 0x1c], edx
movd xmm0, eax
mov eax, dword [esp + 0x14]
psrlq xmm1, xmm0
movq qword [esp + 0x38], xmm1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
cdq
add eax, 0xfffffff5
mov dword [esp + 0x34], eax
adc edx, 0xffffffff
mov dword [esp + 0x78], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x1c]
lea ebx, [edx + 7]
cmp ebx, 0x40
jae 0x5288f1
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
call fcn.00491da0
or edi, eax
or esi, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
jmp 0x52895f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, dword [ecx]
cmp edx, 0x40
jne 0x52891b
mov dword [eax], edi
lea ebx, [edx - 0x39]
mov edi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x10]
add dword [ecx], 8
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
jmp 0x52895f
movq xmm1, qword [esp + 0x78]
movd xmm0, edx
psllq xmm1, xmm0
movq xmm0, qword [esp + 0x38]
orps xmm1, xmm0
movq qword [eax], xmm1
movq xmm1, qword [esp + 0x78]
add dword [ecx], 8
mov eax, 0x40
sub eax, edx
add ebx, 0xffffffc0
movd xmm0, eax
psrlq xmm1, xmm0
movq qword [esp + 0x38], xmm1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x528982
mov dword [esp + 0x1c], 0x8a
lea edx, [eax + 3]
jmp 0x5289a4
cmp dword [esp + 0x24], ecx
jne 0x528997
mov dword [esp + 0x1c], 6
mov edx, 3
jmp 0x5289a4
mov dword [esp + 0x1c], 7
mov edx, 4
mov ecx, dword [ebp + 8]
add dword [esp + 0x28], 4
sub dword [esp + 0x2c], 1
jne 0x5282d3
mov dword [ecx + 0x1718], edi
pop edi
mov dword [ecx + 0x171c], esi
pop esi
mov dword [ecx + 0x1720], ebx
pop ebx
mov esp, ebp
pop ebp
ret