Function at 0x100afc00
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 + 0x38], edx
mov eax, ecx
xorps xmm0, xmm0
push edi
mov dword [esp + 0x40], eax
movlpd qword [esp + 0x48], xmm0
cmp word [ebp + 0x10], si
je 0x100afc38
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x100b055c
movzx eax, word [edx]
mov dword [esp + 0x30], eax
cmp eax, 0x3f
ja 0x100b055c
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 + 0x10], edi
cmp eax, 0x40
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0xc]
cmovae edx, ecx
add ecx, 0xffffffff
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x1c]
adc edx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x78], edx
neg eax
sbb eax, eax
neg eax
add eax, 0x182
xor edx, edx
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 + 0x44], edx
mov dword [esp + 0x60], eax
nop dword [eax]
mov eax, dword [esp + 0x78]
cmp edi, eax
ja 0x100b04d7
jb 0x100afcf8
cmp ebx, dword [esp + 0x7c]
jae 0x100b04db
movzx eax, word [ebp + 0x10]
cmp edx, eax
jg 0x100b04fe
test edx, edx
jle 0x100afd22
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]
cmp edx, eax
jge 0x100afd43
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + edx*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test eax, 0x800
jne 0x100b04c6
jmp 0x100afd4d
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x2c]
test edx, 0x400
jne 0x100b04ec
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x100afd70
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 + 0x40]
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 0x100afeb3
mov eax, dword [esp + 0x3c]
add eax, 8
mov dword [esp + 0xc], eax
mov esi, eax
nop dword [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 0x100afe8d
mov esi, dword [esi]
test esi, esi
je 0x100afe89
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x100afe12
test eax, 0x80000
je 0x100afe09
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x100afe0c
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100afdf0
jmp 0x100afe89
mov al, byte [esi]
cmp al, 0xa7
je 0x100afe1c
cmp al, 0xa9
jne 0x100afe89
mov edx, dword [esp + 0x68]
cmp dword [esi + 0x1c], edx
jne 0x100afe89
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 + 0x50]
push eax
lea ecx, [ecx + 0x50]
call fcn.100aad50
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100afe85
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x100afee9
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x100afee5
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x100afee5
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100afe75
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 0x100afdb0
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x2c]
test edx, 0x1000
jne 0x100b037e
test edx, 0x100
je 0x100affb5
mov dword [esp + 0x5c], 0
mov eax, 1
mov dword [esp + 0x50], 0
jmp 0x100afff2
cmp ecx, edx
jge 0x100afe81
test bl, 0x82
je 0x100aff7f
cmp word [esi + 0x20], 0
jl 0x100aff7f
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.100562f0
mov ebx, eax
test ebx, ebx
jne 0x100aff1b
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x400
je 0x100aff2e
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x100aff34
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x200
jne 0x100aff57
test edi, edi
je 0x100aff4a
test dword [edi + 4], 0x200
jne 0x100aff55
mov ecx, esi
call fcn.100562f0
test eax, eax
jne 0x100aff66
mov edx, edi
mov ecx, esi
call fcn.100562f0
test eax, eax
je 0x100afe81
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x100aff9c
test eax, eax
jne 0x100affb2
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 0x100afe89
movzx ecx, byte [eax + 0x1012c958]
movzx eax, byte [esi + 0x1012c958]
sub ecx, eax
jne 0x100afe81
inc edx
jmp 0x100aff70
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x100b055c
test byte [ecx + 0x38], 4
jne 0x100b055c
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x100affed
mov byte [esp + 0x1c], 1
test edx, 0x8000
je 0x100afff2
mov byte [esp + 0x1c], 0
xor cl, cl
movzx eax, ax
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x48], eax
test eax, eax
je 0x100b037e
xor edx, edx
mov dword [esp + 0x2c], edx
nop dword [eax]
movzx ebx, word [esi + 0x18]
mov byte [esp + 0x21], 1
cmp ecx, ebx
jge 0x100b009a
movzx eax, word [esi + 0x32]
cmp ecx, eax
jl 0x100b009a
mov edi, dword [esi + 0x38]
mov eax, dword [esp + 0x74]
mov esi, dword [edi + ecx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x100b0068
mov eax, dword [esp + 0x1c]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x100b035b
test cl, 1
mov ecx, dword [esp + 0xc]
je 0x100b009a
mov esi, dword [esi]
lea edx, [ecx + 1]
cmp edx, ebx
jge 0x100b009a
inc ecx
lea ecx, [edi + ecx*4]
nop
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x100b0090
inc edx
add ecx, 4
cmp edx, ebx
jl 0x100b0080
jmp 0x100b0096
xor al, al
mov byte [esp + 0x21], al
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x100b00c6
mov eax, dword [esi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], edx
mov al, byte [ecx + eax]
and al, 1
mov byte [esp + 0x1b], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x100b00d2
jmp 0x100b00cb
mov byte [esp + 0x1b], 0
or edx, 0xffffffff
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x1c]
test al, al
je 0x100b0109
test edx, edx
js 0x100b00fa
cmp ecx, ebx
jl 0x100b0109
mov eax, dword [esi + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x100b0109
mov byte [esp + 0x1c], 0
jmp 0x100b0109
xor ecx, ecx
movzx eax, al
cmp edx, 0xfffffffe
cmove eax, ecx
mov dword [esp + 0x1c], eax
mov bl, byte [esp + 0x21]
xor edi, edi
test bl, bl
je 0x100b0249
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x30]
movzx eax, cx
cmp edi, eax
jge 0x100b0249
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 0x100b0239
mov ecx, dword [esi]
test ecx, ecx
je 0x100b0239
mov eax, dword [ecx + 4]
test eax, 0x82000
je 0x100b0187
test eax, 0x80000
je 0x100b017b
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
jmp 0x100b017e
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x100b0162
jmp 0x100b0239
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x38]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp edx, 0xffffffff
jl 0x100b01c4
mov al, byte [ecx]
cmp al, 0xa7
je 0x100b01ab
cmp al, 0xa9
jne 0x100b0239
mov eax, dword [esp + 0x68]
mov bl, bh
cmp dword [ecx + 0x1c], eax
jne 0x100b0239
movsx eax, word [ecx + 0x20]
cmp eax, edx
jne 0x100b0239
jmp 0x100b01e7
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
push dword [esp + 0x68]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 8]
call fcn.1005fe30
add esp, 4
test eax, eax
jne 0x100b0239
mov edx, dword [esp + 0x38]
cmp edx, 0xffffffff
je 0x100b028b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.100562f0
test eax, eax
jne 0x100b020c
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 [edx + esi]
cmp ecx, eax
jne 0x100b0276
test ecx, ecx
jne 0x100b0288
mov bl, bh
test ecx, ecx
je 0x100b028b
mov esi, dword [esp + 0x34]
add esi, 0x14
inc edi
mov dword [esp + 0x34], esi
test bl, bl
jne 0x100b0122
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x100b025c
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x100b0261
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x24], 0
je 0x100b037e
mov byte [esp + 0x1c], 1
jmp 0x100b0389
movzx ecx, byte [ecx + 0x1012c958]
movzx eax, byte [eax + 0x1012c958]
sub ecx, eax
jne 0x100b022f
inc edx
jmp 0x100b0220
cmp word [esp + 0x80], 0
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
je 0x100b02a5
lea eax, [ebx + 1]
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x100b0301
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
mov al, byte [ecx + eax*4 + 0x10]
and al, 1
cmp byte [esp + 0x23], 0
je 0x100b02d1
mov cl, byte [esp + 0x1b]
xor cl, byte [esp + 0x22]
cmp cl, al
jne 0x100b0249
jmp 0x100b0301
xor al, byte [esp + 0x1b]
mov byte [esp + 0x22], al
je 0x100b02fc
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 + 0x23], 1
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 2
je 0x100b0322
movzx eax, word [esi + 0x18]
cmp ebx, eax
jne 0x100b0249
or dword [esi + 0x2c], 0x80000
cmp dword [esp + 0x38], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
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
mov ecx, dword [esp + 0xc]
add edx, 0x14
inc ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], ecx
cmp ecx, dword [esp + 0x48]
jge 0x100b0261
mov esi, dword [esp + 0x28]
jmp 0x100b0020
cmp byte [esp + 0x1c], 0
je 0x100b04b2
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 + 0x34], eax
cmp word [esp + 0x30], ax
je 0x100b04b6
mov ebx, dword [esp + 0x3c]
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 0x100b0491
mov ebx, dword [ebx]
test ebx, ebx
je 0x100b0405
mov ecx, dword [esp + 0x40]
mov edx, ebx
lea ecx, [ecx + 0x1f0]
call fcn.100aa4a0
mov ecx, edx
jmp 0x100b0416
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 0x100b046d
mov dword [esp + 0x90], fcn.10058cc0
mov eax, 1
mov word [esp + 0xa0], ax
mov dword [esp + 0x94], 0x10058b70
mov dword [esp + 0xa4], 0
test ebx, ebx
je 0x100b046d
mov edx, ebx
lea ecx, [esp + 0x8c]
call fcn.10052ca0
cmp word [esp + 0xa0], 0
je 0x100b048d
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 0x100b048d
or dword [esp + 0x14], esi
or dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
inc eax
add dword [esp + 0x24], 0x14
movzx ecx, bx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x100b03c3
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
test cl, cl
jne 0x100afce0
mov eax, dword [esp + 0x78]
cmp ebx, dword [esp + 0x7c]
jne 0x100b04fe
cmp edi, eax
jne 0x100b04fe
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x20], 0
je 0x100b04fe
and eax, 0x280
cmp eax, 0x80
jne 0x100b04e1
test cl, cl
jne 0x100b056e
mov ecx, dword [esp + 0x30]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x100b055c
cmp ebx, 0x40
jge 0x100b0534
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 0x100b0545
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 0x100b0557
cmp esi, edx
je 0x100b0565
dec ebx
test ebx, ebx
jg 0x100b0510
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