Function at 0x100d8880
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 0x100d8924
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x60]
push eax
push 0x100d8700
lea edx, [esp + 0x3c]
call fcn.100d86a0
add esp, 8
test eax, eax
jne 0x100d8ea0
cmp edi, 2
je 0x100d891e
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x60]
push eax
push 0x100d8700
lea edx, [esp + 0x3c]
call fcn.100d86a0
add esp, 8
test eax, eax
jne 0x100d8ea0
mov edi, dword [esp + 0x64]
jmp 0x100d8929
mov edi, 1
lea esi, [edi + edi*4]
mov dword [esp + 0x20], edi
shl esi, 3
mov dword [esp + 0x4c], esi
call fcn.100be130
test eax, eax
jne 0x100d8e9b
push eax
push esi
call fcn.1001cb50
mov esi, eax
add esp, 8
test esi, esi
je 0x100d8e9b
push dword [esp + 0x4c]
push 0
push esi
call fcn.101062c0
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 0x100d8a08
mov ecx, dword [ecx + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x100d87e0
lea edx, [esp + 0x3c]
call fcn.100d86a0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100d8e82
cmp dword [esp + 0x4c], 2
je 0x100d8aa2
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x70]
push eax
push 0x100d87e0
lea edx, [esp + 0x3c]
mov ecx, dword [ecx + 0x10]
call fcn.100d86a0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
jmp 0x100d8a9a
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.100cb530
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x100d8a9a
mov dword [esi + 4], eax
mov cl, byte [eax]
test cl, cl
jns 0x100d8a55
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.100c31b0
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x100d8a5d
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 0x100d8a7c
mov ecx, 0x10b
mov dword [esp + 0x1c], ecx
jmp 0x100d8a9a
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 0x100d8e82
xor esi, esi
test edi, edi
jle 0x100d8af8
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 0x100d8aec
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 0x100d8ac0
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 0x100d8b61
xor edi, edi
mov dword [esp + 0x84], 0
test ecx, ecx
jle 0x100d8c24
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.100d8740
mov ecx, dword [esp + 0x80]
inc edi
add esp, 4
add esi, 0x28
cmp edi, ecx
jl 0x100d8b30
jmp 0x100d8c24
mov edx, 0x7fffffff
mov dword [esp + 0x20], edx
test ecx, ecx
jle 0x100d8e79
mov esi, dword [esp + 0x80]
add esi, 8
nop dword [eax]
cmp dword [esi + 8], 0
je 0x100d8ba2
mov edi, dword [esi]
mov eax, edx
cdq
cmp dword [esi + 4], edx
jg 0x100d8b9e
jl 0x100d8b96
cmp edi, eax
jae 0x100d8b9e
mov edx, edi
mov dword [esp + 0x20], edx
jmp 0x100d8ba2
mov edx, dword [esp + 0x20]
add esi, 0x28
sub ecx, 1
jne 0x100d8b80
cmp edx, 0x7fffffff
je 0x100d8e79
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.100d8740
add esp, 4
lea edx, [esi + 0x18]
lea ecx, [esi + 0x20]
push dword [esp + 0x48]
call fcn.100d8740
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 0x100d8be0
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 0x100d8e42
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 0x100d8e1a
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 0x100d8e1a
jl 0x100d8cc3
cmp esi, eax
jae 0x100d8e1a
mov eax, dword [esp + 0x28]
and eax, 0x8000003f
jns 0x100d8cd3
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 0x100d8cf4
mov eax, dword [esp + 0x48]
cmp edi, edx
jl 0x100d8e16
jg 0x100d8d06
cmp esi, eax
jb 0x100d8e16
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 0x100d8d62
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 0x100d8d9e
nop word [eax + eax]
mov eax, edx
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.10117260
or dword [esp + 0x30], edx
inc esi
or dword [esp + 0x34], eax
mov edx, dword [esp + 0x60]
cmp esi, edi
jl 0x100d8d80
mov edi, dword [esp + 0x40]
mov al, byte [edi]
test al, 0xfe
je 0x100d8e16
test al, al
jns 0x100d8dbf
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.100c31b0
mov ecx, eax
mov eax, dword [esp + 0x3c]
jmp 0x100d8dcb
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 0x100d8cf0
jg 0x100d8e16
cmp esi, eax
mov eax, dword [esp + 0x48]
jb 0x100d8cf4
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 0x100d8c80
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x38]
jle 0x100d8b04
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 0x100d8b04
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