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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x50], edx
mov edx, 1
mov eax, dword [edi + 0x5c]
mov esi, dword [edi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xcc]
mov ecx, eax
neg ecx
mov dword [esp + 0x24], esi
sbb ecx, ecx
add eax, 2
add ecx, eax
mov eax, dword [edi + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x64], ecx
add eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0xb8]
shl edx, cl
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
sub eax, ecx
sub dword [esp + 0x3c], edx
cmp eax, edx
mov edx, dword [esp + 0x3c]
cmovbe edx, ecx
cmp dword [edi + 0x18], 0
cmovne edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x3c]
lea eax, [edx + ecx]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0xc]
cmp eax, edx
cmovb eax, edx
mov dword [esp + 0x20], eax
lea edx, [eax + esi]
mov esi, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x5c], edx
mov edx, dword [ebp + 8]
cmp dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esi + eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx]
mov edx, dword [edx + 4]
jne 0x10052833
push eax
push esi
mov esi, dword [ebp + 8]
push esi
push ebx
push edi
call fcn.10050290
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov dword [esp + 0x74], 0
sub eax, dword [esp + 0x3c]
mov ebx, edx
sub eax, dword [esp + 0x24]
cmp edx, eax
cmovb ebx, dword [esp + 0x74]
mov dword [esp + 0x74], ebx
sbb ebx, ebx
and ebx, edx
mov edx, ecx
mov dword [esp + 0x44], ebx
xor ebx, ebx
cmp ecx, eax
cmovb edx, ebx
sbb eax, eax
and eax, ecx
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x1c]
mov ebx, esi
mov dword [esp + 0x34], eax
add ecx, 0xfffffff8
lea eax, [ebx + 0x80]
mov dword [esp + 0x54], eax
lea edx, [ebx + 1]
mov eax, dword [esp + 0x64]
add eax, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x40], eax
cmp eax, ecx
jae 0x100530dc
mov eax, dword [edi + 0xc0]
mov ebx, 0x40
mov edi, dword [ebp + 0x14]
sub ebx, eax
mov ecx, 0x20
mov dword [esp + 0x10], ebx
sub ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
add edi, 0xfffffffc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
nop dword [eax]
cmp edi, 4
ja case.0x100528e5.0
jmp dword [edi*4 + 0x10053118]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, ebx
call fcn.100950f0
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], ebx
jmp switch.0x10052950
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x100528f6
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x100528f6
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x100528f6
imul ebx, dword [esi], 0x9e3779b1
shr ebx, cl
mov dword [esp + 0x48], ebx
cmp edi, 4
ja case.0x10052950.0
jmp dword [edi*4 + 0x1005312c]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + 4]
push dword [edx]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edi, eax
jmp 0x100529e3
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + 4]
push dword [edx]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edi, eax
jmp 0x100529e3
push 0xcf1bbcdc
push 0xbfa56300
push dword [edx + 4]
push dword [edx]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edi, eax
jmp 0x100529e3
push 0xcf1bbcdc
push 0xb7a56463
push dword [edx + 4]
push dword [edx]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edi, eax
jmp 0x100529e3
imul edi, dword [edx], 0x9e3779b1
shr edi, cl
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [eax + ebx*4]
mov eax, edx
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x6c], ebx
cmovb eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
xor eax, eax
cmp eax, dword [esp + 0x34]
sbb eax, eax
neg eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
nop dword [eax + eax]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x34]
sub ecx, edx
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
cmovb edx, dword [esp + 0x4c]
sub eax, ecx
add edx, ecx
cmp eax, 4
sbb eax, eax
inc eax
test dword [esp + 0x78], eax
je 0x10052a4d
mov eax, dword [edx]
jmp 0x10052a56
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
xor eax, 1
mov ebx, dword [esp + 0x28]
mov ecx, esi
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov dword [ebx + eax*4], ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [ecx]
cmp ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x7c]
je 0x10052cbd
mov ecx, dword [esp + 0x38]
cmp ebx, dword [esp + 0x3c]
jb 0x10052a9a
mov eax, dword [ecx + ebx]
jmp 0x10052a9f
mov eax, dword [esi]
xor eax, 1
cmp dword [esi], eax
je 0x10052c3c
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + edi*4]
lea eax, [eax + edi*4]
cmp ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
cmovb eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
cmp ecx, 4
ja case.0x10052acf.0
jmp dword [ecx*4 + 0x10053140]
push 0xcf1bbcdc
push 0xbb000000
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push dword [eax]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edi, eax
mov eax, dword [esp + 0x38]
jmp 0x10052b31
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10052ae0
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10052ae0
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10052ae0
imul edi, dword [esp + 0x48], 0x9e3779b1
mov ecx, dword [esp + 0x18]
shr edi, cl
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x2c], ecx
mov ecx, esi
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
mov dword [edx], ecx
cmp ebx, dword [esp + 0x3c]
jb 0x10052b58
mov eax, dword [eax + ebx]
jmp 0x10052b5d
mov eax, dword [esi]
xor eax, 1
cmp dword [esi], eax
je 0x10052c38
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], edi
mov ebx, dword [eax + edi*4]
cmp ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmovb eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], ebx
cmp eax, 4
ja case.0x10052b8e.0
jmp dword [eax*4 + 0x10053154]
push 0xcf1bbcdc
push 0xbb000000
mov eax, dword [esp + 0x48]
push dword [eax + 4]
push dword [eax]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edi, eax
jmp 0x10052bee
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10052b9f
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10052b9f
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10052b9f
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
imul edi, dword [eax], 0x9e3779b1
shr edi, cl
mov eax, dword [esp + 0x14]
mov esi, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
add eax, edx
mov dword [esp + 0x2c], ecx
add ecx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ecx
cmp eax, dword [esp + 0x54]
jb 0x10052c1c
inc edx
sub dword [esp + 0x54], 0xffffff80
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add edx, 0xfffffff8
cmp ecx, edx
jae 0x100530d9
mov edx, dword [esp + 0x24]
jmp 0x10052a20
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
sub eax, ebx
cmp ebx, dword [esp + 0x20]
cmovb edx, dword [esp + 0x80]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
cmovb edx, dword [esp + 0x60]
mov dword [esp + 0x6c], edx
lea edx, [ecx + ebx]
mov ecx, dword [esp + 0x34]
mov ebx, 4
mov dword [esp + 0x34], eax
add eax, 3
cmp dword [esp + 0x70], edx
mov dword [esp + 0x44], ecx
sbb ecx, ecx
mov dword [esp + 0x68], eax
neg ecx
mov dword [esp + 0x48], ebx
cmp dword [ebp + 0xc], esi
sbb eax, eax
neg eax
test eax, ecx
je 0x10052cee
mov al, byte [esi - 1]
mov ebx, dword [esp + 0x48]
cmp al, byte [edx - 1]
jne 0x10052cee
dec edx
inc ebx
dec esi
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x70], edx
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x10052c95
jmp 0x10052cee
cmp ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov eax, dword [esp + 0x1c]
cmovb eax, dword [esp + 0x60]
xor ebx, ebx
mov dword [esp + 0x6c], eax
mov al, byte [ecx - 1]
cmp al, byte [edx - 1]
mov dword [esp + 0x68], 1
sete bl
sub esi, ebx
sub edx, ebx
add ebx, 4
push dword [esp + 0x5c]
add edx, ebx
lea ecx, [ebx + esi]
push dword [esp + 0x70]
push dword [esp + 0x24]
call fcn.1001b670
mov edx, dword [esp + 0x28]
add ebx, eax
mov dword [esp + 0x54], ebx
mov ecx, esi
mov ebx, dword [esp + 0x5c]
add edx, 0xffffffe0
sub ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x54], ecx
mov eax, dword [ebx + 0xc]
cmp esi, edx
ja 0x10052d7a
mov edx, dword [ebp + 0xc]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x10052d8d
movups xmm0, xmmword [edx + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [ebx + 0xc]
add ecx, 0x10
lea ebx, [ecx + eax]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x50]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10052d89
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x20
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x10052d60
jmp 0x10052d89
push edx
mov edx, dword [ebp + 0xc]
mov ecx, eax
push esi
call fcn.100161b0
add esp, 8
mov ecx, dword [esp + 0x54]
add dword [ebx + 0xc], ecx
cmp ecx, 0xffff
jbe 0x10052daa
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 4]
mov word [eax + 4], cx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
lea edx, [ecx - 3]
cmp edx, 0xffff
jbe 0x10052ddb
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 4]
add esi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0xc], esi
mov word [eax + 6], dx
add dword [ebx + 4], 8
mov edx, dword [esp + 0x24]
cmp ecx, esi
jae 0x10052e00
mov eax, dword [esp + 0x28]
sub ecx, edx
mov dword [eax + edi*4], ecx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff8
cmp esi, eax
ja 0x1005309c
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
cmp eax, 4
ja case.0x10052e1c.0
jmp dword [eax*4 + 0x10053168]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + edx + 6]
push dword [edi + edx + 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov ecx, eax
lea eax, [edi + 2]
mov edi, dword [esp + 0x28]
mov dword [edi + ecx*4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
jmp switch.0x10052e9e
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10052e2d
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10052e2d
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10052e2d
imul edx, dword [edi + edx + 2], 0x9e3779b1
lea eax, [edi + 2]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
shr edx, cl
mov dword [edi + edx*4], eax
mov eax, dword [esp + 0x30]
cmp eax, 4
ja case.0x10052e9e.0
jmp dword [eax*4 + 0x1005317c]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 2]
push dword [esi - 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edx, eax
jmp 0x10052ef4
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10052eaf
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10052eaf
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10052eaf
imul edx, dword [esi - 2], 0x9e3779b1
shr edx, cl
mov ecx, dword [esp + 0x24]
mov eax, esi
sub eax, ecx
sub eax, 2
mov dword [edi + edx*4], eax
mov eax, dword [esp + 0x20]
mov edx, esi
sub edx, dword [esp + 0x44]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10052f1a
mov edx, dword [esp + 0x4c]
add edx, edi
sub eax, edi
dec eax
cmp eax, 3
sbb ecx, ecx
xor eax, eax
inc ecx
cmp eax, dword [esp + 0x44]
sbb eax, eax
neg eax
test eax, ecx
je 0x1005309c
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1005309c
mov ecx, dword [esp + 0x1c]
mov eax, ecx
cmp edi, dword [esp + 0x20]
push dword [esp + 0x5c]
cmovb eax, dword [esp + 0x64]
add edx, 4
push eax
push ecx
lea ecx, [esi + 4]
call fcn.1001b670
mov ecx, dword [esp + 0x50]
add esp, 0xc
lea edi, [eax + 4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffe0
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0xc]
cmp esi, eax
ja 0x10052f8b
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
jmp 0x10052f97
push eax
push esi
mov edx, esi
call fcn.100161b0
add esp, 8
mov eax, dword [ebx + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [edi - 3]
mov eax, dword [ebx + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x10052fc6
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 4]
mov word [eax + 6], cx
add dword [ebx + 4], 8
mov eax, dword [esp + 0x30]
cmp eax, 4
ja case.0x10052fde.0
jmp dword [eax*4 + 0x10053190]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edx, eax
jmp 0x10053075
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edx, eax
jmp 0x10053075
push 0xcf1bbcdc
push 0xbfa56300
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edx, eax
jmp 0x10053075
push 0xcf1bbcdc
push 0xb7a56463
push dword [esi + 4]
push dword [esi]
call fcn.10071fd0
mov ecx, dword [esp + 0x10]
call fcn.100950f0
mov edx, eax
jmp 0x10053075
imul edx, dword [esi], 0x9e3779b1
mov ecx, dword [esp + 0x18]
shr edx, cl
mov ebx, dword [esp + 0x28]
mov eax, esi
mov ecx, dword [esp + 0x24]
add esi, edi
sub eax, ecx
mov dword [ebp + 0xc], esi
mov dword [ebx + edx*4], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
add eax, 0xfffffff8
cmp esi, eax
jbe 0x10052f02
mov eax, dword [esp + 0x64]
lea ebx, [esi + 0x80]
mov edi, dword [esp + 0x30]
lea edx, [esi + 1]
add eax, esi
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
lea ecx, [eax + 1]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff8
mov dword [esp + 0x40], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x18]
jb 0x100528e0
mov ebx, dword [ebp + 0xc]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x34]
test edx, edx
je 0x100530f4
test eax, eax
cmovne ecx, edx
mov esi, dword [ebp + 8]
test eax, eax
pop edi
cmovne edx, eax
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esi], edx
cmovne ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], ecx
sub eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret