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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x82f184]
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 0x6f7824
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x6f8128
movzx eax, word [edx]
mov dword [esp + 0x88], eax
cmp eax, 0x3f
ja 0x6f8128
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 0x6f8098
jb 0x6f78eb
cmp ebx, dword [esp + 0x80]
jae 0x6f809f
movzx eax, word [ebp + 0x10]
cmp dword [esp + 0x44], eax
jg 0x6f8094
mov esi, dword [esp + 0x44]
test esi, esi
jle 0x6f791b
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 0x6f7945
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 0x6f7953
mov ecx, esi
mov esi, dword [esp + 0x2c]
jmp 0x6f8070
mov esi, dword [esp + 0x98]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
mov edx, dword [esi + 0x2c]
test edx, 0x400
jne 0x6f807e
and eax, 0x80
mov dword [esp + 0x58], eax
je 0x6f7973
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 0x6f7ae5
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 0x6f7ac2
mov ecx, dword [ebx]
call fcn.006ac7a0
mov esi, eax
test esi, esi
je 0x6f7ac2
mov al, byte [esi]
cmp al, 0xa7
je 0x6f79f2
cmp al, 0xa9
jne 0x6f7ac2
cmp dword [esi + 0x1c], edi
jne 0x6f7ac2
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.006f2a20
mov edi, eax
add esp, 0x14
test edi, edi
je 0x6f7abe
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x6f7a62
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x6f7a5e
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x6f7a5e
inc ecx
add eax, 4
cmp ecx, edx
jl 0x6f7a50
jmp 0x6f7abe
cmp ecx, edx
jge 0x6f7abe
test bl, 0x82
je 0x6f7aa6
cmp word [esi + 0x20], 0
jl 0x6f7aa6
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.006ac7d0
mov ebx, eax
test ebx, ebx
jne 0x6f7a8c
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov edx, dword [edi]
mov ecx, esi
call fcn.006aca30
test eax, eax
je 0x6f7abe
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.00675140
test eax, eax
jne 0x6f7abe
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 0x6f79a4
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x2c]
test edx, 0x1000
jne 0x6f7ee4
test edx, 0x100
je 0x6f7b10
mov dword [esp + 0x34], 0
mov eax, 1
mov dword [esp + 0x50], 0
jmp 0x6f7b4d
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x6f8128
test byte [ecx + 0x38], 4
jne 0x6f8128
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x34]
je 0x6f7b48
mov byte [esp + 0x14], 1
test edx, 0x8000
je 0x6f7b4d
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 0x6f7ee4
mov dword [esp + 0x4c], edx
movzx edi, word [esi + 0x18]
mov bh, 1
mov byte [esp + 0xf], bh
cmp edx, edi
jge 0x6f7bec
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x6f7bec
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 0x6f7bc2
mov eax, dword [esp + 0x14]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x14], cl
jmp 0x6f7ec7
test cl, 1
je 0x6f7c1d
mov esi, dword [esi]
inc edx
cmp edx, edi
jge 0x6f7be4
mov ecx, dword [esp + 0x24]
inc ecx
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x6f7c19
inc edx
add ecx, 4
cmp edx, edi
jl 0x6f7bd6
mov bh, byte [esp + 0xf]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x6f7c23
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 0x6f7c2f
jmp 0x6f7c28
xor bh, bh
jmp 0x6f7be8
mov bh, byte [esp + 0xf]
jmp 0x6f7bec
mov byte [esp + 0xf], 0
or ecx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
test al, al
je 0x6f7c6a
test ecx, ecx
js 0x6f7c5b
cmp edx, edi
jl 0x6f7c5b
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 0x6f7dcd
mov esi, dword [esp + 0x3c]
add esi, 8
mov dword [esp + 0x70], esi
nop
cmp edi, dword [esp + 0x2c]
jge 0x6f7dcd
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 0x6f7dbd
mov edx, dword [esi]
test edx, edx
je 0x6f7dbd
nop dword [eax + eax]
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x6f7cea
test eax, 0x80000
je 0x6f7cd9
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 8]
jmp 0x6f7ce1
cmp byte [edx], 0x71
jne 0x6f7cea
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x6f7cc0
jmp 0x6f7dbd
test edx, edx
je 0x6f7dbd
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 0x6f7d33
mov al, byte [edx]
cmp al, 0xa7
je 0x6f7d16
cmp al, 0xa9
jne 0x6f7dbd
mov eax, dword [esp + 0x38]
mov bh, bl
cmp dword [edx + 0x1c], eax
jne 0x6f7dbd
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x6f7dbd
jmp 0x6f7d7d
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 0x6f7d56
test dword [eax + 4], 0x2000
je 0x6f7d56
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x6f7d46
test dword [edx + 4], 0x2000
je 0x6f7d66
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x6f7d56
push dword [esp + 0x38]
xor ecx, ecx
push eax
call fcn.006b48a0
add esp, 8
test eax, eax
jne 0x6f7dbd
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x6f7dfa
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.006ac7d0
test eax, eax
jne 0x6f7d9e
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.00675140
test eax, eax
je 0x6f7dfe
mov esi, dword [esp + 0x70]
add esi, 0x14
inc edi
mov dword [esp + 0x70], esi
test bh, bh
jne 0x6f7c80
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x6f7de0
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x6f7de5
mov byte [esp + 0x14], 0
cmp byte [esp + 0x30], 0
je 0x6f7ee4
mov byte [esp + 0x14], 1
jmp 0x6f7eef
mov esi, dword [esp + 0x24]
cmp word [esp + 0x58], 0
mov ebx, dword [esp + 0x28]
je 0x6f7e11
lea eax, [esi + 1]
mov word [ebx + 0x1e], ax
test byte [ebp + 0xc], 0x40
jne 0x6f7e6d
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 0x6f7e39
mov cl, byte [esp + 0xf]
xor cl, byte [esp + 0x1e]
cmp cl, al
jne 0x6f7dcd
jmp 0x6f7e6d
xor al, byte [esp + 0xf]
mov byte [esp + 0x1e], al
je 0x6f7e68
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 0x6f7e92
movzx eax, word [ebx + 0x18]
cmp edx, eax
jne 0x6f7dcd
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 0x6f7de5
mov esi, dword [esp + 0x28]
jmp 0x6f7b76
cmp byte [esp + 0x14], 0
je 0x6f805c
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 0x6f8068
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 0x6f8032
mov ecx, dword [esp + 0x40]
mov esi, dword [esi]
add ecx, 0x1f0
test esi, esi
je 0x6f7f9a
cmp byte [esi], 0xa7
jne 0x6f7f84
test byte [esi + 4], 0x20
jne 0x6f7f84
mov edx, dword [esi + 0x1c]
call fcn.006f2500
mov ebx, eax
mov ecx, edx
jmp 0x6f7fab
test dword [esi + 4], 0x810000
jne 0x6f7f9a
mov edx, esi
call fcn.006f1fb0
mov ebx, eax
mov ecx, edx
jmp 0x6f7fab
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 0x6f8000
mov dword [esp + 0xa0], 0
mov eax, 1
mov word [esp + 0xb4], ax
mov dword [esp + 0xa4], fcn.006af010
mov dword [esp + 0xa8], 0x6aee80
test esi, esi
je 0x6f8000
mov edx, esi
lea ecx, [esp + 0xa0]
call fcn.006a9400
cmp word [esp + 0xb4], 0
je 0x6f802e
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 0x6f8032
or ebx, edi
mov edi, dword [esp + 0x10]
or edi, dword [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
jmp 0x6f8036
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 0x6f7f30
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
jmp 0x6f806c
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 0x6f78d0
jmp 0x6f8094
cmp byte [esi + 0x20], 0
je 0x6f8090
and eax, 0x280
cmp eax, 0x80
jne 0x6f80a5
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
cmp ebx, dword [esp + 0x80]
jne 0x6f80c1
cmp edi, eax
jne 0x6f80c1
mov al, byte [esp + 0x88]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x14], 0
jne 0x6f8156
lea ebx, [esi - 1]
test ebx, ebx
jle 0x6f8128
cmp ebx, 0x40
jge 0x6f80f7
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 0x6f8111
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 0x6f8123
cmp esi, edx
je 0x6f813f
dec ebx
test ebx, ebx
jg 0x6f80d3
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0076d59e
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.0076d59e
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.0076d59e
mov esp, ebp
pop ebp
ret