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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x831184]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x94], ecx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x40], eax
movlpd qword [esp + 0x78], xmm0
cmp word [ebp + 0x10], cx
je 0x6f8554
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x6f8e58
movzx eax, word [edx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x6f8e58
movzx esi, ax
xor edx, edx
xor ebx, ebx
mov edi, dword [esp + 0x7c]
mov eax, esi
movlpd qword [esp + 0x58], xmm0
bts edx, eax
movlpd qword [esp + 0x50], xmm0
cmp eax, 0x20
mov byte [esp + 0x14], 1
mov dword [esp + 0x2c], esi
cmovae ebx, edx
mov dword [esp + 0x44], ecx
xor edx, ebx
mov dword [esp + 0x10], edi
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x14]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x78]
neg eax
mov dword [esp + 0x18], ebx
sbb eax, eax
neg eax
add eax, 0x182
movzx eax, ax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
nop dword [eax]
mov eax, dword [esp + 0x48]
cmp edi, eax
ja 0x6f8dc8
jb 0x6f861b
cmp ebx, dword [esp + 0x80]
jae 0x6f8dcf
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x44], eax
jg 0x6f8dc4
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x6f864b
mov edi, dword [esp + 0x74]
or edi, dword [ecx + 8]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x64]
or edi, dword [ecx + 0xc]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x10]
cmp esi, eax
jge 0x6f8675
mov eax, dword [esp + 0x94]
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 0x6f8683
mov ecx, esi
mov esi, dword [esp + 0x2c]
jmp 0x6f8da0
mov esi, dword [esp + 0x98]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x2c]
test edx, 0x400
jne 0x6f8dae
and eax, 0x80
mov dword [esp + 0x58], eax
je 0x6f86a3
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov edi, dword [eax + ecx*8 + 0x34]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], eax
cmp dword [esp + 0x2c], eax
jbe 0x6f8815
mov ebx, dword [esp + 0x3c]
add ebx, 8
mov dword [esp + 0x20], ebx
xor ecx, ecx
xor edx, edx
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, dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x4c], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x6f87f2
mov ecx, dword [ebx]
call fcn.006ad4b0
mov esi, eax
test esi, esi
je 0x6f87f2
mov al, byte [esi]
cmp al, 0xa7
je 0x6f8722
cmp al, 0xa9
jne 0x6f87f2
cmp dword [esi + 0x1c], edi
jne 0x6f87f2
mov eax, dword [esp + 0x84]
mov edx, edi
mov ecx, dword [esp + 0x74]
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
add ecx, 0x50
call fcn.006f3750
mov edi, eax
add esp, 0x14
test edi, edi
je 0x6f87ee
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x6f8792
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x6f878e
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x6f878e
inc ecx
add eax, 4
cmp ecx, edx
jl 0x6f8780
jmp 0x6f87ee
cmp ecx, edx
jge 0x6f87ee
test bl, 0x82
je 0x6f87d6
cmp word [esi + 0x20], 0
jl 0x6f87d6
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.006ad4e0
mov ebx, eax
test ebx, ebx
jne 0x6f87bc
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.006ad740
test eax, eax
je 0x6f87ee
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.00675e40
test eax, eax
jne 0x6f87ee
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add dword [esp + 0x20], 0x14
inc eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x2c]
jl 0x6f86d4
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x2c]
test edx, 0x1000
jne 0x6f8c14
test edx, 0x100
je 0x6f8840
mov dword [esp + 0x34], 0
mov eax, 1
mov dword [esp + 0x50], 0
jmp 0x6f887d
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x6f8e58
test byte [ecx + 0x38], 4
jne 0x6f8e58
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x6f8878
mov byte [esp + 0x14], 1
test edx, 0x8000
je 0x6f887d
mov byte [esp + 0x14], 0
movzx eax, ax
xor cl, cl
xor edx, edx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], eax
test eax, eax
je 0x6f8c14
mov dword [esp + 0x4c], edx
movzx edi, word [esi + 0x18]
mov bh, 1
mov byte [esp + 0xf], bh
cmp edx, edi
jge 0x6f891c
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x6f891c
mov ebx, dword [esi + 0x38]
mov eax, dword [esp + 0x84]
mov esi, dword [ebx + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x6f88f2
mov eax, dword [esp + 0x14]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x14], cl
jmp 0x6f8bf7
test cl, 1
je 0x6f894d
mov esi, dword [esi]
inc edx
cmp edx, edi
jge 0x6f8914
mov ecx, dword [esp + 0x24]
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x6f8949
inc edx
add ecx, 4
cmp edx, edi
jl 0x6f8906
mov bh, byte [esp + 0xf]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x6f8953
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov bl, byte [edx + eax]
mov eax, dword [esi + 0xc]
and bl, 1
mov byte [esp + 0xf], bl
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x6f895f
jmp 0x6f8958
xor bh, bh
jmp 0x6f8918
mov bh, byte [esp + 0xf]
jmp 0x6f891c
mov byte [esp + 0xf], 0
or ecx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
test al, al
je 0x6f899a
test ecx, ecx
js 0x6f898b
cmp edx, edi
jl 0x6f898b
mov eax, dword [esi + 0xc]
add ecx, ecx
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x20]
and al, 0xf
neg al
sbb al, al
and al, dl
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x14], eax
xor edi, edi
test bh, bh
je 0x6f8afd
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x70], esi
nop
cmp edi, dword [esp + 0x2c]
jge 0x6f8afd
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 + 0x10]
or edx, ecx
jne 0x6f8aed
mov edx, dword [esi]
test edx, edx
je 0x6f8aed
nop dword [eax + eax]
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x6f8a1a
test eax, 0x80000
je 0x6f8a09
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 8]
jmp 0x6f8a11
cmp byte [edx], 0x71
jne 0x6f8a1a
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x6f89f0
jmp 0x6f8aed
test edx, edx
je 0x6f8aed
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x20]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp ecx, 0xffffffff
jl 0x6f8a63
mov al, byte [edx]
cmp al, 0xa7
je 0x6f8a46
cmp al, 0xa9
jne 0x6f8aed
mov eax, dword [esp + 0x38]
mov bh, bl
cmp dword [edx + 0x1c], eax
jne 0x6f8aed
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x6f8aed
jmp 0x6f8aad
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx + 8]
test eax, eax
je 0x6f8a86
test dword [eax + 4], 0x2000
je 0x6f8a86
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x6f8a76
test dword [edx + 4], 0x2000
je 0x6f8a96
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x6f8a86
push dword [esp + 0x38]
xor ecx, ecx
push eax
call fcn.006b55b0
add esp, 8
test eax, eax
jne 0x6f8aed
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x6f8b2a
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.006ad4e0
test eax, eax
jne 0x6f8ace
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov bh, bl
mov esi, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
mov ecx, dword [eax]
mov edx, dword [edx + esi*4]
call fcn.00675e40
test eax, eax
je 0x6f8b2e
mov esi, dword [esp + 0x70]
add esi, 0x14
inc edi
mov dword [esp + 0x70], esi
test bh, bh
jne 0x6f89b0
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x6f8b10
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x6f8b15
mov byte [esp + 0x14], 0
cmp byte [esp + 0x30], 0
je 0x6f8c14
mov byte [esp + 0x14], 1
jmp 0x6f8c1f
mov esi, dword [esp + 0x24]
cmp word [esp + 0x58], 0
mov ebx, dword [esp + 0x28]
je 0x6f8b41
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x6f8b9d
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
mov al, byte [ecx + eax*4 + 0x10]
and al, 1
cmp byte [esp + 0x1f], 0
je 0x6f8b69
mov cl, byte [esp + 0xf]
xor cl, byte [esp + 0x1e]
cmp cl, al
jne 0x6f8afd
jmp 0x6f8b9d
xor al, byte [esp + 0xf]
mov byte [esp + 0x1e], al
je 0x6f8b98
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 [esp + 0x9c]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
mov edx, dword [esp + 0x24]
test byte [ecx + eax*4 + 0x10], 2
je 0x6f8bc2
movzx eax, word [ebx + 0x18]
cmp edx, eax
jne 0x6f8afd
or dword [ebx + 0x2c], 0x80000
cmp dword [esp + 0x20], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x30]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x30], 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 + 0x10], ecx
add dword [esp + 0x4c], 0x14
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x78]
jge 0x6f8b15
mov esi, dword [esp + 0x28]
jmp 0x6f88a6
cmp byte [esp + 0x14], 0
je 0x6f8d8c
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
or eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x50], eax
test esi, esi
je 0x6f8d98
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x30], esi
nop word [eax + eax]
xor edi, edi
xor edx, edx
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov ecx, edi
cmovae edx, edi
and ecx, ebx
mov eax, edx
mov dword [esp + 0x78], edx
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x6f8d62
mov ecx, dword [esp + 0x40]
mov esi, dword [esi]
add ecx, 0x1f0
test esi, esi
je 0x6f8cca
cmp byte [esi], 0xa7
jne 0x6f8cb4
test byte [esi + 4], 0x20
jne 0x6f8cb4
mov edx, dword [esi + 0x1c]
call fcn.006f3230
mov ebx, eax
mov ecx, edx
jmp 0x6f8cdb
test dword [esi + 4], 0x810000
jne 0x6f8cca
mov edx, esi
call fcn.006f2ce0
mov ebx, eax
mov ecx, edx
jmp 0x6f8cdb
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, ebx
mov dword [esp + 0x34], ecx
or eax, ecx
jne 0x6f8d30
mov dword [esp + 0xa0], 0
mov eax, 1
mov word [esp + 0xb4], ax
mov dword [esp + 0xa4], fcn.006afd20
mov dword [esp + 0xa8], 0x6afb90
test esi, esi
je 0x6f8d30
mov edx, esi
lea ecx, [esp + 0xa0]
call fcn.006aa110
cmp word [esp + 0xb4], 0
je 0x6f8d5e
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
not ecx
not eax
and ecx, ebx
and eax, dword [esp + 0x34]
or ecx, eax
mov ebx, dword [esp + 0x18]
jne 0x6f8d62
or ebx, edi
mov edi, dword [esp + 0x10]
or edi, dword [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
jmp 0x6f8d66
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
add dword [esp + 0x30], 0x14
inc eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x2c]
jl 0x6f8c60
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
jmp 0x6f8d9c
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc dword [esp + 0x44]
test dl, dl
jne 0x6f8600
jmp 0x6f8dc4
cmp byte [esi + 0x20], 0
je 0x6f8dc0
and eax, 0x280
cmp eax, 0x80
jne 0x6f8dd5
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
cmp ebx, dword [esp + 0x80]
jne 0x6f8df1
cmp edi, eax
jne 0x6f8df1
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x14], 0
jne 0x6f8e86
lea ebx, [esi - 1]
test ebx, ebx
jle 0x6f8e58
cmp ebx, 0x40
jge 0x6f8e27
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 0x6f8e41
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x18]
and esi, edi
cmp eax, ecx
jne 0x6f8e53
cmp esi, edx
je 0x6f8e6f
dec ebx
test ebx, ebx
jg 0x6f8e03
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xbc]
or al, 0xff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret