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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0x78], eax
cmp byte [esp + 0x94], 0
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x8c]
push esi
mov eax, dword [ebx]
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], eax
jne 0x10188fd0
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0xc], 0
jne 0x10188fd0
mov eax, dword [edi]
xorps xmm0, xmm0
push 1
push dword [esp + 0xa4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push esi
push ebp
push ecx
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
call fcn.10188f40
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x1018906b
mov eax, dword [esi + 0x10]
mov edx, 1
add eax, dword [ebp + 0x10]
mov ecx, eax
neg ecx
and ecx, 7
shl edx, cl
dec edx
cmp eax, 0x60
jbe 0x10189007
mov eax, dword [edi]
test eax, eax
je 0x10189038
cmp dword [eax], 0
jne 0x10189038
mov dword [eax], 0x12
jmp 0x10189038
lea ecx, [eax + 7]
mov dword [edi + 8], eax
shr ecx, 3
mov dword [edi + 0xc], ecx
mov word [edi + 4], 0x101
test eax, eax
je 0x10189038
xor eax, eax
test ecx, ecx
je 0x10189030
mov byte [edi + eax + 0x10], 0xff
inc eax
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jb 0x10189023
lea eax, [edi + ecx]
not dl
and byte [eax + 0xf], dl
cmp byte [edi + 4], 0
jne 0x1018906b
mov eax, dword [esp + 0x24]
cmp byte [eax + 8], 0
je 0x1018968b
mov eax, dword [edi]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov byte [ebx + 0xd], 0
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1026465b
add esp, 0x7c
ret
mov dword [ebx + 0x14], 0
lea edx, [esp + 0x7c]
mov dword [ebx + 0x18], 0
movups xmm0, xmmword [edi]
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x84], eax
movq xmm0, qword [edi + 0x10]
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], esi
cmp esi, dword [edi + 8]
ja 0x1018968b
mov edi, dword [esp + 0x24]
cmp byte [edi + 0xf9], 0
je 0x101890f6
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0
push eax
lea eax, [edi + 0x120]
xorps xmm0, xmm0
push eax
push ebx
movups xmmword [esp + 0x50], xmm0
call fcn.101896b0
lea eax, [edi + 0x10c]
push eax
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.101896b0
add esp, 0x18
lea edx, [esp + 0x7c]
xor edi, edi
mov cl, 0x80
mov byte [esp + 0x13], cl
test esi, esi
je 0x10189377
test byte [edx], cl
je 0x10189356
mov eax, dword [ebx + 0x10]
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
xor eax, eax
cmp edi, dword [ebp + 0x10]
jb 0x10189135
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x10189133
cmp dword [ecx], eax
jne 0x10189133
mov dword [ecx], 0x82
xor ecx, ecx
mov edx, dword [ebp + 8]
imul edx, ecx
add edx, dword [ebp + 0x18]
mov ebx, dword [edx + 8]
mov esi, ebx
sub esi, dword [edx + 4]
cmp esi, 0xffeb0000
jne 0x1018915f
mov ecx, 1
mov eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x1018918b
cmp esi, 0xffec0000
jne 0x10189175
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x1018918d
mov ecx, 4
mov eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
test esi, esi
js 0x1018918b
mov eax, dword [edx + 4]
mov esi, ecx
add eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], edi
test esi, esi
je 0x101891bd
cmp byte [edx], 0
je 0x101891bd
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x101891eb
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov eax, edi
cmp edi, dword [ebp + 0x10]
jb 0x1018921a
mov eax, dword [ebp + 4]
test eax, eax
je 0x10189218
cmp dword [eax], ecx
jne 0x10189218
mov dword [eax], 0x82
xor eax, eax
mov esi, dword [ebp + 8]
imul esi, eax
add esi, dword [ebp + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
sub eax, edx
cmp eax, 0xffeb0000
jne 0x10189240
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x58], ebx
xor edx, edx
jmp 0x1018926a
mov ecx, edx
cmp eax, 0xffec0000
jne 0x10189254
mov ebx, 2
mov dword [esp + 0x58], ebx
jmp 0x10189264
mov ebx, 8
mov dword [esp + 0x58], ebx
test eax, eax
js 0x10189264
mov ecx, dword [esi + 8]
mov edx, ebx
mov dword [esp + 0x18], edx
test edx, edx
je 0x1018927b
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xe8]
lea ecx, [ecx + eax*2]
add ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], edi
test edx, edx
je 0x101892ba
cmp byte [esi], 0
je 0x101892ba
cmp dword [esp + 0x18], 0
je 0x101892ae
mov eax, dword [esi + 0x10]
or ebx, 0x10
mov dword [esp + 0x58], ebx
jmp 0x101892e8
mov eax, dword [esi + 0xc]
or ebx, 0x10
mov dword [esp + 0x58], ebx
jmp 0x101892e8
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x30]
shr eax, 4
test al, 1
jne 0x1018931f
shr ebx, 4
test bl, 1
jne 0x1018931f
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x2c]
add eax, 0xf0
push eax
call fcn.101866e0
add esp, 0xc
test al, al
je 0x10189346
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.101896b0
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov al, cl
not al
and byte [edx], al
jmp 0x10189352
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov eax, edi
and eax, 7
cmp al, 7
jne 0x10189368
inc edx
mov cl, 0x80
mov dword [esp + 0x20], edx
jmp 0x1018936a
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, esi
jb 0x10189106
cmp byte [esp + 0xa4], 0
je 0x101893e1
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x1018939c
cmp dword [ebx + 0x24], 0
jg 0x1018939c
lea eax, [eax + eax*4]
cmp dword [ebx + eax*4 + 0x10], 0
jge 0x10189618
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
movlpd qword [esp + 0x4c], xmm0
push eax
push ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0x31
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x74], 0
call fcn.101896b0
add esp, 0xc
jmp 0x10189618
lea edx, [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x20], edx
mov cl, 0x80
mov byte [esp + 0x13], cl
test esi, esi
je 0x10189618
nop dword [eax]
test byte [edx], cl
je 0x101895f7
mov eax, dword [ebx + 0x10]
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
xor eax, eax
cmp edi, dword [ebp + 0x10]
jb 0x1018942f
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x1018942d
cmp dword [ecx], eax
jne 0x1018942d
mov dword [ecx], 0x82
xor ecx, ecx
mov edx, dword [ebp + 8]
imul edx, ecx
add edx, dword [ebp + 0x18]
mov ebx, dword [edx + 8]
mov esi, ebx
sub esi, dword [edx + 4]
cmp esi, 0xffeb0000
jne 0x10189455
mov ecx, 1
mov eax, ebx
mov dword [esp + 0x58], ecx
jmp 0x10189479
cmp esi, 0xffec0000
jne 0x10189467
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x58], ecx
jmp 0x1018947b
mov ecx, 4
mov eax, ebx
mov dword [esp + 0x58], ecx
test esi, esi
js 0x10189479
mov eax, dword [edx + 4]
mov esi, ecx
add eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x5c], edi
test esi, esi
je 0x101894a7
cmp byte [edx], 0
je 0x101894a7
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x58], ecx
jmp 0x101894d5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov eax, edi
cmp edi, dword [ebp + 0x10]
jb 0x10189504
mov eax, dword [ebp + 4]
test eax, eax
je 0x10189502
cmp dword [eax], ecx
jne 0x10189502
mov dword [eax], 0x82
xor eax, eax
mov ebx, dword [ebp + 8]
imul ebx, eax
add ebx, dword [ebp + 0x18]
mov ebp, dword [ebx + 8]
mov eax, ebp
mov esi, dword [ebx + 4]
sub eax, esi
cmp eax, 0xffeb0000
jne 0x1018952a
xor edx, edx
xor esi, esi
mov dword [esp + 0x44], edx
xor ebp, ebp
jmp 0x10189551
mov ecx, esi
cmp eax, 0xffec0000
jne 0x1018953e
mov edx, 2
mov dword [esp + 0x44], edx
jmp 0x1018954d
mov edx, 8
mov dword [esp + 0x44], edx
test eax, eax
js 0x1018954d
mov ecx, ebp
mov esi, edx
mov ebp, edx
test esi, esi
je 0x10189562
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xe8]
lea ecx, [ecx + eax*2]
add ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], edi
test esi, esi
je 0x1018959e
cmp byte [ebx], 0
je 0x1018959e
test ebp, ebp
je 0x10189592
mov eax, dword [ebx + 0x10]
or edx, 0x10
mov dword [esp + 0x44], edx
jmp 0x101895cc
mov eax, dword [ebx + 0xc]
or edx, 0x10
mov dword [esp + 0x44], edx
jmp 0x101895cc
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.101896b0
mov ebp, dword [esp + 0x48]
add esp, 0xc
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov eax, edi
and eax, 7
cmp al, 7
jne 0x10189609
inc edx
mov cl, 0x80
mov dword [esp + 0x20], edx
jmp 0x1018960b
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, esi
jb 0x10189400
push ebx
call fcn.10188ca0
add esp, 4
cmp byte [esp + 0xa4], 0
jne 0x1018967f
xor esi, esi
cmp dword [ebx + 0x14], esi
jbe 0x1018967f
lea ecx, [ebx + 0x1c]
mov eax, dword [ecx]
shr eax, 5
test al, 1
jne 0x10189676
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0x10]
jb 0x1018965a
mov eax, dword [ebp + 4]
test eax, eax
je 0x10189658
cmp dword [eax], 0
jne 0x10189658
mov dword [eax], 0x82
xor edx, edx
mov eax, dword [ebp + 8]
imul eax, edx
mov edx, dword [ecx + 0xc]
add eax, dword [ebp + 0x18]
test byte [ecx], 0xa
je 0x10189670
mov dword [eax + 0x10], edx
jmp 0x10189673
mov dword [eax + 0xc], edx
mov byte [eax], 1
inc esi
add ecx, 0x14
cmp esi, dword [ebx + 0x14]
jb 0x10189635
mov eax, dword [esp + 0x40]
mov byte [ebx + 0xc], 1
mov byte [eax + 5], 0
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026465b
add esp, 0x7c
ret