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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov eax, ecx
mov dword [esp + 0x38], edx
xor ecx, ecx
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x58], xmm0
cmp word [ebp + 0x10], cx
je 0x100c7c08
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x100c8588
movzx eax, word [edx]
mov dword [esp + 0x90], eax
cmp eax, 0x3f
ja 0x100c8588
movzx esi, ax
xor edx, edx
xor ebx, ebx
movlpd qword [esp + 0x88], xmm0
mov eax, esi
movlpd qword [esp + 0x48], xmm0
bts edx, eax
mov byte [esp + 0x24], 1
cmp eax, 0x20
mov dword [esp + 0x34], esi
cmovae ebx, edx
xor edx, ebx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x5c]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x58]
neg eax
mov dword [esp + 0x20], edx
sbb eax, eax
mov dword [esp + 0x18], ebx
neg eax
add eax, 0x182
xor edi, edi
movzx eax, ax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], edi
mov dword [esp + 0x64], eax
nop word [eax + eax]
mov eax, dword [esp + 0x7c]
cmp edx, eax
ja 0x100c8506
jb 0x100c7cdb
cmp ebx, dword [esp + 0x84]
jae 0x100c850d
movzx eax, word [ebp + 0x10]
cmp edi, eax
jg 0x100c8521
test edi, edi
jle 0x100c7d05
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
mov esi, dword [esp + 0x34]
cmp edi, eax
jge 0x100c7d27
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + edi*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
test eax, 0x800
je 0x100c7d31
mov ecx, edi
jmp 0x100c84cc
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
test dword [edi + 0x2c], 0x400
jne 0x100c84f0
and eax, 0x80
mov dword [esp + 0x88], eax
je 0x100c7d52
xor eax, eax
mov word [edi + 0x1e], ax
movzx eax, byte [edi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], ecx
test esi, esi
je 0x100c7e76
mov eax, dword [esp + 0x40]
add eax, 8
mov dword [esp + 0x10], eax
mov esi, 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 + 0x48], ecx
cmovae edx, ecx
and ecx, ebx
mov eax, edx
mov dword [esp + 0x30], edx
and eax, dword [esp + 0x20]
or ecx, eax
jne 0x100c7e58
mov esi, dword [esi]
test esi, esi
je 0x100c7e54
nop dword [eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x100c7de2
test eax, 0x80000
je 0x100c7dd9
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x100c7ddc
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100c7dc0
jmp 0x100c7e54
mov al, byte [esi]
cmp al, 0xa7
je 0x100c7dec
cmp al, 0xa9
jne 0x100c7e54
mov edx, dword [esp + 0x6c]
cmp dword [esi + 0x1c], edx
jne 0x100c7e54
mov eax, dword [esp + 0x80]
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 + 0x54]
push eax
lea ecx, [ecx + 0x50]
call fcn.100c2370
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100c7e54
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x100c7ead
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x100c7ea9
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x100c7ea9
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100c7e44
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
add esi, 0x14
inc ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x34]
jl 0x100c7d83
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x2c]
test eax, 0x1000
jne 0x100c8383
test eax, 0x100
je 0x100c7f75
mov dword [esp + 0x54], 0
mov ecx, 1
mov dword [esp + 0x48], 0
jmp 0x100c7fb1
cmp ecx, edx
jge 0x100c7e50
test bl, 0x82
je 0x100c7f3f
cmp word [esi + 0x20], 0
jl 0x100c7f3f
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.100665f0
mov ebx, eax
test ebx, ebx
jne 0x100c7edf
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x400
je 0x100c7ef2
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x100c7ef8
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x200
jne 0x100c7f1b
test edi, edi
je 0x100c7f0e
test dword [edi + 4], 0x200
jne 0x100c7f19
mov ecx, esi
call fcn.100665f0
test eax, eax
jne 0x100c7f2a
mov edx, edi
mov ecx, esi
call fcn.100665f0
test eax, eax
je 0x100c7e50
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x100c7f5c
test eax, eax
jne 0x100c7f72
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
or ebx, dword [esp + 0x48]
or edx, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edx
jmp 0x100c7e54
movzx ecx, byte [eax + 0x10161ab0]
movzx eax, byte [esi + 0x10161ab0]
sub ecx, eax
jne 0x100c7e50
inc edx
jmp 0x100c7f30
mov edx, dword [edi + 0x20]
mov dword [esp + 0x54], edx
test edx, edx
je 0x100c8588
test byte [edx + 0x38], 4
jne 0x100c8588
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x48], ecx
movzx ecx, word [edx + 0x34]
je 0x100c7fac
mov byte [esp + 0x24], 1
test eax, 0x8000
je 0x100c7fb1
mov byte [esp + 0x24], 0
xor al, al
xor dl, dl
mov byte [esp + 0x1f], al
mov dword [esp + 0x2c], eax
movzx eax, cx
mov byte [esp + 0x1e], dl
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], eax
test eax, eax
je 0x100c8383
mov dword [esp + 0x30], edx
nop word [eax + eax]
movzx ebx, word [edi + 0x18]
mov byte [esp + 0x17], 1
cmp edx, ebx
jge 0x100c805a
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x100c805a
mov edi, dword [edi + 0x38]
mov eax, dword [esp + 0x80]
mov esi, dword [edi + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x100c802b
mov eax, dword [esp + 0x24]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x24], cl
jmp 0x100c8366
test cl, 1
je 0x100c805a
mov esi, dword [esi]
inc edx
cmp edx, ebx
jge 0x100c8056
mov ecx, dword [esp + 0x10]
inc ecx
lea ecx, [edi + ecx*4]
nop
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x100c8050
inc edx
add ecx, 4
cmp edx, ebx
jl 0x100c8040
jmp 0x100c8056
xor al, al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x54]
test esi, esi
je 0x100c8086
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], ecx
mov al, byte [edx + eax]
and al, 1
mov byte [esp + 0x1d], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x100c8092
jmp 0x100c808b
mov byte [esp + 0x1d], 0
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x24]
test al, al
je 0x100c80c7
test ecx, ecx
js 0x100c80b8
cmp edx, ebx
jl 0x100c80c7
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x100c80c7
mov byte [esp + 0x24], 0
jmp 0x100c80c7
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x24], eax
mov bl, byte [esp + 0x17]
xor edi, edi
test bl, bl
je 0x100c8239
mov esi, dword [esp + 0x40]
add esi, 8
mov dword [esp + 0x38], esi
cmp edi, dword [esp + 0x34]
jge 0x100c8239
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 + 0x20]
or edx, ecx
jne 0x100c8229
mov edx, dword [esi]
test edx, edx
je 0x100c8229
nop dword [eax + eax]
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x100c8145
test eax, 0x80000
je 0x100c8139
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 8]
jmp 0x100c813c
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x100c8120
jmp 0x100c8229
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp ecx, 0xffffffff
jl 0x100c8186
mov al, byte [edx]
cmp al, 0xa7
je 0x100c8169
cmp al, 0xa9
jne 0x100c8229
mov eax, dword [esp + 0x6c]
mov bl, bh
cmp dword [edx + 0x1c], eax
jne 0x100c8229
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x100c8229
jmp 0x100c81d7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx + 8]
test eax, eax
je 0x100c81b0
nop dword [eax]
test dword [eax + 4], 0x2000
je 0x100c81b0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100c81a0
test dword [edx + 4], 0x2000
je 0x100c81c0
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x100c81b0
push dword [esp + 0x6c]
xor ecx, ecx
push eax
call fcn.10070500
add esp, 8
test eax, eax
jne 0x100c8229
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
je 0x100c827b
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.100665f0
test eax, eax
jne 0x100c81fc
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100c8266
test ecx, ecx
jne 0x100c8278
mov bl, bh
test ecx, ecx
je 0x100c827b
mov esi, dword [esp + 0x38]
add esi, 0x14
inc edi
mov dword [esp + 0x38], esi
test bl, bl
jne 0x100c80e0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100c824c
mov eax, dword [esp + 0x48]
movzx eax, ax
cmp ecx, eax
jge 0x100c8251
mov byte [esp + 0x24], 0
cmp byte [esp + 0x2c], 0
je 0x100c8383
mov byte [esp + 0x24], 1
jmp 0x100c838e
movzx eax, byte [eax + 0x10161ab0]
movzx ecx, byte [ecx + 0x10161ab0]
sub ecx, eax
jne 0x100c821f
inc edx
jmp 0x100c8210
cmp word [esp + 0x88], 0
mov esi, dword [esp + 0x28]
je 0x100c8293
mov eax, dword [esp + 0x10]
inc eax
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov byte [esp + 0x17], 1
jne 0x100c830c
mov edx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov bh, byte [esp + 0x1f]
mov dl, byte [edx + eax*4 + 0x10]
and dl, 1
test bh, bh
je 0x100c82dc
mov dh, byte [esp + 0x1e]
xor ecx, ecx
mov bl, byte [esp + 0x1d]
movzx eax, byte [esp + 0x17]
xor bl, dh
cmp bl, dl
mov byte [esp + 0x1e], dh
mov byte [esp + 0x1f], bh
cmove ecx, eax
test cl, cl
je 0x100c8239
jmp 0x100c830c
xor dl, byte [esp + 0x1d]
mov byte [esp + 0x1e], dl
je 0x100c8307
mov eax, dword [esp + 0x78]
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 + 0x40]
lea eax, [edi + edi*4]
mov edx, dword [esp + 0x10]
test byte [ecx + eax*4 + 0x10], 2
je 0x100c8331
movzx eax, word [esi + 0x18]
cmp edx, eax
jne 0x100c8239
or dword [esi + 0x2c], 0x80000
cmp dword [esp + 0x3c], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x2c]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x2c], 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 + 0x18], eax
or dword [esp + 0x20], ecx
add dword [esp + 0x30], 0x14
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x58]
jge 0x100c8251
mov edi, dword [esp + 0x28]
jmp 0x100c7fe0
cmp byte [esp + 0x24], 0
je 0x100c84e2
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
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 + 0x38], eax
test esi, esi
je 0x100c84c8
mov ebx, dword [esp + 0x40]
add ebx, 8
mov dword [esp + 0x2c], ebx
nop dword [eax]
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 0x100c84a6
mov ebx, dword [ebx]
test ebx, ebx
je 0x100c8412
mov ecx, dword [esp + 0x44]
mov edx, ebx
lea ecx, [ecx + 0x1f0]
call fcn.100c1af0
mov ecx, edx
jmp 0x100c8423
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], eax
or eax, ecx
mov dword [esp + 0x30], ecx
jne 0x100c847a
mov dword [esp + 0xa0], fcn.100693f0
mov eax, 1
mov word [esp + 0xb0], ax
mov dword [esp + 0xa4], 0x100692a0
mov dword [esp + 0xb4], 0
test ebx, ebx
je 0x100c847a
mov edx, ebx
lea ecx, [esp + 0x9c]
call fcn.10062e00
cmp word [esp + 0xb0], 0
je 0x100c84a2
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
not ecx
and ecx, dword [esp + 0x48]
not eax
and eax, dword [esp + 0x30]
or ecx, eax
mov edx, dword [esp + 0x20]
jne 0x100c84a6
or dword [esp + 0x18], esi
or edx, edi
mov dword [esp + 0x20], edx
jmp 0x100c84a6
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
add dword [esp + 0x2c], 0x14
inc eax
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
cmp eax, esi
jl 0x100c83d0
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x78]
inc edi
cmp byte [esp + 0x24], 0
mov dword [esp + 0x78], edi
jne 0x100c7cc0
jmp 0x100c8502
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
jmp 0x100c84c8
cmp byte [edi + 0x20], 0
je 0x100c8521
and eax, 0x280
cmp eax, 0x80
jne 0x100c8513
mov eax, dword [esp + 0x7c]
cmp ebx, dword [esp + 0x84]
jne 0x100c8521
cmp edx, eax
jne 0x100c8521
mov al, byte [esp + 0x90]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x24], 0
jne 0x100c859a
lea ebx, [esi - 1]
test ebx, ebx
jle 0x100c8588
mov edi, dword [esp + 0x20]
cmp ebx, 0x40
jge 0x100c8557
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 0x100c8571
xorps xmm0, xmm0
movlpd qword [esp + 0x90], xmm0
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x18]
and esi, edi
cmp eax, ecx
jne 0x100c8583
cmp esi, edx
je 0x100c8591
dec ebx
test ebx, ebx
jg 0x100c8533
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