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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
mov ecx, 0x101080ea
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
call fcn.100de193
xor edi, edi
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
cmp word [ebp + 0x10], di
je 0x100afdf4
mov eax, dword [ebx]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x40
jne 0x100b0644
movzx eax, word [esi]
mov dword [esp + 0x90], eax
cmp eax, 0x3f
ja 0x100b0644
movzx ebx, ax
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x74]
mov eax, ebx
movlpd qword [esp + 0x80], xmm0
bts ecx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x18], 1
mov dword [esp + 0x28], ebx
cmovae edx, ecx
mov dword [esp + 0x3c], edi
xor ecx, edx
mov dword [esp + 0x14], esi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae edx, ecx
add ecx, 0xffffffff
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x70]
adc edx, 0xffffffff
and eax, 0x800
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov eax, edi
setne al
mov dword [esp + 0x1c], ecx
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 + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
nop word [eax + eax]
mov eax, dword [esp + 0x4c]
cmp esi, eax
ja 0x100b05e5
jb 0x100afec8
cmp ecx, dword [esp + 0x7c]
jae 0x100b05e9
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x3c], eax
jg 0x100b05e1
cmp dword [esp + 0x3c], 0
jle 0x100afef7
mov ebx, dword [esp + 0x60]
or ebx, dword [edi + 8]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x64]
or ebx, dword [edi + 0xc]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
cmp edi, eax
jge 0x100aff1d
cmp word [esp + 0x8c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + edi*4]
mov dword [esp + 0x24], edi
jne 0x100b05c7
jmp 0x100aff24
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x24], edi
mov edx, dword [edi + 0x24]
test edx, 0x400
jne 0x100b05d5
mov eax, dword [ebp + 0xc]
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x100aff4a
xor eax, eax
mov word [edi + 0x1e], ax
movzx eax, byte [edi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x100b0055
mov edx, dword [esp + 0x44]
add edx, 4
mov dword [esp + 0x2c], edx
nop dword [eax]
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 + 0x1c]
mov eax, ebx
and eax, esi
or ecx, eax
jne 0x100b0030
mov ecx, dword [edx]
call fcn.100739c0
mov edx, eax
mov dword [esp + 0x50], edx
cmp byte [edx], 0xa4
jne 0x100b0030
mov eax, dword [esp + 0x58]
cmp dword [edx + 0x1c], eax
jne 0x100b0030
mov eax, dword [esp + 0x78]
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 [edx + 0x20]
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x58]
push eax
add ecx, 0x50
call fcn.100ac5a0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x100b002c
movzx eax, word [esi + 0xc]
cmp eax, 1
jne 0x100b008f
mov edx, dword [esp + 0x24]
xor ecx, ecx
movzx edx, word [edx + 0x28]
test edx, edx
je 0x100b008b
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x30]
nop word [eax + eax]
cmp esi, dword [eax]
je 0x100b0087
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100b0020
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add dword [esp + 0x2c], 0x14
inc eax
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
cmp eax, ebx
jl 0x100aff80
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0x24]
test edx, 0x1000
jne 0x100b045f
test edx, 0x100
je 0x100b00cf
mov edx, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
jmp 0x100b010c
movzx eax, word [esi + 0xc]
cmp ecx, edx
jge 0x100b002c
test al, 0x82
je 0x100b00bc
mov eax, dword [esp + 0x50]
cmp word [eax + 0x20], 0
jl 0x100b00bc
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push dword [esi]
mov ecx, dword [eax]
mov edx, dword [edx]
call fcn.10073bb0
add esp, 4
test eax, eax
je 0x100b002c
mov esi, dword [esp + 0x14]
or dword [esp + 0x1c], edi
or esi, ebx
mov dword [esp + 0x14], esi
jmp 0x100b0030
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x100b0644
test byte [ecx + 0x38], 4
jne 0x100b0644
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x100b0106
test edx, 0x8000
jne 0x100b0106
mov dl, 1
jmp 0x100b0108
xor dl, dl
mov dword [esp + 0x18], edx
xor cl, cl
movzx eax, ax
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov byte [esp + 0x23], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x70], eax
test eax, eax
je 0x100b045f
mov dword [esp + 0x40], ecx
movzx esi, word [edi + 0x18]
mov bh, 1
mov byte [esp + 0x13], bh
cmp ecx, esi
jge 0x100b01a8
movzx eax, word [edi + 0x2a]
cmp ecx, eax
jl 0x100b01a8
mov ebx, dword [edi + 0x30]
mov eax, dword [esp + 0x78]
mov edi, dword [ebx + ecx*4]
movzx ecx, word [edi + 0xc]
and eax, ecx
test ax, ax
je 0x100b017c
test ecx, 0x180
movzx eax, dl
mov ecx, 0
cmove ecx, eax
mov dl, cl
mov dword [esp + 0x18], edx
jmp 0x100b043e
test cl, 1
mov ecx, dword [esp + 0x34]
je 0x100b01a4
mov edi, dword [edi]
lea edx, [ecx + 1]
cmp edx, esi
jge 0x100b01a4
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], edi
je 0x100b01d5
inc edx
add ecx, 4
cmp edx, esi
jl 0x100b0192
mov ecx, dword [esp + 0x34]
mov bh, byte [esp + 0x13]
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x100b01dd
mov eax, dword [edi + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], edx
mov bl, byte [ecx + eax]
mov eax, dword [edi + 0xc]
and bl, 1
mov byte [esp + 0x13], bl
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x100b01e9
jmp 0x100b01e2
mov ecx, dword [esp + 0x34]
xor bh, bh
jmp 0x100b01a8
mov byte [esp + 0x13], 0
or edx, 0xffffffff
mov dword [esp + 0x2c], edx
cmp byte [esp + 0x18], 0
je 0x100b0216
test edx, edx
js 0x100b0216
cmp ecx, esi
jl 0x100b0216
mov eax, dword [edi + 0xc]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x18]
xor esi, esi
movzx edx, dl
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xc], 0
cmove edx, esi
mov dword [esp + 0x18], edx
xor edi, edi
test bh, bh
je 0x100b0389
mov esi, dword [esp + 0x44]
add esi, 4
mov dword [esp + 0x38], esi
nop dword [eax + eax]
cmp edi, dword [esp + 0x28]
jge 0x100b0389
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 0x100b0332
mov esi, dword [esi]
test esi, esi
je 0x100b0290
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x41000
je 0x100b0290
test eax, 0x40000
je 0x100b0289
mov esi, dword [esi + 0x14]
mov esi, dword [esi + 4]
jmp 0x100b028c
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100b0270
mov al, byte [ebp + 0xc]
mov edx, dword [esp + 0x2c]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp edx, 0xffffffff
jl 0x100b02c2
cmp byte [esi], 0xa4
jne 0x100b0332
mov eax, dword [esp + 0x58]
cmp dword [esi + 0x1c], eax
jne 0x100b0332
movsx eax, word [esi + 0x20]
cmp eax, edx
jne 0x100b0332
jmp 0x100b02f6
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
push dword [esp + 0x58]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + ecx + 4]
call fcn.100739c0
push eax
mov ecx, esi
call fcn.100739c0
mov edx, eax
xor ecx, ecx
call fcn.1007a5c0
add esp, 8
test eax, eax
jne 0x100b0332
mov edx, dword [esp + 0x2c]
cmp edx, 0xffffffff
je 0x100b0345
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.10073a00
test eax, eax
jne 0x100b0317
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x5c]
mov bh, bl
mov esi, dword [esp + 0x34]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.10042ed0
test eax, eax
je 0x100b0349
add dword [esp + 0x38], 0x14
inc edi
test bh, bh
je 0x100b0389
mov esi, dword [esp + 0x38]
jmp 0x100b0230
mov esi, dword [esp + 0x34]
cmp word [esp + 0x80], 0
mov ebx, dword [esp + 0x24]
je 0x100b035f
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x100b03e8
mov ecx, dword [esp + 0x44]
lea eax, [edi + edi*4]
mov al, byte [ecx + eax*4 + 0xc]
and al, 1
cmp byte [esp + 0x23], 0
je 0x100b03b6
mov cl, byte [esp + 0x13]
xor cl, byte [esp + 0x22]
cmp cl, al
je 0x100b03e8
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100b039c
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x100b03a1
mov byte [esp + 0x18], 0
cmp byte [esp + 0x30], 0
je 0x100b045f
mov byte [esp + 0x18], 1
jmp 0x100b046a
mov dl, al
xor dl, byte [esp + 0x13]
mov byte [esp + 0x22], dl
je 0x100b03e3
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 + 0x23], 1
mov ecx, dword [esp + 0x44]
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0xc], 2
je 0x100b0405
movzx eax, word [ebx + 0x18]
cmp esi, eax
jne 0x100b0389
or dword [ebx + 0x24], 0x80000
cmp dword [esp + 0x2c], 0xffffffff
mov eax, 1
mov edx, dword [esp + 0x30]
movzx edx, dl
cmove edx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], 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 + 0x1c], eax
or dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
add dword [esp + 0x40], 0x14
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x70]
jge 0x100b03a1
mov edi, dword [esp + 0x24]
jmp 0x100b0135
cmp byte [esp + 0x18], 0
je 0x100b05b3
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x28]
or eax, dword [edi + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
or eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x38], eax
test ebx, ebx
je 0x100b05bb
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
add ebx, 4
mov dword [esp + 0x30], 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, dword [esp + 0x14]
or ecx, eax
jne 0x100b0587
mov ebx, dword [ebx]
test ebx, ebx
je 0x100b04e9
mov ecx, dword [esp + 0x48]
mov edx, ebx
lea ecx, [ecx + 0x1e8]
call fcn.100abcf0
mov ecx, edx
jmp 0x100b04fa
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 + 0x40], ecx
jne 0x100b0551
mov dword [esp + 0x98], fcn.10075db0
mov eax, 1
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x10075c60
mov dword [esp + 0xac], 0
test ebx, ebx
je 0x100b0551
mov edx, ebx
lea ecx, [esp + 0x94]
call fcn.10070fd0
cmp word [esp + 0xa8], 0
je 0x100b0583
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
not ecx
and ecx, dword [esp + 0x50]
not eax
and eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
or ecx, eax
mov ecx, dword [esp + 0x1c]
jne 0x100b058b
or ecx, esi
mov esi, dword [esp + 0x14]
or esi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
jmp 0x100b058f
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
add dword [esp + 0x30], 0x14
inc eax
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
cmp eax, edx
jl 0x100b04a5
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x100b05c3
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc dword [esp + 0x3c]
test dl, dl
jne 0x100afeb0
jmp 0x100b05e1
cmp byte [edi + 0x1d], 0
je 0x100b05e1
test byte [ebp + 0xc], 0x80
je 0x100b05ef
mov eax, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x7c]
jne 0x100b05fd
cmp esi, eax
jne 0x100b05fd
mov al, byte [esp + 0x90]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x18], 0
jne 0x100b0656
dec ebx
test ebx, ebx
jle 0x100b0644
mov edi, dword [esp + 0x14]
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, dword [esp + 0x1c]
mov esi, edx
and esi, edi
cmp eax, ecx
jne 0x100b063f
cmp esi, edx
je 0x100b064d
dec ebx
test ebx, ebx
jg 0x100b0610
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