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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, edx
mov dword [esp + 0x5c], 0
push esi
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
push edi
mov esi, dword [eax + 0x10]
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x60], eax
mov edi, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0
cmp edi, 5
je 0x100f1ce4
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x60]
push eax
push 0x100f1ac0
lea edx, [esp + 0x3c]
call fcn.100f1a60
add esp, 8
test eax, eax
jne 0x100f22c5
cmp edi, 2
je 0x100f1cd6
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x60]
push eax
push 0x100f1ac0
lea edx, [esp + 0x3c]
call fcn.100f1a60
add esp, 8
test eax, eax
jne 0x100f22c5
mov edi, dword [esp + 0x64]
jmp 0x100f1ce9
mov edi, 1
lea esi, [edi + edi*4]
mov dword [esp + 0x20], edi
shl esi, 3
mov dword [esp + 0x4c], esi
call fcn.100cac40
test eax, eax
jne 0x100f22c0
push eax
push esi
call fcn.1001e110
mov esi, eax
add esp, 8
test esi, esi
je 0x100f22c0
push dword [esp + 0x4c]
push 0
push esi
call fcn.1012a970
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [ecx + 0x10]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [ecx]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x4c], eax
cmp eax, 5
je 0x100f1dc8
mov ecx, dword [ecx + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x100f1ba0
lea edx, [esp + 0x3c]
call fcn.100f1a60
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100f2242
cmp dword [esp + 0x4c], 2
je 0x100f1e62
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x70]
push eax
push 0x100f1ba0
lea edx, [esp + 0x3c]
mov ecx, dword [ecx + 0x10]
call fcn.100f1a60
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
jmp 0x100f1e5a
mov eax, dword [ecx + 0x14]
mov edx, ecx
mov eax, dword [eax + 0x40]
mov dword [esi], eax
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x70]
push eax
push dword [esp + 0x78]
call fcn.100da7a0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x100f1e5a
mov dword [esi + 4], eax
mov cl, byte [eax]
test cl, cl
jns 0x100f1e15
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.100d02f0
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x100f1e1d
movzx edx, cl
mov ecx, 1
add eax, ecx
lea ecx, [edx - 2]
mov dword [esp + 0x4c], eax
mov eax, ecx
cdq
mov dword [esp + 0x48], eax
test ecx, ecx
jns 0x100f1e3c
mov ecx, 0x10b
mov dword [esp + 0x1c], ecx
jmp 0x100f1e5a
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
test ecx, ecx
jne 0x100f2242
xor esi, esi
test edi, edi
jle 0x100f1eb8
mov eax, dword [esp + 0x80]
mov edi, dword [ebp + 0x14]
add eax, 0x10
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
nop dword [eax]
cmp dword [eax], 0
je 0x100f1eac
xor eax, eax
xor ecx, ecx
mov edx, esi
and edx, 0x3f
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
or dword [edi], eax
or dword [edi + 4], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
inc esi
add eax, 0x28
mov dword [esp + 0x34], eax
cmp esi, ecx
jl 0x100f1e80
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x84], 0
jge 0x100f1f21
xor edi, edi
mov dword [esp + 0x84], 0
test ecx, ecx
jle 0x100f1fe4
xor esi, esi
nop word [eax + eax]
mov eax, dword [esp + 0x80]
push dword [esp + 0x78]
lea edx, [eax + 8]
lea ecx, [eax + 0x10]
add edx, esi
add ecx, esi
call fcn.100f1b00
mov ecx, dword [esp + 0x80]
inc edi
add esp, 4
add esi, 0x28
cmp edi, ecx
jl 0x100f1ef0
jmp 0x100f1fe4
mov edx, 0x7fffffff
mov dword [esp + 0x20], edx
test ecx, ecx
jle 0x100f2239
mov esi, dword [esp + 0x80]
add esi, 8
nop dword [eax]
cmp dword [esi + 8], 0
je 0x100f1f62
mov edi, dword [esi]
mov eax, edx
cdq
cmp dword [esi + 4], edx
jg 0x100f1f5e
jl 0x100f1f56
cmp edi, eax
jae 0x100f1f5e
mov edx, edi
mov dword [esp + 0x20], edx
jmp 0x100f1f62
mov edx, dword [esp + 0x20]
add esi, 0x28
sub ecx, 1
jne 0x100f1f40
cmp edx, 0x7fffffff
je 0x100f2239
mov eax, edx
xor edi, edi
sub eax, dword [esp + 0x78]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x84], eax
lea eax, [edx + 1]
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], edx
nop word [eax + eax]
mov esi, dword [esp + 0x80]
push dword [esp + 0x4c]
add esi, edx
lea edx, [esi + 8]
lea ecx, [esi + 0x10]
call fcn.100f1b00
add esp, 4
lea edx, [esi + 0x18]
lea ecx, [esi + 0x20]
push dword [esp + 0x48]
call fcn.100f1b00
mov edx, dword [esp + 0x38]
inc edi
mov ecx, dword [esp + 0x80]
add edx, 0x28
add esp, 4
mov dword [esp + 0x34], edx
cmp edi, ecx
jl 0x100f1fa0
mov eax, dword [esp + 0x84]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
xor esi, esi
movlpd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
movlpd qword [esp + 0x58], xmm0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], edi
test ecx, ecx
jle 0x100f2202
mov dword [esp + 0x34], edx
mov edx, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
nop word [eax + eax]
add edx, dword [esp + 0x80]
mov dword [esp + 0x54], edx
mov eax, dword [edx + 0x20]
mov dword [esp + 0x40], eax
test eax, eax
je 0x100f21da
mov eax, dword [esp + 0x78]
mov edi, dword [edx + 0x1c]
add eax, dword [esp + 0x20]
mov esi, dword [edx + 0x18]
cdq
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edi
cmp edi, edx
jg 0x100f21da
jl 0x100f2083
cmp esi, eax
jae 0x100f21da
mov eax, dword [esp + 0x28]
and eax, 0x8000003f
jns 0x100f2093
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, ecx
cdq
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
jmp 0x100f20b4
mov eax, dword [esp + 0x48]
cmp edi, edx
jl 0x100f21d6
jg 0x100f20c6
cmp esi, eax
jb 0x100f21d6
mov eax, dword [esp + 0x50]
xor esi, esi
bts esi, eax
xor edi, edi
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov eax, dword [esp + 0x24]
cmovae edi, esi
sub eax, ecx
xor ecx, ecx
xor edx, edx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
mov eax, dword [esp + 0x10]
cmovae ecx, edx
mov dword [esp + 0x60], edx
or eax, dword [ebp + 0x10]
mov dword [esp + 0x58], ecx
and eax, edi
mov ecx, dword [esp + 0x18]
or ecx, dword [ebp + 0xc]
and ecx, esi
or ecx, eax
mov eax, 1
jne 0x100f2122
mov eax, 0x3e8
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
or dword [esp + 0x18], esi
xor esi, esi
or dword [esp + 0x10], edi
mov edi, dword [eax]
test edi, edi
jle 0x100f215e
nop word [eax + eax]
mov eax, edx
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.1013b8b0
or dword [esp + 0x30], edx
inc esi
or dword [esp + 0x34], eax
mov edx, dword [esp + 0x60]
cmp esi, edi
jl 0x100f2140
mov edi, dword [esp + 0x40]
mov al, byte [edi]
test al, 0xfe
je 0x100f21d6
test al, al
jns 0x100f217f
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.100d02f0
mov ecx, eax
mov eax, dword [esp + 0x3c]
jmp 0x100f218b
movzx eax, al
mov ecx, 1
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x24]
add eax, 0xfffffffe
cdq
add edi, ecx
mov ecx, dword [esp + 0x20]
add esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x44]
adc edi, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x24], esi
cdq
cmp edi, edx
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x4c]
jl 0x100f20b0
jg 0x100f21d6
cmp esi, eax
mov eax, dword [esp + 0x48]
jb 0x100f20b4
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc eax
add edx, 0x28
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
cmp eax, ecx
jl 0x100f2040
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x38]
jle 0x100f1ec4
mov edi, dword [ebp + 0x18]
mov esi, dword [esp + 0x20]
mov dword [edi + 4], esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], esi
jmp 0x100f1ec4
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov esi, dword [esp + 0x80]
test esi, esi
je 0x100f22b6
cmp dword [0x10165af8], 0
je 0x100f22a6
mov eax, dword [0x10168b40]
test eax, eax
je 0x100f2269
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100f22b6
push eax
call dword [0x10165b50]
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x80]
call dword [0x10165b1c]
add esp, 4
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
mov esp, ebp
pop ebp
ret