Function at 0x100d87e0
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 0x100d8884
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x60]
push eax
push 0x100d8660
lea edx, [esp + 0x3c]
call fcn.100d8600
add esp, 8
test eax, eax
jne 0x100d8e00
cmp edi, 2
je 0x100d887e
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x60]
push eax
push 0x100d8660
lea edx, [esp + 0x3c]
call fcn.100d8600
add esp, 8
test eax, eax
jne 0x100d8e00
mov edi, dword [esp + 0x64]
jmp 0x100d8889
mov edi, 1
lea esi, [edi + edi*4]
mov dword [esp + 0x20], edi
shl esi, 3
mov dword [esp + 0x4c], esi
call fcn.100be0c0
test eax, eax
jne 0x100d8dfb
push eax
push esi
call fcn.1001cb50
mov esi, eax
add esp, 8
test esi, esi
je 0x100d8dfb
push dword [esp + 0x4c]
push 0
push esi
call fcn.10106200
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 0x100d8968
mov ecx, dword [ecx + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x100d8740
lea edx, [esp + 0x3c]
call fcn.100d8600
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100d8de2
cmp dword [esp + 0x4c], 2
je 0x100d8a02
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x70]
push eax
push 0x100d8740
lea edx, [esp + 0x3c]
mov ecx, dword [ecx + 0x10]
call fcn.100d8600
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
jmp 0x100d89fa
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.100cb4d0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x100d89fa
mov dword [esi + 4], eax
mov cl, byte [eax]
test cl, cl
jns 0x100d89b5
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.100c3140
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x100d89bd
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 0x100d89dc
mov ecx, 0x10b
mov dword [esp + 0x1c], ecx
jmp 0x100d89fa
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 0x100d8de2
xor esi, esi
test edi, edi
jle 0x100d8a58
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 0x100d8a4c
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 0x100d8a20
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 0x100d8ac1
xor edi, edi
mov dword [esp + 0x84], 0
test ecx, ecx
jle 0x100d8b84
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.100d86a0
mov ecx, dword [esp + 0x80]
inc edi
add esp, 4
add esi, 0x28
cmp edi, ecx
jl 0x100d8a90
jmp 0x100d8b84
mov edx, 0x7fffffff
mov dword [esp + 0x20], edx
test ecx, ecx
jle 0x100d8dd9
mov esi, dword [esp + 0x80]
add esi, 8
nop dword [eax]
cmp dword [esi + 8], 0
je 0x100d8b02
mov edi, dword [esi]
mov eax, edx
cdq
cmp dword [esi + 4], edx
jg 0x100d8afe
jl 0x100d8af6
cmp edi, eax
jae 0x100d8afe
mov edx, edi
mov dword [esp + 0x20], edx
jmp 0x100d8b02
mov edx, dword [esp + 0x20]
add esi, 0x28
sub ecx, 1
jne 0x100d8ae0
cmp edx, 0x7fffffff
je 0x100d8dd9
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.100d86a0
add esp, 4
lea edx, [esi + 0x18]
lea ecx, [esi + 0x20]
push dword [esp + 0x48]
call fcn.100d86a0
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 0x100d8b40
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 0x100d8da2
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 0x100d8d7a
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 0x100d8d7a
jl 0x100d8c23
cmp esi, eax
jae 0x100d8d7a
mov eax, dword [esp + 0x28]
and eax, 0x8000003f
jns 0x100d8c33
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 0x100d8c54
mov eax, dword [esp + 0x48]
cmp edi, edx
jl 0x100d8d76
jg 0x100d8c66
cmp esi, eax
jb 0x100d8d76
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 0x100d8cc2
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 0x100d8cfe
nop word [eax + eax]
mov eax, edx
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.101171c0
or dword [esp + 0x30], edx
inc esi
or dword [esp + 0x34], eax
mov edx, dword [esp + 0x60]
cmp esi, edi
jl 0x100d8ce0
mov edi, dword [esp + 0x40]
mov al, byte [edi]
test al, 0xfe
je 0x100d8d76
test al, al
jns 0x100d8d1f
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.100c3140
mov ecx, eax
mov eax, dword [esp + 0x3c]
jmp 0x100d8d2b
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 0x100d8c50
jg 0x100d8d76
cmp esi, eax
mov eax, dword [esp + 0x48]
jb 0x100d8c54
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 0x100d8be0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x38]
jle 0x100d8a64
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 0x100d8a64
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
push dword [esp + 0x80]
call fcn.1001cd70
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
mov esp, ebp
pop ebp
ret