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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov ebx, edx
mov eax, ecx
xor edx, edx
mov dword [esp + 0x2c], ebx
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
push esi
push edi
movlpd qword [esp + 0x70], xmm0
cmp word [ebp + 0x10], dx
je 0x100864ef
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
je 0x100864ef
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x100864e6
movzx esi, ax
xor ecx, ecx
xor ebx, ebx
mov edi, dword [esp + 0x74]
mov eax, esi
movlpd qword [esp + 0x80], xmm0
bts ecx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x20], 1
mov dword [esp + 0x38], esi
cmovae ebx, ecx
mov dword [esp + 0x3c], edx
xor ecx, ebx
mov dword [esp + 0x14], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, ecx
add ecx, 0xffffffff
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x20]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x70]
neg eax
mov dword [esp + 0x1c], ebx
sbb eax, eax
neg eax
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
nop word [eax + eax]
mov eax, dword [esp + 0x4c]
cmp edi, eax
ja 0x10086d02
jb 0x100865b8
cmp ebx, dword [esp + 0x7c]
jae 0x10086d06
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x3c], eax
jg 0x10086cfe
cmp dword [esp + 0x3c], 0
jle 0x100865e7
mov esi, dword [esp + 0x5c]
or esi, dword [edx + 8]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x60]
or esi, dword [edx + 0xc]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp edx, eax
jge 0x1008660c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edx
test eax, 0x800
jne 0x10086ce6
jmp 0x10086616
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edx
test dword [edx + 0x24], 0x400
jne 0x10086cf4
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x10086637
xor eax, eax
mov word [edx + 0x1e], ax
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x100867d0
mov eax, dword [esp + 0x34]
add eax, 8
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x50], ecx
cmovae edx, ecx
and ecx, ebx
mov eax, edx
mov dword [esp + 0x30], edx
and eax, edi
or ecx, eax
jne 0x100867b2
mov esi, dword [esi]
test esi, esi
je 0x100867ae
nop
mov eax, dword [esi + 4]
test eax, 0x41000
je 0x100866c5
test eax, 0x40000
je 0x100866b9
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x100866bc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100866a0
jmp 0x100867ae
test esi, esi
je 0x100867ae
mov al, byte [esi]
cmp al, 0xa6
je 0x100866db
cmp al, 0xa8
jne 0x100867ae
mov edx, dword [esp + 0x64]
cmp dword [esi + 0x1c], edx
jne 0x100867ae
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x68]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x58]
push eax
lea ecx, [ecx + 0x50]
call fcn.1008b880
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100867aa
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x10086748
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x28]
test edx, edx
jle 0x10086744
mov eax, dword [eax + 0x30]
cmp edi, dword [eax]
je 0x10086744
inc ecx
add eax, 4
cmp ecx, edx
jl 0x10086738
cmp ecx, edx
jge 0x100867a6
test bl, 0x82
je 0x1008678c
cmp word [esi + 0x20], 0
jl 0x1008678c
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.100d5880
mov ebx, eax
test ebx, ebx
jne 0x10086772
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.100d5650
test eax, eax
je 0x100867a6
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.1010de20
test eax, eax
jne 0x100867a6
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
or ebx, dword [esp + 0x50]
or edi, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
jmp 0x100867ae
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
add esi, 0x14
inc ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x38]
jl 0x10086668
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x24]
test eax, 0x1000
jne 0x10086b9d
test eax, 0x100
je 0x100867fc
mov dword [esp + 0x58], 0
mov ecx, 1
mov dword [esp + 0x50], 0
jmp 0x1008683c
mov edx, dword [edx + 0x20]
mov dword [esp + 0x58], edx
test edx, edx
je 0x100864e6
test byte [edx + 0x38], 4
jne 0x100864e6
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x50], ecx
movzx ecx, word [edx + 0x34]
je 0x10086833
mov byte [esp + 0x20], 1
test eax, 0x8000
je 0x10086838
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x28]
xor al, al
xor esi, esi
mov byte [esp + 0x27], al
mov byte [esp + 0x26], al
mov dword [esp + 0x2c], eax
movzx eax, cx
mov dword [esp + 0x10], esi
mov dword [esp + 0x70], eax
test eax, eax
jle 0x10086b9d
mov dword [esp + 0x30], esi
movzx ebx, word [edx + 0x18]
mov byte [esp + 0x25], 1
cmp esi, ebx
jge 0x100868db
movzx eax, word [edx + 0x2a]
cmp esi, eax
jl 0x100868db
mov edi, dword [edx + 0x30]
mov eax, dword [esp + 0x78]
mov esi, dword [edi + esi*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x100868ab
mov ebx, dword [esp + 0x20]
test ecx, 0x180
mov ecx, 0
movzx eax, bl
cmove ecx, eax
mov byte [esp + 0x20], cl
jmp 0x10086b80
test cl, 1
je 0x100868d7
mov ecx, dword [esp + 0x10]
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, ebx
jge 0x100868d7
inc ecx
lea ecx, [edi + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x100868d1
inc edx
add ecx, 4
cmp edx, ebx
jl 0x100868c1
jmp 0x100868d7
xor al, al
mov byte [esp + 0x25], al
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x58]
test edi, edi
je 0x10086908
mov eax, dword [edi + 4]
movsx edx, word [eax + esi*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x44], edx
mov cl, byte [esi + eax]
mov eax, dword [edi + 0xc]
and cl, 1
mov byte [esp + 0x1b], cl
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x10086914
jmp 0x1008690d
mov byte [esp + 0x1b], 0
or edx, 0xffffffff
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x20]
test al, al
je 0x1008694d
test edx, edx
js 0x1008693e
cmp esi, ebx
jl 0x1008693e
mov eax, dword [edi + 0xc]
mov ecx, edx
mov ebx, dword [esp + 0x20]
add ecx, ecx
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 4]
and al, 0xf
neg al
sbb al, al
and al, bl
xor ecx, ecx
movzx eax, al
cmp edx, 0xfffffffe
cmove eax, ecx
mov dword [esp + 0x20], eax
mov bh, byte [esp + 0x25]
xor edi, edi
test bh, bh
je 0x10086a7a
mov esi, dword [esp + 0x34]
add esi, 8
mov dword [esp + 0x40], esi
cmp edi, dword [esp + 0x38]
jge 0x10086a7a
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x1c]
and ecx, dword [esp + 0x14]
or edx, ecx
jne 0x10086a6a
mov ecx, dword [esi]
test ecx, ecx
je 0x10086a6a
mov eax, dword [ecx + 4]
test eax, 0x41000
je 0x100869c6
test eax, 0x40000
je 0x100869ba
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
jmp 0x100869bd
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x100869a1
jmp 0x10086a6a
test ecx, ecx
je 0x10086a6a
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x44]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp edx, 0xffffffff
jl 0x10086a07
mov al, byte [ecx]
cmp al, 0xa6
je 0x100869f2
cmp al, 0xa8
jne 0x10086a6a
mov eax, dword [esp + 0x64]
mov bh, bl
cmp dword [ecx + 0x1c], eax
jne 0x10086a6a
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x10086a6a
jmp 0x10086a2a
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
push dword [esp + 0x64]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 8]
call fcn.100cd300
add esp, 4
test eax, eax
jne 0x10086a6a
mov edx, dword [esp + 0x44]
cmp edx, 0xffffffff
je 0x10086aa8
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.100d5880
test eax, eax
jne 0x10086a4b
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x58]
mov bh, bl
mov esi, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.1010de20
test eax, eax
je 0x10086aac
mov esi, dword [esp + 0x40]
add esi, 0x14
inc edi
mov dword [esp + 0x40], esi
test bh, bh
jne 0x10086966
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10086a8d
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x10086a92
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
test al, al
je 0x10086b9d
mov byte [esp + 0x20], 1
jmp 0x10086ba9
mov esi, dword [esp + 0x10]
cmp word [esp + 0x80], 0
mov ebx, dword [esp + 0x28]
je 0x10086ac2
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x10086b26
cmp byte [esp + 0x27], 0
lea eax, [edi + edi*4]
mov ecx, dword [esp + 0x34]
je 0x10086aef
mov al, byte [ecx + eax*4 + 0x10]
mov cl, byte [esp + 0x1b]
and al, 1
xor cl, byte [esp + 0x26]
cmp cl, al
sete al
test al, al
je 0x10086a7a
jmp 0x10086b26
mov dl, byte [ecx + eax*4 + 0x10]
and dl, 1
xor dl, byte [esp + 0x1b]
mov byte [esp + 0x26], dl
je 0x10086b21
mov eax, dword [esp + 0x3c]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp + 0x18]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x27], 1
mov ecx, dword [esp + 0x34]
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 2
je 0x10086b47
movzx eax, word [ebx + 0x18]
cmp esi, eax
jne 0x10086a7a
or dword [ebx + 0x24], 0x80000
cmp dword [esp + 0x44], 0xffffffff
mov eax, 1
mov edx, dword [esp + 0x2c]
movzx edx, dl
cmove edx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x1c], eax
or dword [esp + 0x14], ecx
mov esi, dword [esp + 0x10]
add dword [esp + 0x30], 0x14
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x70]
jl 0x10086863
jmp 0x10086a92
mov ebx, dword [esp + 0x20]
test bl, bl
je 0x10086cd2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x38]
or eax, dword [edx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
or eax, dword [edx + 0xc]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x40], eax
test esi, esi
jle 0x10086cda
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x2c], ebx
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x1c]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x10086cb2
mov ebx, dword [ebx]
test ebx, ebx
je 0x10086c26
mov ecx, dword [esp + 0x48]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.1008c2e0
mov ecx, edx
jmp 0x10086c37
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
or eax, ecx
mov dword [esp + 0x30], ecx
jne 0x10086c8e
mov dword [esp + 0x98], fcn.100d2bf0
mov eax, 1
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x100d2e90
mov dword [esp + 0xac], 0
test ebx, ebx
je 0x10086c8e
mov edx, ebx
lea ecx, [esp + 0x94]
call fcn.100d8830
cmp word [esp + 0xa8], 0
je 0x10086cae
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
not ecx
and ecx, dword [esp + 0x50]
not eax
and eax, dword [esp + 0x30]
or ecx, eax
jne 0x10086cae
or dword [esp + 0x1c], esi
or dword [esp + 0x14], edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
add dword [esp + 0x2c], 0x14
inc eax
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
cmp eax, esi
jl 0x10086be4
jmp 0x10086cd6
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc dword [esp + 0x3c]
test cl, cl
jne 0x100865a0
jmp 0x10086cfe
cmp byte [edx + 0x1d], 0
je 0x10086cfe
test al, al
jns 0x10086d0c
mov eax, dword [esp + 0x4c]
cmp ebx, dword [esp + 0x7c]
jne 0x10086d1a
cmp edi, eax
jne 0x10086d1a
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test cl, cl
jne 0x10086d97
lea ebx, [esi - 1]
test ebx, ebx
jle 0x100864e6
nop dword [eax]
cmp ebx, 0x40
jge 0x10086d54
xor ecx, ecx
xor edx, edx
mov eax, ebx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
jmp 0x10086d6e
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x1c]
and esi, edi
cmp eax, ecx
jne 0x10086d80
cmp esi, edx
je 0x10086d8e
dec ebx
test ebx, ebx
jg 0x10086d30
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret