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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, ecx
mov dword [esp + 0x3c], edx
push esi
mov edx, 1
push edi
mov eax, dword [ebx + 0x5c]
mov esi, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xc0]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xcc]
mov ecx, eax
neg ecx
mov dword [esp + 0x1c], esi
sbb ecx, ecx
add eax, 2
add ecx, eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x68], ecx
add eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0xb8]
shl edx, cl
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x34], eax
sub eax, ecx
sub dword [esp + 0x34], edx
cmp eax, edx
mov edx, dword [esp + 0x34]
cmovbe edx, ecx
cmp dword [ebx + 0x18], 0
cmovne edx, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], edx
mov edi, dword [esp + 0x34]
lea eax, [edx + ecx]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0xc]
cmp eax, edx
cmovb eax, edx
mov dword [esp + 0x18], 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 + 0x18], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esi + eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [edx]
mov edx, dword [edx + 4]
jne 0x10052bed
push eax
push esi
mov esi, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.100506b0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, esi
mov dword [esp + 0x78], 0
mov eax, edi
mov ebx, edx
sub eax, dword [esp + 0x34]
sub eax, dword [esp + 0x1c]
cmp edx, eax
cmovb ebx, dword [esp + 0x78]
mov dword [esp + 0x78], ebx
sbb ebx, ebx
and ebx, edx
mov edx, ecx
mov dword [esp + 0x3c], ebx
xor ebx, ebx
cmp ecx, eax
cmovb edx, ebx
mov ebx, dword [esp + 0x68]
sbb eax, eax
mov dword [esp + 0x84], edx
and eax, ecx
lea edx, [edi + 1]
mov ecx, dword [esp + 0x24]
add ebx, edi
mov dword [esp + 0x28], eax
add ecx, 0xfffffff8
lea eax, [edi + 0x80]
mov dword [esp + 0x30], edx
mov dword [esp + 0x64], eax
lea eax, [ebx + 1]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], eax
cmp eax, ecx
jae 0x100534e4
mov eax, dword [esp + 0x3c]
mov ecx, 0x40
sub ecx, dword [esp + 0x74]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, 0x20
sub ecx, dword [esp + 0x74]
add edi, 0xfffffffc
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], edi
cmp edi, 4
ja case.0x10052c98.0
jmp dword [edi*4 + 0x10053520]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
jmp switch.0x10052d03
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10052ca9
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10052ca9
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10052ca9
imul eax, dword [esi], 0x9e3779b1
shr eax, cl
mov dword [esp + 0x40], eax
cmp edi, 4
ja case.0x10052d03.0
jmp dword [edi*4 + 0x10053534]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + 4]
push dword [edx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edi, eax
jmp 0x10052d96
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + 4]
push dword [edx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edi, eax
jmp 0x10052d96
push 0xcf1bbcdc
push 0xbfa56300
push dword [edx + 4]
push dword [edx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edi, eax
jmp 0x10052d96
push 0xcf1bbcdc
push 0xb7a56463
push dword [edx + 4]
push dword [edx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edi, eax
jmp 0x10052d96
imul edi, dword [edx], 0x9e3779b1
shr edi, cl
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmovb eax, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
sbb ecx, ecx
neg ecx
mov dword [esp + 0x7c], ecx
nop
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x1c]
sub edx, eax
cmp edx, dword [esp + 0x18]
mov dword [esp + 0x74], edx
cmovb eax, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x74]
cmp eax, 4
sbb eax, eax
inc eax
test ecx, eax
je 0x10052dff
mov eax, dword [edx]
jmp 0x10052e04
mov eax, dword [ebx]
xor eax, 1
mov ebx, dword [esp + 0x40]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
mov dword [eax + ebx*4], ecx
mov ebx, dword [esp + 0x4c]
mov ecx, dword [ebx]
cmp ecx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
je 0x100530b8
mov edx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x10052e40
mov eax, dword [edx + ecx]
jmp 0x10052e45
mov eax, dword [esi]
xor eax, 1
cmp dword [esi], eax
je 0x10053037
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [eax + edi*4]
mov dword [esp + 0x74], eax
mov eax, dword [eax]
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
cmovb edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
cmp eax, 4
ja case.0x10052e7c.0
jmp dword [eax*4 + 0x10053548]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
push dword [ebx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, dword [esp + 0x2c]
mov edi, eax
jmp 0x10052f23
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ebx + 4]
push dword [ebx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, dword [esp + 0x2c]
mov edi, eax
jmp 0x10052f23
push 0xcf1bbcdc
push 0xbfa56300
push dword [ebx + 4]
push dword [ebx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, dword [esp + 0x2c]
mov edi, eax
jmp 0x10052f23
push 0xcf1bbcdc
push 0xb7a56463
push dword [ebx + 4]
push dword [ebx]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, dword [esp + 0x2c]
mov edi, eax
jmp 0x10052f23
imul edi, dword [ebx], 0x9e3779b1
mov ecx, dword [esp + 0x14]
shr edi, cl
mov esi, dword [esp + 0x30]
mov eax, esi
mov ecx, dword [esp + 0x74]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], eax
mov dword [ecx], eax
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x34]
jb 0x10052f4a
mov eax, dword [edx + ecx]
jmp 0x10052f4f
mov eax, dword [esi]
xor eax, 1
cmp dword [esi], eax
je 0x10053033
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], edi
mov eax, dword [eax + edi*4]
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
cmovb ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
cmp eax, 4
ja case.0x10052f80.0
jmp dword [eax*4 + 0x1005355c]
push 0xcf1bbcdc
push 0xbb000000
mov eax, dword [esp + 0x40]
push dword [eax + 4]
push dword [eax]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edi, eax
jmp 0x10052fe0
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10052f91
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10052f91
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10052f91
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
imul edi, dword [eax], 0x9e3779b1
shr edi, cl
mov ecx, dword [esp + 0x38]
mov esi, ebx
mov edx, dword [esp + 0x70]
add ebx, edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
add eax, 0xfffffff8
add ecx, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], ecx
cmp ecx, eax
jae 0x100534e1
mov ecx, dword [esp + 0x64]
lea eax, [edx + 1]
cmp ebx, ecx
cmovb eax, edx
mov dword [esp + 0x70], eax
lea eax, [ecx + 0x80]
cmovb eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
jmp 0x10052dd0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
sub eax, ecx
cmp ecx, dword [esp + 0x18]
cmovb ebx, dword [esp + 0x80]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x24]
cmovb ebx, dword [esp + 0x60]
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], eax
add eax, 3
cmp dword [esp + 0x70], edx
mov dword [esp + 0x3c], ecx
sbb ecx, ecx
mov dword [esp + 0x6c], eax
neg ecx
mov dword [esp + 0x74], ebx
cmp dword [ebp + 0xc], esi
mov ebx, 4
mov dword [esp + 0x2c], ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x100530ef
nop
mov al, byte [esi - 1]
mov ebx, dword [esp + 0x2c]
cmp al, byte [edx - 1]
jne 0x100530ef
dec edx
inc ebx
dec esi
mov dword [esp + 0x2c], 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 0x10053090
jmp 0x100530ef
mov ecx, dword [esp + 0x18]
mov esi, ebx
cmp dword [esp + 0x74], ecx
mov eax, dword [esp + 0x24]
cmovb eax, dword [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0x74], eax
mov al, byte [ebx - 1]
cmp al, byte [edx - 1]
mov dword [esp + 0x6c], 1
sete cl
mov ebx, ecx
mov dword [esp + 0x2c], ecx
sub esi, ebx
sub edx, ebx
add ebx, 4
push dword [esp + 0x5c]
add edx, ebx
lea ecx, [ebx + esi]
push dword [esp + 0x78]
push dword [esp + 0x2c]
call fcn.1001b530
mov ecx, dword [esp + 0x50]
add ebx, eax
mov eax, dword [esp + 0x30]
mov edx, esi
sub edx, dword [ebp + 0xc]
add eax, 0xffffffe0
mov dword [esp + 0x58], eax
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x54], edx
cmp esi, dword [esp + 0x4c]
ja 0x1005318a
mov ebx, dword [ebp + 0xc]
movups xmm0, xmmword [ebx]
mov ebx, dword [esp + 0x2c]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x100531a4
mov ecx, dword [ecx + 0xc]
lea eax, [edx - 0x10]
mov edx, dword [ebp + 0xc]
add ecx, 0x10
lea ebx, [ecx + eax]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x2c]
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x1005319c
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x20
nop
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 0x10053170
jmp 0x1005319c
push dword [esp + 0x4c]
mov edx, dword [ebp + 0xc]
mov ecx, eax
push esi
call fcn.100161d0
add esp, 8
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
add dword [ecx + 0xc], edx
cmp edx, 0xffff
jbe 0x100531c1
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 3
mov dword [ecx + 0x24], 1
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 4]
mov word [eax + 4], dx
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
lea edx, [ebx - 3]
cmp edx, 0xffff
jbe 0x100531ee
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 3
mov dword [ecx + 0x24], 2
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 4]
add esi, ebx
mov dword [ebp + 0xc], esi
mov word [eax + 6], dx
add dword [ecx + 4], 8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
cmp eax, esi
jae 0x10053213
mov edx, dword [esp + 0x20]
sub eax, ecx
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff8
cmp esi, eax
ja 0x100534a8
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
cmp edi, 4
ja case.0x1005322f.0
jmp dword [edi*4 + 0x10053570]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + ecx + 6]
push dword [ebx + ecx + 2]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov ecx, eax
lea eax, [ebx + 2]
mov ebx, dword [esp + 0x20]
mov dword [ebx + ecx*4], eax
mov ecx, dword [esp + 0x14]
jmp switch.0x100532a9
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x10053240
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x10053240
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x10053240
imul edx, dword [ebx + ecx + 2], 0x9e3779b1
lea eax, [ebx + 2]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
shr edx, cl
mov dword [ebx + edx*4], eax
cmp edi, 4
ja case.0x100532a9.0
jmp dword [edi*4 + 0x10053584]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 2]
push dword [esi - 2]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, eax
jmp 0x100532ff
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x100532ba
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x100532ba
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x100532ba
imul edx, dword [esi - 2], 0x9e3779b1
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, ecx
sub eax, 2
mov dword [ebx + edx*4], eax
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov edx, esi
sub edx, dword [esp + 0x3c]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x10053329
mov edx, dword [esp + 0x48]
add edx, edi
sub eax, edi
dec eax
cmp eax, 3
sbb ecx, ecx
xor eax, eax
inc ecx
cmp eax, dword [esp + 0x3c]
sbb eax, eax
neg eax
test eax, ecx
je 0x100534a8
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100534a8
mov ecx, dword [esp + 0x24]
mov eax, ecx
cmp edi, dword [esp + 0x18]
push dword [esp + 0x5c]
cmovb eax, dword [esp + 0x64]
add edx, 4
push eax
push ecx
lea ecx, [esi + 4]
call fcn.1001b530
mov ecx, dword [esp + 0x48]
add esp, 0xc
lea edi, [eax + 4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0xc]
cmp esi, eax
ja 0x10053397
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
jmp 0x100533a3
push eax
push esi
mov edx, esi
call fcn.100161d0
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 0x100533d2
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 + 0x50]
cmp eax, 4
ja case.0x100533ea.0
jmp dword [eax*4 + 0x10053598]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, eax
jmp 0x10053481
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + 4]
push dword [esi]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, eax
jmp 0x10053481
push 0xcf1bbcdc
push 0xbfa56300
push dword [esi + 4]
push dword [esi]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, eax
jmp 0x10053481
push 0xcf1bbcdc
push 0xb7a56463
push dword [esi + 4]
push dword [esi]
call fcn.10071bc0
mov ecx, dword [esp + 0x10]
call fcn.10094c50
mov edx, eax
jmp 0x10053481
imul edx, dword [esi], 0x9e3779b1
mov ecx, dword [esp + 0x14]
shr edx, cl
mov ebx, dword [esp + 0x20]
mov eax, esi
mov ecx, dword [esp + 0x1c]
add esi, edi
sub eax, ecx
mov dword [ebp + 0xc], esi
mov dword [ebx + edx*4], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
add eax, 0xfffffff8
cmp esi, eax
jbe 0x10053311
mov ebx, dword [esp + 0x68]
lea eax, [esi + 0x80]
mov edi, dword [esp + 0x50]
lea edx, [esi + 1]
add ebx, esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff8
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ebx
lea ecx, [ebx + 1]
mov dword [esp + 0x38], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jb 0x10052c93
mov edi, dword [ebp + 0xc]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
test edx, edx
je 0x100534fc
test eax, eax
cmovne ecx, edx
mov esi, dword [ebp + 8]
test eax, eax
cmovne edx, eax
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [esi], edx
cmovne ecx, eax
mov eax, dword [esp + 0x24]
sub eax, edi
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret