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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov eax, ecx
mov dword [esp + 0x34], edx
xor ecx, ecx
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x78], xmm0
cmp word [ebp + 0x10], cx
je 0x101aa4c8
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x101aad75
movzx eax, word [edx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x101aad75
movzx esi, ax
xor edx, edx
xor ebx, ebx
mov edi, dword [esp + 0x7c]
mov eax, esi
movlpd qword [esp + 0x58], xmm0
bts edx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x18], 1
mov dword [esp + 0x24], esi
cmovae ebx, edx
mov dword [esp + 0x10], edi
xor edx, ebx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x84], edx
adc ebx, 0xffffffff
and eax, 0x803
neg eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x78]
sbb eax, eax
mov dword [esp + 0x14], ebx
neg eax
add eax, 0x182
xor edx, edx
movzx eax, ax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], eax
nop
mov eax, dword [esp + 0x48]
cmp edi, eax
ja 0x101aacf0
jb 0x101aa58b
cmp ebx, dword [esp + 0x84]
jae 0x101aacf7
movzx eax, word [ebp + 0x10]
cmp edx, eax
jg 0x101aacec
test edx, edx
jle 0x101aa5b1
mov esi, dword [esp + 0x64]
or esi, dword [ecx + 8]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x68]
or esi, dword [ecx + 0xc]
mov dword [esp + 0x68], esi
cmp edx, eax
jge 0x101aa5d7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + edx*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
test eax, 0x800
je 0x101aa5e1
mov ecx, esi
mov esi, dword [esp + 0x24]
jmp 0x101aacc4
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
mov edx, dword [esi + 0x2c]
test edx, 0x400
jne 0x101aacd6
and eax, 0x80
mov dword [esp + 0x58], eax
je 0x101aa601
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 edi, dword [eax + ecx*8 + 0x34]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], eax
jbe 0x101aa775
mov ebx, dword [esp + 0x3c]
add ebx, 8
mov dword [esp + 0x28], ebx
xor ecx, ecx
xor edx, edx
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, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x4c], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x101aa752
mov ecx, dword [ebx]
call fcn.101f92c0
mov esi, eax
test esi, esi
je 0x101aa752
mov al, byte [esi]
cmp al, 0xa7
je 0x101aa680
cmp al, 0xa9
jne 0x101aa752
cmp dword [esi + 0x1c], edi
jne 0x101aa752
mov eax, dword [esp + 0x80]
mov edx, edi
mov ecx, dword [esp + 0x64]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x70]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x50]
push eax
add ecx, 0x58
call fcn.101afeb0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x101aa74e
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x101aa6f2
mov eax, dword [esp + 0x20]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x101aa6ee
mov eax, dword [eax + 0x38]
nop
cmp edi, dword [eax]
je 0x101aa6ee
inc ecx
add eax, 4
cmp ecx, edx
jl 0x101aa6e0
jmp 0x101aa74e
cmp ecx, edx
jge 0x101aa74e
test bl, 0x82
je 0x101aa736
cmp word [esi + 0x20], 0
jl 0x101aa736
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.101f9140
mov ebx, eax
test ebx, ebx
jne 0x101aa71c
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.101f8ed0
test eax, eax
je 0x101aa74e
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.10233820
test eax, eax
jne 0x101aa74e
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], 0x14
inc eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
jl 0x101aa632
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x2c]
test edx, 0x1000
jne 0x101aab3e
test edx, 0x100
je 0x101aa7a4
mov edx, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
jmp 0x101aa7e1
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x101aad75
test byte [ecx + 0x38], 4
jne 0x101aad75
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x101aa7db
test edx, 0x8000
jne 0x101aa7db
mov dl, 1
jmp 0x101aa7dd
xor dl, dl
mov dword [esp + 0x18], edx
xor cl, cl
movzx eax, ax
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], eax
test eax, eax
je 0x101aab3e
mov dword [esp + 0x4c], ecx
nop word [eax + eax]
movzx edi, word [esi + 0x18]
mov bh, 1
mov byte [esp + 0xf], bh
cmp ecx, edi
jge 0x101aa886
movzx eax, word [esi + 0x32]
cmp ecx, eax
jl 0x101aa886
mov ebx, dword [esi + 0x38]
mov eax, dword [esp + 0x80]
mov esi, dword [ebx + ecx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x101aa85a
test ecx, 0x180
movzx eax, dl
mov ecx, 0
cmove ecx, eax
mov dl, cl
mov dword [esp + 0x18], edx
jmp 0x101aab1d
test cl, 1
mov ecx, dword [esp + 0x30]
je 0x101aa882
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, edi
jge 0x101aa882
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x101aa8b3
inc edx
add ecx, 4
cmp edx, edi
jl 0x101aa870
mov ecx, dword [esp + 0x30]
mov bh, byte [esp + 0xf]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x101aa8bb
mov eax, dword [esi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov bl, byte [ecx + eax]
mov eax, dword [esi + 0xc]
and bl, 1
mov byte [esp + 0xf], bl
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x101aa8c7
jmp 0x101aa8c0
mov ecx, dword [esp + 0x30]
xor bh, bh
jmp 0x101aa886
mov byte [esp + 0xf], 0
or edx, 0xffffffff
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x18]
test al, al
je 0x101aa8fe
test edx, edx
js 0x101aa8ef
cmp ecx, edi
jl 0x101aa8ef
mov eax, dword [esi + 0xc]
mov ecx, edx
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, byte [esp + 0x18]
xor ecx, ecx
movzx eax, al
cmp edx, 0xfffffffe
cmove eax, ecx
mov dword [esp + 0x18], eax
xor edi, edi
test bh, bh
je 0x101aaa25
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x6c], esi
cmp edi, dword [esp + 0x24]
jge 0x101aaa25
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 0x101aaa15
mov ecx, dword [esi]
test ecx, ecx
je 0x101aaa15
nop
mov eax, dword [ecx + 4]
test eax, 0x82000
je 0x101aa975
test eax, 0x80000
je 0x101aa969
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
jmp 0x101aa96c
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x101aa950
jmp 0x101aaa15
test ecx, ecx
je 0x101aaa15
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x28]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp edx, 0xffffffff
jl 0x101aa9b2
mov al, byte [ecx]
cmp al, 0xa7
je 0x101aa99d
cmp al, 0xa9
jne 0x101aaa15
mov eax, dword [esp + 0x38]
mov bh, bl
cmp dword [ecx + 0x1c], eax
jne 0x101aaa15
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x101aaa15
jmp 0x101aa9d5
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x38]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 8]
call fcn.101f0a30
add esp, 4
test eax, eax
jne 0x101aaa15
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
je 0x101aaa52
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.101f9140
test eax, eax
jne 0x101aa9f6
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov bh, bl
mov esi, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.10233820
test eax, eax
je 0x101aaa56
mov esi, dword [esp + 0x6c]
add esi, 0x14
inc edi
mov dword [esp + 0x6c], esi
test bh, bh
jne 0x101aa913
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x101aaa38
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x101aaa3d
mov byte [esp + 0x18], 0
cmp byte [esp + 0x2c], 0
je 0x101aab3e
mov byte [esp + 0x18], 1
jmp 0x101aab49
mov esi, dword [esp + 0x30]
cmp word [esp + 0x58], 0
mov ebx, dword [esp + 0x20]
je 0x101aaa69
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x101aaac3
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
mov al, byte [ecx + eax*4 + 0x10]
and al, 1
cmp byte [esp + 0x1f], 0
je 0x101aaa91
mov cl, byte [esp + 0xf]
xor cl, byte [esp + 0x1e]
cmp cl, al
jne 0x101aaa25
jmp 0x101aaac3
mov dl, al
xor dl, byte [esp + 0xf]
mov byte [esp + 0x1e], dl
je 0x101aaabe
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 [ebp + 0x18]
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*4]
test byte [ecx + eax*4 + 0x10], 2
je 0x101aaae4
movzx eax, word [ebx + 0x18]
cmp esi, eax
jne 0x101aaa25
or dword [ebx + 0x2c], 0x80000
cmp dword [esp + 0x28], 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 + 0x18]
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
mov ecx, dword [esp + 0x30]
add dword [esp + 0x4c], 0x14
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x78]
jge 0x101aaa3d
mov esi, dword [esp + 0x20]
jmp 0x101aa810
cmp byte [esp + 0x18], 0
je 0x101aacb0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
or eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x74]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x50], eax
test esi, esi
je 0x101aacbc
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x2c], esi
xor edi, edi
xor edx, edx
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov ecx, edi
cmovae edx, edi
and ecx, ebx
mov eax, edx
mov dword [esp + 0x78], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x101aac86
mov ecx, dword [esp + 0x40]
mov esi, dword [esi]
add ecx, 0x1f8
test esi, esi
je 0x101aabee
cmp byte [esi], 0xa7
jne 0x101aabd8
test byte [esi + 4], 0x20
jne 0x101aabd8
mov edx, dword [esi + 0x1c]
call fcn.101b0470
mov ebx, eax
mov ecx, edx
jmp 0x101aabff
test dword [esi + 4], 0x810000
jne 0x101aabee
mov edx, esi
call fcn.101b0a50
mov ebx, eax
mov ecx, edx
jmp 0x101aabff
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, ebx
mov dword [esp + 0x34], ecx
or eax, ecx
jne 0x101aac54
mov dword [esp + 0x98], fcn.101f6450
mov eax, 1
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x101f66f0
mov dword [esp + 0xac], 0
test esi, esi
je 0x101aac54
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.101fc670
cmp word [esp + 0xa8], 0
je 0x101aac82
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
not ecx
not eax
and ecx, ebx
and eax, dword [esp + 0x34]
or ecx, eax
mov ebx, dword [esp + 0x14]
jne 0x101aac86
or ebx, edi
mov edi, dword [esp + 0x10]
or edi, dword [esp + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
jmp 0x101aac8a
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
add dword [esp + 0x2c], 0x14
inc eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x24]
jl 0x101aab84
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x101aacc0
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
inc edx
cmp byte [esp + 0x18], 0
mov dword [esp + 0x44], edx
jne 0x101aa570
jmp 0x101aacec
cmp byte [esi + 0x20], 0
je 0x101aace8
and eax, 0x280
cmp eax, 0x80
jne 0x101aacfd
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
cmp ebx, dword [esp + 0x84]
jne 0x101aad0b
cmp edi, eax
jne 0x101aad0b
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x18], 0
jne 0x101aad87
lea ebx, [esi - 1]
test ebx, ebx
jle 0x101aad75
nop dword [eax]
cmp ebx, 0x40
jge 0x101aad44
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 0x101aad5e
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 + 0x14]
and esi, edi
cmp eax, ecx
jne 0x101aad70
cmp esi, edx
je 0x101aad7e
dec ebx
test ebx, ebx
jg 0x101aad20
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