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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
xor esi, esi
mov dword [esp + 0x3c], edx
mov eax, ecx
xorps xmm0, xmm0
push edi
mov dword [esp + 0x44], eax
movlpd qword [esp + 0x48], xmm0
cmp word [ebp + 0x10], si
je 0x10096428
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x10096d84
movzx eax, word [edx]
mov dword [esp + 0x30], eax
cmp eax, 0x3f
ja 0x10096d84
movzx eax, ax
xor ecx, ecx
bts ecx, eax
mov edi, dword [esp + 0x4c]
xor edx, edx
mov ebx, dword [esp + 0x48]
cmp eax, 0x20
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x50], xmm0
cmovae edx, ecx
mov byte [esp + 0x1c], 1
xor ecx, edx
mov dword [esp + 0x34], esi
cmp eax, 0x40
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
cmovae edx, ecx
add ecx, 0xffffffff
mov dword [esp + 0x7c], ecx
adc edx, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0xc]
mov eax, edx
and eax, 0x803
neg eax
sbb eax, eax
neg eax
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
nop dword [eax]
mov eax, dword [esp + 0x78]
cmp edi, eax
ja 0x10096d05
jb 0x100964e8
cmp ebx, dword [esp + 0x7c]
jae 0x10096d09
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x34], eax
jg 0x10096d26
cmp dword [esp + 0x34], 0
jle 0x10096517
mov edi, dword [esp + 0x60]
or edi, dword [esi + 8]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x64]
or edi, dword [esi + 0xc]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
cmp esi, eax
jge 0x1009653a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov dword [esp + 0x28], esi
test edx, 0x800
jne 0x10096cf5
jmp 0x10096541
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x24]
test edx, 0x400
jne 0x10096d1a
mov eax, dword [ebp + 0xc]
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x10096567
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
mov ebx, dword [esp + 0x30]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
xor ecx, ecx
mov dword [esp + 0x68], eax
movzx eax, bx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x100966a3
mov eax, dword [esp + 0x40]
add eax, 8
mov dword [esp + 0xc], 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 + 0x2c], edx
and eax, edi
or ecx, eax
jne 0x1009667d
mov esi, dword [esi]
test esi, esi
je 0x10096679
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x41000
je 0x10096602
test eax, 0x40000
je 0x100965f9
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x100965fc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100965e0
jmp 0x10096679
mov al, byte [esi]
cmp al, 0xa6
je 0x1009660c
cmp al, 0xa8
jne 0x10096679
mov edx, dword [esp + 0x68]
cmp dword [esi + 0x1c], edx
jne 0x10096679
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x6c]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x54]
push eax
lea ecx, [ecx + 0x50]
call fcn.10091dc0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10096675
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x100966d9
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x28]
test edx, edx
je 0x100966d5
mov eax, dword [eax + 0x30]
cmp edi, dword [eax]
je 0x100966d5
inc ecx
add eax, 4
cmp ecx, edx
jl 0x10096665
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
add esi, 0x14
mov edx, dword [esp + 0x30]
inc ecx
movzx eax, dx
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], esi
cmp ecx, eax
jl 0x100965a3
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x24]
test edx, 0x1000
jne 0x10096bae
test edx, 0x100
je 0x100967a5
mov dword [esp + 0x5c], 0
mov eax, 1
mov dword [esp + 0x50], 0
jmp 0x100967e2
cmp ecx, edx
jge 0x10096671
test bl, 0x82
je 0x1009676f
cmp word [esi + 0x20], 0
jl 0x1009676f
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.10040870
mov ebx, eax
test ebx, ebx
jne 0x1009670b
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x200
je 0x1009671e
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x10096724
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x100
jne 0x10096747
test edi, edi
je 0x1009673a
test dword [edi + 4], 0x100
jne 0x10096745
mov ecx, esi
call fcn.10040870
test eax, eax
jne 0x10096756
mov edx, edi
mov ecx, esi
call fcn.10040870
test eax, eax
je 0x10096671
mov esi, dword [eax]
mov edx, dword [ebx]
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1009678c
test ecx, ecx
jne 0x100967a2
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
or ebx, dword [esp + 0x50]
or edi, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
jmp 0x10096679
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x10096671
inc edx
jmp 0x10096760
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x10096d84
test byte [ecx + 0x38], 4
jne 0x10096d84
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x100967dd
mov byte [esp + 0x1c], 1
test edx, 0x8000
je 0x100967e2
mov byte [esp + 0x1c], 0
movzx eax, ax
xor cl, cl
xor edx, edx
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x48], eax
test eax, eax
je 0x10096bae
mov dword [esp + 0x2c], edx
nop dword [eax + eax]
movzx ebx, word [esi + 0x18]
mov byte [esp + 0x21], 1
cmp edx, ebx
jge 0x1009688a
movzx eax, word [esi + 0x2a]
cmp edx, eax
jl 0x1009688a
mov edi, dword [esi + 0x30]
mov eax, dword [esp + 0x74]
mov esi, dword [edi + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x10096858
mov eax, dword [esp + 0x1c]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x10096b91
test cl, 1
je 0x1009688a
mov esi, dword [esi]
inc edx
cmp edx, ebx
jge 0x10096886
mov ecx, dword [esp + 0xc]
inc ecx
lea ecx, [edi + ecx*4]
nop dword [eax]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x10096880
inc edx
add ecx, 4
cmp edx, ebx
jl 0x10096870
jmp 0x10096886
xor al, al
mov byte [esp + 0x21], al
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x100968b6
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], ecx
mov al, byte [edx + eax]
and al, 1
mov byte [esp + 0x1b], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x100968c2
jmp 0x100968bb
mov byte [esp + 0x1b], 0
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x1c]
test al, al
je 0x100968f7
test ecx, ecx
js 0x100968e8
cmp edx, ebx
jl 0x100968f7
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x100968f7
mov byte [esp + 0x1c], 0
jmp 0x100968f7
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x1c], eax
mov bl, byte [esp + 0x21]
xor edi, edi
test bl, bl
je 0x10096a89
mov esi, dword [esp + 0x40]
add esi, 8
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x30]
movzx eax, cx
cmp edi, eax
jge 0x10096a89
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 + 0x14]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x10096a79
mov edx, dword [esi]
test edx, edx
je 0x10096a79
mov eax, dword [edx + 4]
test eax, 0x41000
je 0x10096975
test eax, 0x40000
je 0x10096969
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 8]
jmp 0x1009696c
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x10096950
jmp 0x10096a79
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp ecx, 0xffffffff
jl 0x100969b6
mov al, byte [edx]
cmp al, 0xa6
je 0x10096999
cmp al, 0xa8
jne 0x10096a79
mov eax, dword [esp + 0x68]
mov bl, bh
cmp dword [edx + 0x1c], eax
jne 0x10096a79
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x10096a79
jmp 0x10096a27
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + ecx + 8]
test ecx, ecx
je 0x100969f0
nop dword [eax]
mov eax, dword [ecx + 4]
test eax, 0x41000
je 0x100969f0
test eax, 0x40000
je 0x100969e9
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 8]
jmp 0x100969ec
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x100969d0
mov eax, dword [edx + 4]
test eax, 0x41000
je 0x10096a10
test eax, 0x40000
je 0x10096a09
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 8]
jmp 0x10096a0c
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x100969f0
push dword [esp + 0x68]
push ecx
xor ecx, ecx
call fcn.100496c0
add esp, 8
test eax, eax
jne 0x10096a79
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
je 0x10096acb
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.10040870
test eax, eax
jne 0x10096a4c
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10096ab6
test ecx, ecx
jne 0x10096ac8
mov bl, bh
test ecx, ecx
je 0x10096acb
mov esi, dword [esp + 0x38]
add esi, 0x14
inc edi
mov dword [esp + 0x38], esi
test bl, bl
jne 0x10096910
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x10096a9c
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x10096aa1
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x24], 0
je 0x10096bae
mov byte [esp + 0x1c], 1
jmp 0x10096bb9
movzx eax, byte [eax + 0x10114750]
movzx ecx, byte [ecx + 0x10114750]
sub ecx, eax
jne 0x10096a6f
inc edx
jmp 0x10096a60
cmp word [esp + 0x80], 0
mov ebx, dword [esp + 0x28]
je 0x10096ae3
mov eax, dword [esp + 0xc]
inc eax
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov esi, dword [esp + 0x40]
jne 0x10096b3b
lea eax, [edi + edi*4]
mov al, byte [esi + eax*4 + 0x10]
and al, 1
cmp byte [esp + 0x23], 0
je 0x10096b0b
mov cl, byte [esp + 0x1b]
xor cl, byte [esp + 0x22]
cmp cl, al
jne 0x10096a89
jmp 0x10096b3b
xor al, byte [esp + 0x1b]
mov byte [esp + 0x22], al
je 0x10096b36
mov eax, dword [esp + 0x34]
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 + 0x23], 1
mov edx, dword [esp + 0xc]
lea eax, [edi + edi*4]
test byte [esi + eax*4 + 0x10], 2
je 0x10096b5c
movzx eax, word [ebx + 0x18]
cmp edx, eax
jne 0x10096a89
or dword [ebx + 0x24], 0x80000
cmp dword [esp + 0x3c], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x24]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x14], eax
or dword [esp + 0x10], ecx
add dword [esp + 0x2c], 0x14
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x48]
jge 0x10096aa1
mov esi, dword [esp + 0x28]
jmp 0x10096810
cmp byte [esp + 0x1c], 0
je 0x10096ce2
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
or eax, dword [esi + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
or eax, dword [esi + 0xc]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x38], eax
cmp word [esp + 0x30], ax
je 0x10096ce6
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
add ebx, 8
mov dword [esp + 0x24], 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 + 0x14]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x10096cc1
mov ebx, dword [ebx]
test ebx, ebx
je 0x10096c35
mov ecx, dword [esp + 0x44]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.100913e0
mov ecx, edx
jmp 0x10096c46
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
or eax, ecx
mov dword [esp + 0x2c], ecx
jne 0x10096c9d
mov dword [esp + 0x90], fcn.10043a90
mov eax, 1
mov word [esp + 0xa0], ax
mov dword [esp + 0x94], 0x10043940
mov dword [esp + 0xa4], 0
test ebx, ebx
je 0x10096c9d
mov edx, ebx
lea ecx, [esp + 0x8c]
call fcn.1003d7d0
cmp word [esp + 0xa0], 0
je 0x10096cbd
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
not ecx
and ecx, dword [esp + 0x50]
not eax
and eax, dword [esp + 0x2c]
or ecx, eax
jne 0x10096cbd
or dword [esp + 0x14], esi
or dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
inc eax
add dword [esp + 0x24], 0x14
movzx ecx, bx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
cmp eax, ecx
jl 0x10096bf3
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
inc dword [esp + 0x34]
test cl, cl
jne 0x100964d0
mov eax, dword [esp + 0x78]
cmp ebx, dword [esp + 0x7c]
jne 0x10096d26
cmp edi, eax
jne 0x10096d26
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x1d], 0
je 0x10096d26
test byte [ebp + 0xc], 0x80
jmp 0x10096d0d
test cl, cl
jne 0x10096d96
mov ecx, dword [esp + 0x30]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x10096d84
cmp ebx, 0x40
jge 0x10096d5c
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 0x10096d6d
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x14]
and esi, edi
cmp eax, ecx
jne 0x10096d7f
cmp esi, edx
je 0x10096d8d
dec ebx
test ebx, ebx
jg 0x10096d38
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