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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0xcc]
test eax, eax
push ebx
mov ebx, dword [ecx + 0xc]
sete dl
add edx, eax
mov dword [esp + 0x28], ebx
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x70], edx
push esi
mov esi, dword [ecx + 0xc0]
mov ecx, dword [ecx + 0xb4]
push edi
mov edi, dword [ebp + 0xc]
add edx, edi
add eax, edi
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
add eax, 0xfffffff8
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
add edx, eax
mov dword [esp + 0x4c], edx
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], eax
sub eax, edx
sub edx, dword [esp + 0x4c]
add eax, ebx
sub edx, dword [esp + 0x20]
mov ebx, 0
add edx, edi
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x1c]
sete bl
add ebx, edi
cmp edx, dword [esp + 0x28]
ja 0x10052185
mov eax, 0x40
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, 0x38
sub eax, dword [ecx + 0xc0]
mov dword [esp + 0x58], eax
nop
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ebx + 4]
push dword [ebx]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edi, edx
call fcn.10094c50
mov ecx, dword [esp + 0x58]
mov edx, edi
mov dword [esp + 0x48], eax
mov eax, esi
call fcn.10094c50
mov edx, dword [esp + 0x60]
mov ecx, eax
mov esi, dword [esp + 0x3c]
mov edi, ebx
shr eax, 8
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], edx
xor edx, ecx
xor ecx, ecx
test dl, dl
mov edx, dword [esp + 0x48]
sete cl
sub edi, esi
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
lea eax, [ebx + 0x100]
mov dword [esp + 0x10], edx
mov dword [esp + 0x74], eax
lea eax, [edx + esi]
mov dword [esp + 0x84], eax
mov eax, edi
sub eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x30]
jae 0x10051a6c
sub eax, dword [esp + 0x50]
add eax, dword [esp + 0x54]
jmp 0x10051a6e
add eax, esi
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ecx + 4]
mov dword [esp + 0x68], eax
push dword [ecx]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edi, edx
call fcn.10094c50
mov ecx, dword [esp + 0x58]
mov edx, edi
mov dword [esp + 0x70], eax
mov eax, esi
call fcn.10094c50
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + eax*4], esi
mov eax, edx
mov ecx, dword [esp + 0x7c]
sub eax, ecx
dec eax
cmp eax, 3
jb 0x10051ae9
mov esi, dword [esp + 0x5c]
lea edx, [ebx + 1]
mov dword [esp + 0x7c], edx
mov eax, dword [esi]
cmp eax, dword [edx]
je 0x10051cf8
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x68], 0
je 0x10051c5d
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x54]
shr ecx, 8
add edi, ecx
cmp ecx, dword [esp + 0x80]
jbe 0x10051c5d
mov eax, dword [edi]
cmp eax, dword [ebx]
jne 0x10051c5d
cmp dword [esp + 0x10], edx
ja 0x10051c63
sub esi, ecx
lea eax, [ebx + 4]
sub esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], esi
lea esi, [edi + 4]
sub eax, esi
mov edx, esi
add eax, dword [esp + 0x44]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.1001b4b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x8c], ecx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x44]
jne 0x10051b80
mov esi, dword [esp + 0x14]
lea eax, [ebx + 4]
mov edx, dword [esp + 0x20]
add ecx, eax
push esi
call fcn.1001b4b0
mov ecx, dword [esp + 0x90]
add esp, 4
add ecx, eax
cmp dword [esp + 0x4c], edi
lea edx, [ecx + 4]
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
mov dword [esp + 0x10], edx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x10051bc0
nop dword [eax]
mov al, byte [ebx - 1]
dec edi
cmp al, byte [edi]
jne 0x10051bbc
dec ebx
inc edx
cmp dword [esp + 0x4c], edi
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x10051ba0
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov edi, ebx
mov ecx, dword [esp + 0x14]
sub edi, esi
mov esi, dword [esp + 0x24]
add ecx, 0xffffffe0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x1c], ecx
cmp ebx, ecx
ja 0x10051e21
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edi, 0x10
jbe 0x10051e3b
movups xmm0, xmmword [ecx + 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea eax, [edi - 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x24]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10051e37
mov eax, dword [esp + 0x8c]
add ecx, 0x10
add edx, 0x10
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 0x10051c40
jmp 0x10051e37
cmp dword [esp + 0x10], edx
jbe 0x10051c74
mov esi, dword [esp + 0x84]
mov eax, dword [esi]
cmp eax, dword [ebx]
je 0x10051e64
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x74]
shr eax, 8
lea edi, [ebx + 1]
mov edx, dword [edx + eax*4]
xor ecx, edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], edx
xor edx, edx
test cl, cl
mov ecx, dword [esp + 0x1c]
sete dl
cmp ecx, esi
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x70]
cmovb edi, ebx
mov ebx, ecx
mov dword [esp + 0x6c], edi
add ecx, edi
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + edx*4]
mov dword [esp + 0x10], edx
cmp ecx, dword [esp + 0x28]
ja 0x10052182
mov eax, dword [esp + 0x70]
mov edi, ebx
sub edi, dword [esp + 0x3c]
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x48], eax
lea eax, [esi + 0x100]
cmovb eax, esi
mov esi, dword [esp + 0x3c]
jmp 0x10051a38
cmp ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov edi, edx
cmovb edi, dword [esp + 0x44]
mov ecx, edx
add ebx, 5
add esi, 4
mov eax, ebx
mov dword [esp + 0x8c], ebx
sub eax, esi
add eax, edi
cmp eax, edx
mov edx, esi
cmovb ecx, eax
push ecx
mov ecx, ebx
call fcn.1001b4b0
mov ebx, eax
add esp, 4
lea eax, [ebx + esi]
mov esi, dword [esp + 0x14]
cmp eax, edi
jne 0x10051d54
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x20]
push esi
lea ecx, [ebx + ecx]
call fcn.1001b4b0
add esp, 4
add ebx, eax
mov ecx, dword [ebp + 0xc]
lea eax, [esi - 0x20]
mov esi, dword [esp + 0x24]
lea edx, [ebx + 4]
mov ebx, dword [esp + 0x7c]
mov edi, ebx
mov dword [esp + 0x1c], eax
sub edi, ecx
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0xc]
cmp ebx, dword [esp + 0x1c]
ja 0x10051dda
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edi, 0x10
jbe 0x10051def
movups xmm0, xmmword [ecx + 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea eax, [edi - 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x24]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10051deb
mov eax, dword [esp + 0x8c]
add ecx, 0x10
add edx, 0x10
nop dword [eax + eax]
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 0x10051dc0
jmp 0x10051deb
push dword [esp + 0x1c]
mov edx, ecx
mov ecx, eax
push ebx
call fcn.100161d0
add esp, 8
mov edx, dword [esp + 0x10]
add dword [esi + 0xc], edi
cmp edi, 0xffff
jbe 0x10051e0c
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], di
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x10051f83
mov edx, dword [ebp + 0xc]
push ecx
push ebx
mov ecx, eax
call fcn.100161d0
mov edi, dword [esp + 0x94]
add esp, 8
mov edx, dword [esp + 0x10]
add dword [esi + 0xc], edi
cmp edi, 0xffff
jbe 0x10051e58
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], di
jmp 0x10051f77
push dword [esp + 0x14]
mov eax, ebx
lea edx, [esi + 4]
sub eax, esi
lea ecx, [ebx + 4]
mov dword [esp + 0x78], eax
call fcn.1001b4b0
mov edi, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0x20], esi
sbb ecx, ecx
lea edx, [eax + 4]
neg ecx
mov dword [esp + 0x10], edx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x10051ec0
nop word [eax + eax]
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x10051ebc
dec ebx
inc edx
cmp dword [esp + 0x20], esi
sbb ecx, ecx
neg ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x10051ea0
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov esi, dword [esp + 0x24]
sub ecx, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add eax, 0xffffffe0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
cmp ebx, dword [esp + 0x1c]
ja 0x10051f3a
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x10051f53
movups xmm0, xmmword [edi + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
lea edx, [edi + 0x10]
add ecx, 0x10
lea edi, [ecx + eax]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10051f4b
add ecx, 0x10
add edx, 0x10
nop dword [eax]
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, edi
jb 0x10051f20
jmp 0x10051f4b
push dword [esp + 0x1c]
mov edx, edi
mov ecx, eax
push ebx
call fcn.100161d0
add esp, 8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
add dword [esi + 0xc], ecx
cmp ecx, 0xffff
jbe 0x10051f70
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x74]
add ecx, 3
mov dword [eax], ecx
lea ecx, [edx - 3]
cmp ecx, 0xffff
jbe 0x10051fa0
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
add ebx, edx
mov dword [ebp + 0xc], ebx
mov word [eax + 6], cx
add dword [esi + 4], 8
mov eax, dword [esp + 0x28]
cmp ebx, eax
ja 0x10052170
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + edi + 6]
push dword [esi + edi + 2]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
call fcn.10094c50
mov ecx, eax
lea eax, [esi + 2]
mov esi, dword [esp + 0x38]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [esi + ecx*4], eax
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
call fcn.10094c50
mov ecx, eax
mov eax, ebx
sub eax, edi
sub eax, 2
mov dword [esi + ecx*4], eax
nop word [eax + eax]
mov edx, dword [esp + 0x30]
mov eax, ebx
sub eax, edi
mov ecx, eax
mov dword [esp + 0x88], eax
sub ecx, dword [esp + 0x2c]
cmp ecx, edx
jae 0x10052045
mov esi, ecx
sub esi, dword [esp + 0x50]
add esi, dword [esp + 0x54]
jmp 0x10052048
lea esi, [ecx + edi]
mov eax, edx
sub eax, ecx
dec eax
cmp eax, 3
jb 0x1005216c
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x1005216c
mov edi, dword [esp + 0x14]
lea eax, [ebx + 4]
cmp ecx, edx
mov ecx, dword [esp + 0x14]
cmovb edi, dword [esp + 0x44]
add esi, 4
sub eax, esi
mov edx, esi
add eax, edi
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.1001b4b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x8c], ecx
lea eax, [ecx + esi]
cmp eax, edi
jne 0x100520ba
push dword [esp + 0x14]
mov edx, dword [esp + 0x24]
lea eax, [ebx + 4]
add ecx, eax
call fcn.1001b4b0
mov ecx, dword [esp + 0x90]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x2c]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xc]
cmp ebx, eax
ja 0x100520e4
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
jmp 0x100520f0
push eax
push ebx
mov edx, ebx
call fcn.100161d0
add esp, 8
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [edi - 3]
mov eax, dword [esi + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x1005211f
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push 0xcf1bbcdc
push 0xbf9b0000
mov word [eax + 6], cx
add dword [esi + 4], 8
push dword [ebx + 4]
push dword [ebx]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
call fcn.10094c50
mov edx, dword [esp + 0x38]
add ebx, edi
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x3c]
mov dword [ebp + 0xc], ebx
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x28]
cmp ebx, eax
jbe 0x10052020
jmp 0x10052170
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
add edx, ebx
mov dword [esp + 0x1c], edx
cmp edx, eax
jbe 0x100519c0
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
sub eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret