Function at 0x100bcde0
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 0x100bce18
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x100bd75c
movzx eax, word [edx]
mov dword [esp + 0x30], eax
cmp eax, 0x3f
ja 0x100bd75c
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 0x100bd6d7
jb 0x100bced8
cmp ebx, dword [esp + 0x7c]
jae 0x100bd6db
movzx eax, word [ebp + 0x10]
cmp edx, eax
jg 0x100bd6fe
test edx, edx
jle 0x100bcf02
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 0x100bcf23
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 0x100bd6c6
jmp 0x100bcf2d
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x2c]
test edx, 0x400
jne 0x100bd6ec
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x100bcf50
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 0x100bd093
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 0x100bd06d
mov esi, dword [esi]
test esi, esi
je 0x100bd069
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x100bcff2
test eax, 0x80000
je 0x100bcfe9
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x100bcfec
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100bcfd0
jmp 0x100bd069
mov al, byte [esi]
cmp al, 0xa7
je 0x100bcffc
cmp al, 0xa9
jne 0x100bd069
mov edx, dword [esp + 0x68]
cmp dword [esi + 0x1c], edx
jne 0x100bd069
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.100b7b80
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100bd065
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x100bd0c9
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x100bd0c5
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x100bd0c5
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100bd055
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 0x100bcf90
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x2c]
test edx, 0x1000
jne 0x100bd57e
test edx, 0x100
je 0x100bd195
mov dword [esp + 0x5c], 0
mov eax, 1
mov dword [esp + 0x50], 0
jmp 0x100bd1d2
cmp ecx, edx
jge 0x100bd061
test bl, 0x82
je 0x100bd15f
cmp word [esi + 0x20], 0
jl 0x100bd15f
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.10061df0
mov ebx, eax
test ebx, ebx
jne 0x100bd0fb
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x400
je 0x100bd10e
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x100bd114
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x200
jne 0x100bd137
test edi, edi
je 0x100bd12a
test dword [edi + 4], 0x200
jne 0x100bd135
mov ecx, esi
call fcn.10061df0
test eax, eax
jne 0x100bd146
mov edx, edi
mov ecx, esi
call fcn.10061df0
test eax, eax
je 0x100bd061
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 0x100bd17c
test ecx, ecx
jne 0x100bd192
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 0x100bd069
movzx eax, byte [eax + 0x1013f9f0]
movzx ecx, byte [ecx + 0x1013f9f0]
sub ecx, eax
jne 0x100bd061
inc edx
jmp 0x100bd150
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x100bd75c
test byte [ecx + 0x38], 4
jne 0x100bd75c
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x100bd1cd
mov byte [esp + 0x1c], 1
test edx, 0x8000
je 0x100bd1d2
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 0x100bd57e
mov dword [esp + 0x2c], edx
nop dword [eax + eax]
movzx ebx, word [esi + 0x18]
mov byte [esp + 0x21], 1
cmp edx, ebx
jge 0x100bd27a
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x100bd27a
mov edi, dword [esi + 0x38]
mov eax, dword [esp + 0x74]
mov esi, dword [edi + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x100bd248
mov eax, dword [esp + 0x1c]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x100bd561
test cl, 1
je 0x100bd27a
mov esi, dword [esi]
inc edx
cmp edx, ebx
jge 0x100bd276
mov ecx, dword [esp + 0xc]
inc ecx
lea ecx, [edi + ecx*4]
nop dword [eax]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x100bd270
inc edx
add ecx, 4
cmp edx, ebx
jl 0x100bd260
jmp 0x100bd276
xor al, al
mov byte [esp + 0x21], al
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x100bd2a6
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], 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 0x100bd2b2
jmp 0x100bd2ab
mov byte [esp + 0x1b], 0
or ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x1c]
test al, al
je 0x100bd2e7
test ecx, ecx
js 0x100bd2d8
cmp edx, ebx
jl 0x100bd2e7
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x100bd2e7
mov byte [esp + 0x1c], 0
jmp 0x100bd2e7
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 0x100bd459
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 0x100bd459
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 0x100bd449
mov edx, dword [esi]
test edx, edx
je 0x100bd449
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x100bd365
test eax, 0x80000
je 0x100bd359
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 8]
jmp 0x100bd35c
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x100bd340
jmp 0x100bd449
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x38]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp ecx, 0xffffffff
jl 0x100bd3a6
mov al, byte [edx]
cmp al, 0xa7
je 0x100bd389
cmp al, 0xa9
jne 0x100bd449
mov eax, dword [esp + 0x68]
mov bl, bh
cmp dword [edx + 0x1c], eax
jne 0x100bd449
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x100bd449
jmp 0x100bd3f7
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx + 8]
test eax, eax
je 0x100bd3d0
nop dword [eax]
test dword [eax + 4], 0x2000
je 0x100bd3d0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100bd3c0
test dword [edx + 4], 0x2000
je 0x100bd3e0
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x100bd3d0
push dword [esp + 0x68]
xor ecx, ecx
push eax
call fcn.1006b7d0
add esp, 8
test eax, eax
jne 0x100bd449
mov ecx, dword [esp + 0x38]
cmp ecx, 0xffffffff
je 0x100bd49b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.10061df0
test eax, eax
jne 0x100bd41c
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 0x100bd486
test ecx, ecx
jne 0x100bd498
mov bl, bh
test ecx, ecx
je 0x100bd49b
mov esi, dword [esp + 0x34]
add esi, 0x14
inc edi
mov dword [esp + 0x34], esi
test bl, bl
jne 0x100bd300
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x100bd46c
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x100bd471
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x24], 0
je 0x100bd57e
mov byte [esp + 0x1c], 1
jmp 0x100bd589
movzx ecx, byte [ecx + 0x1013f9f0]
movzx eax, byte [eax + 0x1013f9f0]
sub ecx, eax
jne 0x100bd43f
inc edx
jmp 0x100bd430
cmp word [esp + 0x80], 0
mov ebx, dword [esp + 0x28]
je 0x100bd4b3
mov eax, dword [esp + 0xc]
inc eax
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov esi, dword [esp + 0x3c]
jne 0x100bd50b
lea eax, [edi + edi*4]
mov al, byte [esi + eax*4 + 0x10]
and al, 1
cmp byte [esp + 0x23], 0
je 0x100bd4db
mov cl, byte [esp + 0x1b]
xor cl, byte [esp + 0x22]
cmp cl, al
jne 0x100bd459
jmp 0x100bd50b
xor al, byte [esp + 0x1b]
mov byte [esp + 0x22], al
je 0x100bd506
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 edx, dword [esp + 0xc]
lea eax, [edi + edi*4]
test byte [esi + eax*4 + 0x10], 2
je 0x100bd52c
movzx eax, word [ebx + 0x18]
cmp edx, eax
jne 0x100bd459
or dword [ebx + 0x2c], 0x80000
cmp dword [esp + 0x38], 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 0x100bd471
mov esi, dword [esp + 0x28]
jmp 0x100bd200
cmp byte [esp + 0x1c], 0
je 0x100bd6b2
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 0x100bd6b6
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 0x100bd691
mov ebx, dword [ebx]
test ebx, ebx
je 0x100bd605
mov ecx, dword [esp + 0x40]
mov edx, ebx
lea ecx, [ecx + 0x1f0]
call fcn.100b72a0
mov ecx, edx
jmp 0x100bd616
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 0x100bd66d
mov dword [esp + 0x90], fcn.100648e0
mov eax, 1
mov word [esp + 0xa0], ax
mov dword [esp + 0x94], 0x10064760
mov dword [esp + 0xa4], 0
test ebx, ebx
je 0x100bd66d
mov edx, ebx
lea ecx, [esp + 0x8c]
call fcn.1005e690
cmp word [esp + 0xa0], 0
je 0x100bd68d
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 0x100bd68d
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 0x100bd5c3
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 0x100bcec0
mov eax, dword [esp + 0x78]
cmp ebx, dword [esp + 0x7c]
jne 0x100bd6fe
cmp edi, eax
jne 0x100bd6fe
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x20], 0
je 0x100bd6fe
and eax, 0x280
cmp eax, 0x80
jne 0x100bd6e1
test cl, cl
jne 0x100bd76e
mov ecx, dword [esp + 0x30]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x100bd75c
cmp ebx, 0x40
jge 0x100bd734
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 0x100bd745
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 0x100bd757
cmp esi, edx
je 0x100bd765
dec ebx
test ebx, ebx
jg 0x100bd710
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