Function at 0x10068910
Capabilities:
Allocate or change rwx memory
Check if file exists
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100e41c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101e70ba], 1
push ebx
push esi
push edi
jne 0x100689b4
push 0xff
push 0x3c
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xffe8c88b
mov ecx, 0x400000
mov dword [ebp - 0x48], 0xe8ffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffe8
mov dword [ebp - 0x3c], 0xffffe8ff
mov dword [ebp - 0x38], 0xc88bffff
mov dword [ebp - 0x34], 0xffffffe8
mov dword [ebp - 0x30], 0xffffe8ff
mov dword [ebp - 0x2c], 0xffe8ffff
mov dword [ebp - 0x28], 0xe8ffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffe8
mov dword [ebp - 0x1c], 0xffffe8ff
mov dword [ebp - 0x18], 0xffe8ffff
mov dword [ebp - 0x14], 0x8bffffff
call fcn.10086180
add esp, 8
mov ebx, eax
jmp 0x100689b7
mov ebx, dword [ebp - 0x64]
mov eax, str.DKMZY
lea ecx, [ebp - 0x60]
sub eax, 0x32634904
push eax
mov dword [ebp - 0x64], eax
call fcn.1007cd60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10068a61
push 0xff
push 0x3b
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xffe8c88b
mov ecx, 0x400000
mov dword [ebp - 0x48], 0xe8ffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffe8
mov dword [ebp - 0x3c], 0xffffe8ff
mov dword [ebp - 0x38], 0xc88bffff
mov dword [ebp - 0x34], 0xffffffe8
mov dword [ebp - 0x30], 0xffffe8ff
mov dword [ebp - 0x2c], 0xffe8ffff
mov dword [ebp - 0x28], 0xe8ffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffe8
mov dword [ebp - 0x1c], 0xffffe8ff
mov dword [ebp - 0x18], 0xffe8ffff
mov word [ebp - 0x14], 0xffff
mov byte [ebp - 0x12], 0xff
call fcn.10086180
add esp, 8
mov ebx, eax
mov edx, 0x5e
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x100d4e1c]
xor al, dl
mov byte [ebp + ecx - 0x60], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10068a70
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 0x54], 0
call esi
test eax, eax
je 0x10068af1
push 0xff
push 0x21
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0xffffffe8
mov ecx, 0x400000
mov dword [ebp - 0x2c], 0xffffe8ff
mov dword [ebp - 0x28], 0xff8bffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffe8
mov dword [ebp - 0x1c], 0xffff8bff
mov dword [ebp - 0x18], 0xe8ffffff
mov dword [ebp - 0x14], 0xffffffff
mov byte [ebp - 0x10], 0xb9
call fcn.10086180
add esp, 8
mov ebx, eax
cmp byte [0x101e70bb], 1
jne 0x10068b80
push 0xff
push 0x3c
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xffe8c88b
mov ecx, 0x400000
mov dword [ebp - 0x48], 0xe8ffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffe8
mov dword [ebp - 0x3c], 0xffffe8ff
mov dword [ebp - 0x38], 0xc88bffff
mov dword [ebp - 0x34], 0xffffffe8
mov dword [ebp - 0x30], 0xffffe8ff
mov dword [ebp - 0x2c], 0xffe8ffff
mov dword [ebp - 0x28], 0xe8ffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffffe8
mov dword [ebp - 0x1c], 0xffffe8ff
mov dword [ebp - 0x18], 0xffe8ffff
mov dword [ebp - 0x14], 0x8bffffff
call fcn.10086180
add esp, 8
mov ebx, eax
mov al, byte [0x101e70b6]
cmp al, 1
jne 0x10068c2a
push 0xff
push 0x41
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], 0xffffffe8
mov ecx, 0x400000
mov dword [ebp - 0x4c], 0xffffe8ff
mov dword [ebp - 0x48], 0xffe8ffff
mov dword [ebp - 0x44], 0xe8ffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffe8
mov dword [ebp - 0x38], 0xffffe8ff
mov dword [ebp - 0x34], 0xffe8ffff
mov dword [ebp - 0x30], 0xe8ffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffe8
mov dword [ebp - 0x24], 0xffffe8ff
mov dword [ebp - 0x20], 0xffe8ffff
mov dword [ebp - 0x1c], 0xe8ffffff
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffe8
mov byte [ebp - 0x10], 0xff
call fcn.10086180
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10068d81
mov al, byte [0x101e70b6]
add ebx, 0x12
test ebx, ebx
je 0x10068d81
test al, al
jne 0x10068c48
cmp byte [0x101e70ba], 1
je 0x10068c48
cmp byte [0x101e70bb], 1
jne 0x10068cad
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edi, [ebx + 7]
mov dword [0x101ef0a4], edi
lea ecx, [ebx + 0xc]
mov eax, dword [edi + 1]
add eax, 5
mov dword [0x101eef84], ecx
add eax, edi
mov dword [0x101ef0a4], eax
mov eax, dword [ecx + 1]
add eax, 5
mov dword [0x101ef054], ecx
add eax, ecx
mov dword [0x101eef84], eax
lea eax, [ebp - 0x68]
push eax
push 0x40
push 5
push edi
call esi
mov eax, 0x100545e0
mov byte [edi], 0xe9
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x68]
push 5
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
call fcn.1007cd60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10068cfe
lea ecx, [ebx + 7]
lea edx, [ebx + 0xc]
mov dword [0x101eef8c], ecx
mov dword [0x101ef054], edx
mov eax, dword [ecx + 1]
add eax, 5
add eax, ecx
mov dword [0x101ef0a4], eax
mov eax, dword [edx + 1]
add edx, 5
add eax, edx
mov edx, 0x100545e0
push 5
mov dword [0x101eef84], eax
call fcn.10086030
add esp, 4
mov edx, 0x5e
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100d4e1c]
xor al, dl
mov byte [ebp + ecx - 0x60], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10068d10
lea eax, [ebp - 0x60]
mov byte [ebp - 0x54], 0
push eax
call esi
test eax, eax
je 0x10068d8b
lea ecx, [ebx + 5]
mov dword [0x101eef8c], ebx
mov dword [0x101ef054], ecx
mov edx, 0x100545e0
mov eax, dword [ebx + 1]
add eax, 5
add eax, ebx
mov dword [0x101ef0a4], eax
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
mov ecx, ebx
push 5
mov dword [0x101eef84], eax
call fcn.10086030
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008d9f1
mov esp, ebp
pop ebp
ret
mov ecx, str.SS4_Attack_Speed_Find
call fcn.10086360
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008d9f1
mov esp, ebp
pop ebp
ret