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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x10310644]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x90], ecx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x40], eax
movlpd qword [esp + 0x70], xmm0
cmp word [ebp + 0x10], cx
je 0x1010b7c4
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x1010c006
movzx eax, word [edx]
mov dword [esp + 0x9c], eax
cmp eax, 0x3f
ja 0x1010c006
movzx ebx, ax
xor edx, edx
xor esi, esi
mov edi, dword [esp + 0x74]
mov eax, ebx
movlpd qword [esp + 0x80], xmm0
bts edx, eax
movlpd qword [esp + 0x48], xmm0
cmp eax, 0x20
mov byte [esp + 0x14], 1
mov dword [esp + 0x30], ebx
cmovae esi, edx
mov dword [esp + 0x44], ecx
xor edx, esi
mov dword [esp + 0x10], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae esi, edx
add edx, 0xffffffff
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x14]
adc esi, 0xffffffff
and eax, 0x800
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x90], eax
mov eax, ecx
setne al
mov dword [esp + 0x18], esi
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
nop word [eax + eax]
mov eax, dword [esp + 0x5c]
cmp edi, eax
ja 0x1010bf67
jb 0x1010b898
cmp esi, dword [esp + 0x78]
jae 0x1010bf6b
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x44], eax
jg 0x1010bf63
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x1010b8c8
mov ebx, dword [esp + 0x60]
or ebx, dword [ecx + 8]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x6c]
or ebx, dword [ecx + 0xc]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x30]
cmp esi, eax
jge 0x1010b8ef
cmp word [esp + 0x90], 0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov dword [esp + 0x20], esi
je 0x1010b8fa
mov ecx, esi
jmp 0x1010bf47
mov esi, dword [esp + 0x94]
mov dword [esp + 0x20], esi
mov edx, dword [esi + 0x24]
test edx, 0x400
jne 0x1010bf59
mov eax, dword [ebp + 0xc]
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x1010b920
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x1010ba61
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add edx, 4
mov dword [esp + 0x24], edx
xor edi, edi
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
mov ecx, edi
cmovae ebx, edi
and ecx, dword [esp + 0x18]
mov eax, ebx
and eax, esi
or ecx, eax
jne 0x1010ba3c
mov ecx, dword [edx]
call fcn.100cbe20
mov edx, eax
mov dword [esp + 0x48], edx
cmp byte [edx], 0xa2
jne 0x1010ba3c
mov eax, dword [esp + 0x54]
cmp dword [edx + 0x1c], eax
jne 0x1010ba3c
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x74]
not eax
push eax
movsx eax, word [edx + 0x20]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x50]
push eax
add ecx, 0x50
call fcn.10107b60
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1010ba38
movzx eax, word [esi + 0xc]
cmp eax, 1
jne 0x1010ba07
mov edx, dword [esp + 0x20]
xor ecx, ecx
movzx edx, word [edx + 0x28]
test edx, edx
je 0x1010ba03
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x30]
cmp esi, dword [eax]
je 0x1010b9ff
inc ecx
add eax, 4
cmp ecx, edx
jl 0x1010b9f1
jmp 0x1010ba38
movzx eax, word [esi + 0xc]
cmp ecx, edx
jge 0x1010ba38
test al, 0x82
je 0x1010ba30
mov eax, dword [esp + 0x48]
cmp word [eax + 0x20], 0
jl 0x1010ba30
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
push dword [esi]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.100cbfc0
add esp, 4
test eax, eax
je 0x1010ba38
or dword [esp + 0x18], edi
or dword [esp + 0x10], ebx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
add dword [esp + 0x24], 0x18
inc eax
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
cmp eax, ebx
jl 0x1010b953
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x24]
test edx, 0x1000
jne 0x1010be11
test edx, 0x100
je 0x1010ba90
mov edx, dword [esp + 0x14]
mov eax, 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x48], 0
jmp 0x1010bacd
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x1010c006
test byte [ecx + 0x38], 4
jne 0x1010c006
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x48], eax
movzx eax, word [ecx + 0x34]
je 0x1010bac7
test edx, 0x8000
jne 0x1010bac7
mov dl, 1
jmp 0x1010bac9
xor dl, dl
mov dword [esp + 0x14], edx
xor cl, cl
movzx eax, ax
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x70], eax
test eax, eax
je 0x1010be11
mov dword [esp + 0x38], ecx
movzx edi, word [esi + 0x18]
mov bh, 1
mov byte [esp + 0xf], bh
cmp ecx, edi
jge 0x1010bb69
movzx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x1010bb69
mov ebx, dword [esi + 0x30]
mov eax, dword [esp + 0x7c]
mov esi, dword [ebx + ecx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x1010bb3d
test ecx, 0x180
movzx eax, dl
mov ecx, 0
cmove ecx, eax
mov dl, cl
mov dword [esp + 0x14], edx
jmp 0x1010bdf0
test cl, 1
mov ecx, dword [esp + 0x2c]
je 0x1010bb65
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, edi
jge 0x1010bb65
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x1010bb96
inc edx
add ecx, 4
cmp edx, edi
jl 0x1010bb53
mov ecx, dword [esp + 0x2c]
mov bh, byte [esp + 0xf]
mov esi, dword [esp + 0x58]
test esi, esi
je 0x1010bb9e
mov eax, dword [esi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], edx
mov bl, byte [ecx + eax]
mov eax, dword [esi + 0xc]
and bl, 1
mov byte [esp + 0xf], bl
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x1010bbaa
jmp 0x1010bba3
mov ecx, dword [esp + 0x2c]
xor bh, bh
jmp 0x1010bb69
mov byte [esp + 0xf], 0
or edx, 0xffffffff
mov dword [esp + 0x24], edx
cmp byte [esp + 0x14], 0
je 0x1010bbd8
test edx, edx
js 0x1010bbd8
cmp ecx, edi
jl 0x1010bbd8
mov eax, dword [esi + 0xc]
mov ecx, edx
mov edx, dword [esp + 0x14]
add ecx, ecx
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
cmove edx, esi
mov dword [esp + 0x14], edx
xor edi, edi
test bh, bh
je 0x1010bcf1
mov esi, dword [esp + 0x3c]
add esi, 4
mov dword [esp + 0x34], esi
nop dword [eax]
cmp edi, dword [esp + 0x30]
jge 0x1010bcf1
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 + 0x18]
and ecx, dword [esp + 0x10]
or edx, ecx
jne 0x1010bce1
mov ecx, dword [esi]
test ecx, ecx
je 0x1010bc50
nop word [eax + eax]
mov eax, dword [ecx + 4]
test eax, 0x41000
je 0x1010bc50
test eax, 0x40000
je 0x1010bc49
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 4]
jmp 0x1010bc4c
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x1010bc30
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x24]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp edx, 0xffffffff
jl 0x1010bc7e
cmp byte [ecx], 0xa2
jne 0x1010bce1
mov eax, dword [esp + 0x54]
cmp dword [ecx + 0x1c], eax
jne 0x1010bce1
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x1010bce1
jmp 0x1010bca1
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
push dword [esp + 0x54]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
call fcn.100d3480
add esp, 4
test eax, eax
jne 0x1010bce1
mov edx, dword [esp + 0x24]
cmp edx, 0xffffffff
je 0x1010bd1e
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.100cbe50
test eax, eax
jne 0x1010bcc2
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x58]
mov bh, bl
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.10099450
test eax, eax
je 0x1010bd22
mov esi, dword [esp + 0x34]
add esi, 0x18
inc edi
mov dword [esp + 0x34], esi
test bh, bh
jne 0x1010bbf0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1010bd04
mov eax, dword [esp + 0x48]
movzx eax, ax
cmp ecx, eax
jge 0x1010bd09
mov byte [esp + 0x14], 0
cmp byte [esp + 0x28], 0
je 0x1010be11
mov byte [esp + 0x14], 1
jmp 0x1010be1c
mov esi, dword [esp + 0x2c]
cmp word [esp + 0x80], 0
mov ebx, dword [esp + 0x20]
je 0x1010bd38
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x1010bd96
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*2]
mov al, byte [ecx + eax*8 + 0x10]
and al, 1
cmp byte [esp + 0x1f], 0
je 0x1010bd60
mov cl, byte [esp + 0xf]
xor cl, byte [esp + 0x1e]
cmp cl, al
jne 0x1010bcf1
jmp 0x1010bd96
mov dl, al
xor dl, byte [esp + 0xf]
mov byte [esp + 0x1e], dl
je 0x1010bd91
mov eax, dword [esp + 0x44]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x98]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*2]
test byte [ecx + eax*8 + 0x10], 2
je 0x1010bdb7
movzx eax, word [ebx + 0x18]
cmp esi, eax
jne 0x1010bcf1
or dword [ebx + 0x24], 0x80000
cmp dword [esp + 0x24], 0xffffffff
mov eax, 1
mov edx, dword [esp + 0x28]
movzx edx, dl
cmove edx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x18], eax
or dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x38], 0x18
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x70]
jge 0x1010bd09
mov esi, dword [esp + 0x20]
jmp 0x1010baf6
cmp byte [esp + 0x14], 0
je 0x1010bf37
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x30]
or eax, dword [ecx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x1010bf3f
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
add ebx, 4
mov dword [esp + 0x28], 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 + 0x18]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x1010bf1b
mov ebx, dword [ebx]
test ebx, ebx
je 0x1010be99
mov ecx, dword [esp + 0x40]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.10107460
mov ecx, edx
jmp 0x1010beaa
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
or eax, ecx
mov dword [esp + 0x38], ecx
jne 0x1010bef7
mov byte [esp + 0xb4], 1
mov dword [esp + 0xa4], fcn.100ce2c0
mov dword [esp + 0xa8], 0x100ce190
mov dword [esp + 0xb8], eax
test ebx, ebx
je 0x1010bef7
mov edx, ebx
lea ecx, [esp + 0xa0]
call fcn.100c9550
cmp byte [esp + 0xb4], 0
je 0x1010bf17
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
not ecx
and ecx, dword [esp + 0x48]
not eax
and eax, dword [esp + 0x38]
or ecx, eax
jne 0x1010bf17
or dword [esp + 0x18], esi
or dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add dword [esp + 0x28], 0x18
inc eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x30]
jl 0x1010be57
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc dword [esp + 0x44]
mov esi, dword [esp + 0x18]
test dl, dl
jne 0x1010b880
jmp 0x1010bf5f
cmp byte [esi + 0x1d], 0
jne 0x1010bf71
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cmp esi, dword [esp + 0x78]
jne 0x1010bf8d
cmp edi, eax
jne 0x1010bf8d
mov al, byte [esp + 0x9c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x14], 0
jne 0x1010bfef
dec ebx
test ebx, ebx
jle 0x1010c006
nop dword [eax]
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
mov eax, ecx
adc edx, 0xffffffff
and eax, esi
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x1010bfcd
cmp esi, edx
je 0x1010bfd8
dec ebx
test ebx, ebx
jle 0x1010c006
mov esi, dword [esp + 0x18]
jmp 0x1010bfa0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
or al, 0xff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xbc]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret