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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov ebp, edx
xor eax, eax
mov dword [esp + 0x2c], ebp
mov ebx, ecx
cmp dword [ebp + 0x44], eax
je 0x6f3f50
cmp dword [ebp + 0x34], eax
jne 0x6f3f50
test dword [ebp + 4], 0x100000
jne 0x6f3f50
cmp byte [ebx + 0xd8], 2
jae 0x6f3f50
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x6f38fb
cmp dword [ebx + 0x7c], eax
jne 0x6f38f2
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x6f38f2
mov byte [ebx + 0x17], 1
call fcn.0067aae0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
mov edi, dword [ebx]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x40], eax
push 0
push 0x40
test edi, edi
je 0x6f394a
mov ecx, edi
call fcn.00654db0
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x6f3955
call fcn.00654640
mov esi, eax
mov dword [esp + 0x28], eax
add esp, 8
test esi, esi
je 0x6f3f71
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x64], 0
mov edx, ebp
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x69c3c0
mov dword [esp + 0x60], fcn.00485db0
call fcn.0068e4c0
test byte [ebp + 4], 8
mov dword [esp + 0x1c], esi
jne 0x6f3a0b
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x5c], 0x6f3860
mov dword [esp + 0x60], 0
mov dword [esp + 0x1c], esi
test edi, edi
je 0x6f3a07
mov esi, dword [edi]
add edi, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x6f3a07
mov dword [esp + 0x1c], eax
jmp 0x6f39f0
mov edx, dword [edi]
lea ecx, [esp + 0x58]
call fcn.0068e4b0
test eax, eax
jne 0x6f3a07
dec esi
add edi, 0x14
test esi, esi
jg 0x6f39f0
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 4]
xor edx, edx
mov esi, dword [esp + 0x18]
and eax, 0xfffffff7
or eax, 0x100000
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
mov ecx, ebx
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 4], eax
push 1
push dword [esi + 8]
call fcn.006f3650
push 1
push dword [esi + 0xc]
mov edx, eax
mov ecx, ebx
call fcn.006f3650
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x6f3a9f
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x6f3a9f
mov eax, dword [eax]
mov esi, dword [ecx]
cmp eax, esi
jg 0x6f3a9f
mov dword [ecx], eax
mov edx, dword [ebp + 0x30]
push 0xffffffffffffffff
call fcn.0069bbc0
add esp, 4
test eax, eax
jne 0x6f3a99
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x6f3a92
mov ecx, edi
call fcn.00694800
mov dword [ebp + 0x30], 0
mov eax, dword [esp + 0x30]
mov dword [eax], esi
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov eax, dword [ebx + 0x28]
mov esi, dword [esp + 0x20]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x10]
add dword [ebx + 0x28], 4
mov ecx, ebx
push eax
push esi
push dword [ebp + 0x1c]
push dword [esp + 0x34]
call fcn.006f35a0
mov eax, dword [esp + 0x38]
add esp, 0x10
mov edi, dword [ebp + 0x30]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x6f3320
mov dword [esp + 0x7c], 0x6f3570
mov dword [esp + 0x8c], eax
test edi, edi
je 0x6f3b5b
mov esi, dword [edi]
add edi, 8
test esi, esi
jle 0x6f3b5b
mov edi, edi
mov edx, dword [edi]
lea ecx, [esp + 0x74]
call fcn.0068e4b0
test eax, eax
jne 0x6f3b57
dec esi
add edi, 0x14
test esi, esi
jg 0x6f3b40
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x6f3b63
mov eax, dword [edx]
jmp 0x6f3b65
xor eax, eax
push 0
push dword [ebp + 8]
mov ecx, ebx
mov dword [ebp + 0x4c], eax
call fcn.006f3650
push 0
push dword [ebp + 0xc]
mov edx, eax
mov ecx, ebx
call fcn.006f3650
mov edx, ebp
mov esi, eax
mov ebp, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x10], esi
mov edi, edx
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x100000
je 0x6f3bdb
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push ecx
push dword [esp + 0x34]
mov ecx, ebx
call fcn.006f35a0
mov esi, dword [esp + 0x20]
add esp, 0x10
test esi, esi
je 0x6f3bd0
mov eax, dword [esi]
mov dword [edi + 0x50], eax
mov byte [edi + 0x60], 1
jmp 0x6f3bfd
xor eax, eax
mov byte [edi + 0x60], 1
mov dword [edi + 0x50], eax
jmp 0x6f3bfd
test esi, esi
je 0x6f3be3
mov eax, dword [esi]
jmp 0x6f3be5
xor eax, eax
push 0
push ecx
mov edx, esi
mov dword [edi + 0x50], eax
mov ecx, ebx
call fcn.006f3650
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
mov edx, dword [edi + 0x28]
test edx, edx
je 0x6f3c73
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.006936b0
add esp, 8
mov edx, eax
test esi, esi
jne 0x6f3c25
mov ecx, dword [ebx]
call fcn.00694270
mov esi, eax
jmp 0x6f3c6b
mov eax, dword [esi]
lea ebp, [eax + 1]
cmp dword [esi + 4], ebp
jge 0x6f3c40
mov ecx, dword [ebx]
push edx
mov edx, esi
call fcn.006942e0
add esp, 4
mov esi, eax
jmp 0x6f3c6b
lea eax, [eax + eax*4]
mov dword [esi], ebp
lea ecx, [esi + eax*4]
mov eax, dword [0x7fbb30]
mov dword [ecx + 0xc], eax
mov eax, dword [0x7fbb34]
mov dword [ecx + 0x10], eax
mov eax, dword [0x7fbb38]
mov dword [ecx + 0x14], eax
mov eax, dword [0x7fbb3c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x10], esi
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x34], eax
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [edi + 0x34]
mov dword [edi + 0x38], eax
mov ecx, dword [ebp + 0x6c]
cmp dword [ebp + 0x70], ecx
jg 0x6f3ca6
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, ebp
call fcn.0067ad20
add esp, 0xc
jmp 0x6f3ccf
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 0x68]
xor ebp, ebp
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [edi + 0x24]
mov edx, dword [esp + 0x18]
test edi, edi
jne 0x6f3b93
test esi, esi
jne 0x6f3d6f
lea edx, [esp + 0x24]
mov dword [esp + 0x24], esi
mov ecx, 0x809b70
call fcn.006594b0
mov ecx, dword [esp + 0x14]
mov edi, eax
xor eax, eax
test edi, edi
push esi
sete al
lea eax, [eax*2 + 0x34]
push eax
call fcn.00654db0
mov esi, eax
add esp, 8
test esi, esi
je 0x6f3d64
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x9b
add esp, 0xc
mov word [esi + 0x22], ax
test edi, edi
je 0x6f3d52
mov eax, dword [esp + 0x24]
mov ecx, 0x20800800
test eax, eax
mov dword [esi + 8], eax
mov edx, 0x10800800
cmovne ecx, edx
or dword [esi + 4], ecx
jmp 0x6f3d5d
lea eax, [esi + 0x34]
mov dword [esi + 8], eax
mov word [eax], 0x30
mov dword [esi + 0x18], 1
mov ecx, dword [ebx]
mov edx, esi
call fcn.00694270
mov esi, eax
push 0
push 0
push dword [esp + 0x38]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x40]
call fcn.006c7410
mov ecx, dword [ebx]
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x30], esi
push 0
push 0x50
call fcn.00654db0
mov edi, eax
add esp, 8
test edi, edi
jne 0x6f3dd7
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x20], edi
mov edi, dword [esp + 0x1c]
mov ebp, edi
test esi, esi
je 0x6f3eff
mov ecx, dword [esp + 0x14]
mov edx, esi
push 1
call fcn.006c7320
add esp, 4
jmp 0x6f3eff
push 0x48
lea eax, [edi + 8]
mov dword [edi + 4], 1
push 0
push eax
mov dword [edi], 1
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov dword [edi + 0x34], 0xffffffff
mov eax, dword [edi]
lea eax, [eax + eax*8]
mov dword [edi + eax*8 - 0x38], 0
mov dword [edi + eax*8 - 0x3c], 0
mov dword [ecx + 0x20], edi
mov dword [edi + 0x1c], esi
mov eax, dword [ecx + 0x20]
or dword [eax + 0x30], 8
mov ecx, dword [ecx + 0x20]
mov eax, dword [esp + 0x1c]
mov ebp, eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x6f3e6e
xor edi, edi
cmp dword [ecx], edi
jle 0x6f3e6e
lea esi, [ecx + 0x34]
jmp 0x6f3e40
cmp dword [esi], 0
jge 0x6f3e62
mov eax, dword [ebx + 0x28]
mov dword [esi], eax
inc dword [ebx + 0x28]
mov edx, dword [esi - 0x18]
test edx, edx
je 0x6f3e62
mov edx, dword [edx + 0x20]
mov ecx, ebx
call fcn.006ac7e0
mov ecx, dword [esp + 0x3c]
inc edi
add esi, 0x48
cmp edi, dword [ecx]
jl 0x6f3e40
mov esi, dword [esp + 0x30]
or dword [esi + 4], 0x8000040
mov edx, esi
push 0x40
mov ecx, ebx
call fcn.006cb530
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x40]
and eax, 8
or dword [esi + 4], eax
test edx, edx
jne 0x6f3e98
lea ecx, [edx + 7]
jmp 0x6f3f01
mov ebp, dword [esp + 0x20]
mov esi, edx
mov eax, dword [esp + 0x2c]
mov edi, ebp
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
or dword [ebp + 0x1c], 0x4000
lea ecx, [esp + 0x58]
mov eax, dword [eax + 0x20]
mov dword [eax + 0x18], ebp
mov ebp, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0x6f3830
mov dword [esp + 0x60], 0x68e6a0
mov dword [esp + 0x64], 0x68e6b0
call fcn.0068e4c0
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edx, 7
push 0
push 0xc
cmp byte [eax + 0x57], 0
cmovne ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x6f3f26
call fcn.00654db0
jmp 0x6f3f2b
call fcn.00654640
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x6f3f58
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov dword [ebx + 0x88], ecx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], fcn.00654a70
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test ebp, ebp
je 0x6f3f4c
mov ecx, dword [ebx]
mov edx, ebp
call fcn.00654910
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x6f3f89
mov eax, dword [edi + 0x10c]
test eax, eax
je 0x6f3f89
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
pop edi
mov eax, 7
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret