Function at 0x100ca330
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 + 0x3c], edx
xor ecx, ecx
mov dword [esp + 0x40], eax
xorps xmm0, xmm0
push esi
push edi
movlpd qword [esp + 0x38], xmm0
cmp word [ebp + 0x10], cx
je 0x100ca368
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x100cad3c
movzx eax, word [edx]
mov dword [esp + 0x34], eax
cmp eax, 0x3f
ja 0x100cad3c
movzx eax, ax
xor edx, edx
bts edx, eax
mov edi, dword [esp + 0x38]
xor ebx, ebx
movlpd qword [esp + 0x80], xmm0
cmp eax, 0x20
movlpd qword [esp + 0x50], xmm0
mov byte [esp + 0x24], 1
cmovae ebx, edx
mov dword [esp + 0x1c], edi
xor edx, ebx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x24]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x3c]
neg eax
mov dword [esp + 0x18], ebx
sbb eax, eax
neg eax
add eax, 0x182
xor esi, esi
movzx eax, ax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x64], eax
nop word [eax + eax]
mov eax, dword [esp + 0x8c]
cmp ebx, eax
ja 0x100cac2c
jb 0x100ca43e
cmp edi, dword [esp + 0x90]
jae 0x100cac33
movzx eax, word [ebp + 0x10]
cmp esi, eax
jg 0x100cacd9
test esi, esi
jle 0x100ca468
mov ebx, dword [esp + 0x64]
or ebx, dword [ecx + 8]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x68]
or ebx, dword [ecx + 0xc]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x18]
cmp esi, eax
jge 0x100ca48a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test eax, 0x800
je 0x100ca494
mov ecx, esi
jmp 0x100cac14
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test dword [esi + 0x2c], 0x400
jne 0x100cacc3
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x100ca4b5
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
mov edx, dword [esp + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x48]
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 dx, dx
je 0x100ca6bf
mov eax, dword [esp + 0x44]
add eax, 8
mov dword [esp + 0x14], eax
mov esi, eax
nop dword [eax + 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, edi
mov eax, edx
mov dword [esp + 0x4c], edx
and eax, ebx
or ecx, eax
jne 0x100ca69c
mov esi, dword [esi]
test esi, esi
je 0x100ca698
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x100ca555
test eax, 0x80000
je 0x100ca549
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x100ca54c
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100ca530
jmp 0x100ca698
mov al, byte [esi]
cmp al, 0xa7
je 0x100ca563
cmp al, 0xa9
jne 0x100ca698
mov edx, dword [esp + 0x6c]
cmp dword [esi + 0x1c], edx
jne 0x100ca698
mov eax, dword [esp + 0x88]
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 + 0x58]
push eax
lea ecx, [ecx + 0x50]
call fcn.100c4bf0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100ca694
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x100ca5d7
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x100ca5cf
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x100ca5cf
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100ca5c3
cmp ecx, edx
jge 0x100ca690
test bl, 0x82
je 0x100ca661
cmp word [esi + 0x20], 0
jl 0x100ca661
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.10068310
mov ebx, eax
test ebx, ebx
jne 0x100ca605
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x400
je 0x100ca618
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x100ca61e
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x200
jne 0x100ca641
test edi, edi
je 0x100ca634
test dword [edi + 4], 0x200
jne 0x100ca63f
mov ecx, esi
call fcn.10068310
test eax, eax
jne 0x100ca64c
mov edx, edi
mov ecx, esi
call fcn.10068310
test eax, eax
je 0x100ca690
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x100ca67b
test eax, eax
jne 0x100ca68d
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
or edi, dword [esp + 0x50]
or ebx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
jmp 0x100ca698
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [esi + 0x10162840]
sub ecx, eax
jne 0x100ca690
inc edx
jmp 0x100ca652
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add esi, 0x14
mov edx, dword [esp + 0x34]
inc ecx
movzx eax, dx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], esi
cmp ecx, eax
jl 0x100ca4f0
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
test eax, 0x1000
jne 0x100caaf3
test eax, 0x100
je 0x100ca6eb
mov dword [esp + 0x5c], 0
mov ecx, 1
mov dword [esp + 0x50], 0
jmp 0x100ca727
mov edx, dword [esi + 0x20]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x100cad3c
test byte [edx + 0x38], 4
jne 0x100cad3c
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x50], ecx
movzx ecx, word [edx + 0x34]
je 0x100ca722
mov byte [esp + 0x24], 1
test eax, 0x8000
je 0x100ca727
mov byte [esp + 0x24], 0
xor al, al
xor dl, dl
mov byte [esp + 0x23], al
mov dword [esp + 0x2c], eax
movzx eax, cx
mov byte [esp + 0x22], dl
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x100caaf3
mov dword [esp + 0x4c], edx
movzx edi, word [esi + 0x18]
mov bl, 1
mov byte [esp + 0x13], bl
cmp edx, edi
jge 0x100ca7c6
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x100ca7c6
mov ebx, dword [esi + 0x38]
mov eax, dword [esp + 0x88]
mov esi, dword [ebx + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x100ca79c
mov eax, dword [esp + 0x24]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x24], cl
jmp 0x100caad6
test cl, 1
je 0x100ca7f9
mov esi, dword [esi]
inc edx
cmp edx, edi
jge 0x100ca7be
mov ecx, dword [esp + 0x14]
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x100ca7f5
inc edx
add ecx, 4
cmp edx, edi
jl 0x100ca7b0
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x100ca7ff
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov bh, byte [edx + eax]
mov eax, dword [esi + 0xc]
and bh, 1
mov byte [esp + 0x13], bh
movsx eax, word [eax + 0x20]
cmp ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
jmp 0x100ca807
xor bl, bl
jmp 0x100ca7c2
mov bl, byte [esp + 0x13]
jmp 0x100ca7c6
or ecx, 0xffffffff
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], ecx
test al, al
je 0x100ca840
test ecx, ecx
js 0x100ca831
cmp edx, edi
jl 0x100ca840
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x100ca840
mov byte [esp + 0x24], 0
jmp 0x100ca840
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x24], eax
xor edi, edi
test bl, bl
je 0x100ca9a9
mov esi, dword [esp + 0x44]
add esi, 8
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x34]
movzx eax, cx
cmp edi, eax
jge 0x100ca9a9
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 + 0x18]
or edx, ecx
jne 0x100ca999
mov edx, dword [esi]
test edx, edx
je 0x100ca999
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x100ca8ba
test eax, 0x80000
je 0x100ca8ae
mov eax, dword [edx + 0x14]
mov edx, dword [eax + 8]
jmp 0x100ca8b1
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x100ca895
jmp 0x100ca999
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x60]
and al, 0xc0
neg al
sbb al, al
and bl, al
mov bh, bl
cmp ecx, 0xffffffff
jl 0x100ca8fb
mov al, byte [edx]
cmp al, 0xa7
je 0x100ca8de
cmp al, 0xa9
jne 0x100ca999
mov eax, dword [esp + 0x6c]
mov bl, bh
cmp dword [edx + 0x1c], eax
jne 0x100ca999
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x100ca999
jmp 0x100ca947
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx + 8]
test eax, eax
je 0x100ca920
nop
test dword [eax + 4], 0x2000
je 0x100ca920
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100ca910
test dword [edx + 4], 0x2000
je 0x100ca930
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x100ca920
push dword [esp + 0x6c]
xor ecx, ecx
push eax
call fcn.10072420
add esp, 8
test eax, eax
jne 0x100ca999
mov ecx, dword [esp + 0x60]
cmp ecx, 0xffffffff
je 0x100ca9eb
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.10068310
test eax, eax
jne 0x100ca96c
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
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 0x100ca9d6
test ecx, ecx
jne 0x100ca9e8
mov bl, bh
test ecx, ecx
je 0x100ca9eb
mov esi, dword [esp + 0x70]
add esi, 0x14
inc edi
mov dword [esp + 0x70], esi
test bl, bl
jne 0x100ca855
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100ca9bc
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x100ca9c1
mov byte [esp + 0x24], 0
cmp byte [esp + 0x2c], 0
je 0x100caaf3
mov byte [esp + 0x24], 1
jmp 0x100caafe
movzx eax, byte [eax + 0x10162840]
movzx ecx, byte [ecx + 0x10162840]
sub ecx, eax
jne 0x100ca98f
inc edx
jmp 0x100ca980
cmp word [esp + 0x80], 0
mov esi, dword [esp + 0x28]
je 0x100caa03
mov eax, dword [esp + 0x14]
inc eax
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov byte [esp + 0x33], 1
jne 0x100caa7c
mov edx, dword [esp + 0x44]
lea eax, [edi + edi*4]
mov bh, byte [esp + 0x23]
mov dl, byte [edx + eax*4 + 0x10]
and dl, 1
test bh, bh
je 0x100caa4c
mov dh, byte [esp + 0x22]
xor ecx, ecx
mov bl, byte [esp + 0x13]
movzx eax, byte [esp + 0x33]
xor bl, dh
cmp bl, dl
mov byte [esp + 0x22], dh
mov byte [esp + 0x23], bh
cmove ecx, eax
test cl, cl
je 0x100ca9a9
jmp 0x100caa7c
xor dl, byte [esp + 0x13]
mov byte [esp + 0x22], dl
je 0x100caa77
mov eax, dword [esp + 0x7c]
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]
mov edx, dword [esp + 0x14]
test byte [ecx + eax*4 + 0x10], 2
je 0x100caaa1
movzx eax, word [esi + 0x18]
cmp edx, eax
jne 0x100ca9a9
or dword [esi + 0x2c], 0x80000
cmp dword [esp + 0x60], 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 + 0x1c], eax
or dword [esp + 0x18], ecx
add dword [esp + 0x4c], 0x14
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x38]
jge 0x100ca9c1
mov esi, dword [esp + 0x28]
jmp 0x100ca750
cmp byte [esp + 0x24], 0
je 0x100cacb6
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x18]
or eax, dword [ecx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x78]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
cmp word [esp + 0x34], ax
je 0x100cac0c
mov edx, dword [esp + 0x44]
add edx, 8
mov dword [esp + 0x2c], edx
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, ebx
or ecx, eax
jne 0x100cabe7
mov eax, dword [edx]
mov dword [esp + 0x38], eax
test eax, eax
je 0x100cac4c
mov ecx, dword [esp + 0x48]
mov edx, eax
add ecx, 0x1f0
call fcn.100c4370
mov ebx, eax
mov dword [esp + 0x80], edx
or eax, edx
jne 0x100cac8b
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x94]
mov eax, 1
mov dword [esp + 0x98], fcn.1006b1f0
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x1006b0a0
mov dword [esp + 0xac], 0
call fcn.10064a40
cmp word [esp + 0xa8], 0
mov edx, dword [esp + 0x80]
jne 0x100cac8b
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
inc eax
add dword [esp + 0x2c], 0x14
movzx ecx, dx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
cmp eax, ecx
jl 0x100cab38
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x7c]
inc esi
mov dword [esp + 0x7c], esi
test dl, dl
jne 0x100ca420
mov eax, dword [esp + 0x8c]
cmp edi, dword [esp + 0x90]
jne 0x100cacd9
cmp ebx, eax
jne 0x100cacd9
mov al, byte [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [esp + 0x98], fcn.1006b1f0
movlpd qword [esp + 0x38], xmm0
mov eax, 1
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov word [esp + 0xa8], ax
mov dword [esp + 0x9c], 0x1006b0a0
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
not ecx
not eax
and ecx, ebx
mov ebx, dword [esp + 0x18]
and eax, edx
or ecx, eax
jne 0x100cabe7
or dword [esp + 0x1c], esi
or ebx, edi
mov dword [esp + 0x18], ebx
jmp 0x100cabe7
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
jmp 0x100cac0c
cmp byte [esi + 0x20], 0
je 0x100cacd9
and eax, 0x280
cmp eax, 0x80
jne 0x100cac41
test dl, dl
jne 0x100cad4e
mov ecx, dword [esp + 0x34]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x100cad3c
mov edi, dword [esp + 0x18]
nop
cmp ebx, 0x40
jge 0x100cad14
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 0x100cad25
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x1c]
and esi, edi
cmp eax, ecx
jne 0x100cad37
cmp esi, edx
je 0x100cad45
dec ebx
test ebx, ebx
jg 0x100cacf0
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