Function at 0x69b1c0
Capabilities:
Check os version
Create thread
Resume thread
Set environment variable
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744426
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x765f4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x250
call fcn.00701e21
add esp, 4
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x128], 0
je 0x69b226
push 3
push 0
mov ecx, dword [ebp - 0x128]
call fcn.006d8990
mov dword [ebp - 0x148], eax
jmp 0x69b230
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
mov dword [0x780238], ecx
push 0x768940
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x40], eax
push 0x768920
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x69b27f
push 1
push 0x100
call dword [ebp - 0x38]
mov dword [ebp - 0xfc], 0x94
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xec], 2
jne 0x69b2a8
mov byte [0x780241], 1
jmp 0x69b2c4
cmp dword [ebp - 0xf8], 4
jne 0x69b2bf
cmp dword [ebp - 0xf4], 0x5a
jb 0x69b2bf
call fcn.0069be40
call fcn.0069bf20
movzx ecx, byte [0x780241]
test ecx, ecx
jne 0x69b2d5
cli
not esp
not esp
sti
mov edx, dword [0x78028c]
mov eax, dword [0x78028c]
mov ecx, dword [edx + 0x58]
xor ecx, dword [eax]
mov edx, dword [0x78028c]
xor ecx, dword [edx + 0x6c]
and ecx, 4
je 0x69b2fa
mov byte [0x78023d], 1
mov eax, dword [0x78028c]
mov ecx, dword [0x78028c]
mov edx, dword [eax + 0x58]
xor edx, dword [ecx]
mov eax, dword [0x78028c]
xor edx, dword [eax + 0x6c]
and edx, 0x200
je 0x69b321
mov byte [0x78023f], 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x78028c]
mov edx, dword [0x78028c]
mov ecx, dword [ecx + 0x68]
xor ecx, dword [edx]
mov edx, dword [0x78028c]
xor ecx, dword [edx + 0x44]
add eax, ecx
mov dword [0x78024c], eax
mov eax, dword [0x78028c]
mov ecx, dword [0x78028c]
mov edx, dword [eax + 0x10]
xor edx, dword [ecx + 0x8c]
mov eax, dword [0x78028c]
xor edx, dword [eax + 0x6c]
add edx, 0xfff
shr edx, 0xc
mov dword [0x780260], edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x30], 0xffffffff
push 0
call fcn.006a0090
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
mov ecx, dword [0x78028c]
xor esi, dword [ecx + 0x44]
push esi
lea ecx, [ebp - 0x118]
call fcn.00698640
lea ecx, [ebp - 0x118]
call fcn.00698ac0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 1
push 0
push 0x1000
push 0
push 4
lea edx, [ebp - 0x114]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x69b402
xor al, al
jmp 0x69b984
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x108], 0
push 2
push 1
push 0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0x1000
push 0
push 0
push 2
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x78025c], eax
movzx edx, byte [0x7802dc]
test edx, edx
je 0x69b478
lea ecx, [ebp - 0x118]
call fcn.00698ac0
mov dword [ebp - 0x14c], eax
jmp 0x69b481
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14c], eax
mov ecx, dword [0x78028c]
mov edx, dword [ebp - 0x14c]
xor edx, dword [ecx + 0x8c]
mov eax, dword [0x78028c]
xor edx, dword [eax + 0x84]
mov ecx, dword [0x78028c]
xor edx, dword [ecx + 0x88]
mov eax, dword [0x78028c]
xor edx, dword [eax + 0x90]
mov ecx, dword [0x78028c]
xor edx, dword [ecx + 0x74]
mov eax, dword [0x78025c]
mov dword [eax], edx
mov ecx, dword [0x78025c]
mov edx, dword [ebp - 0x108]
mov dword [ecx + 4], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x78025c]
mov dword [ecx + 8], eax
mov edx, dword [0x78025c]
mov dword [edx + 0x20], 0
mov eax, dword [0x78025c]
add eax, 0xe00
mov dword [0x78027c], eax
mov ecx, dword [0x78027c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x12c], edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0069d790
add esp, 8
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x154], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x154]
call fcn.006a8e10
push eax
push 0x76891c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00694420
xor ecx, ecx
mov eax, dword [0x780260]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f5042
add esp, 4
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [0x780268], eax
mov eax, dword [0x780260]
shl eax, 4
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f5042
add esp, 4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [0x780248], eax
xor ecx, ecx
mov eax, dword [0x780260]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f5042
add esp, 4
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [0x78026c], eax
xor ecx, ecx
mov eax, dword [0x780260]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f5042
add esp, 4
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [0x780270], eax
push 0x1000
call fcn.006f5042
add esp, 4
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [0x780274], ecx
xor ecx, ecx
mov eax, dword [0x780260]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f5042
add esp, 4
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [0x780244], eax
mov ecx, dword [0x78028c]
mov edx, dword [ecx + 0x84]
xor edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00698640
mov dword [ebp - 0x11c], 0
jmp 0x69b6a3
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [0x780260]
shl ecx, 4
cmp dword [ebp - 0x11c], ecx
jge 0x69b706
lea ecx, [ebp - 0x4c]
call fcn.00698ac0
mov edx, dword [0x78028c]
xor eax, dword [edx + 0x8c]
mov ecx, dword [0x78028c]
xor eax, dword [ecx + 0x84]
mov edx, dword [0x78028c]
xor eax, dword [edx + 0x88]
mov ecx, dword [0x78028c]
xor eax, dword [ecx + 0x90]
mov edx, dword [0x78028c]
xor eax, dword [edx + 0x74]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [0x780248]
mov dword [edx + ecx*4], eax
jmp 0x69b694
mov dword [ebp - 0x120], 0
jmp 0x69b721
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [0x780260]
jge 0x69b77b
mov edx, dword [ebp - 0x120]
mov eax, dword [0x780268]
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [ebp - 0x120]
mov edx, dword [0x78026c]
mov dword [edx + ecx*4], 0
mov eax, dword [ebp - 0x120]
mov ecx, dword [0x780270]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebp - 0x120]
mov eax, dword [0x780244]
mov dword [eax + edx*4], 0
jmp 0x69b712
mov ecx, dword [0x780260]
sar ecx, 1
add ecx, 1
mov dword [0x7649c8], ecx
movzx edx, byte [0x78023e]
test edx, edx
jne 0x69b7ac
cmp dword [0x7649c8], 6
jae 0x69b7aa
mov dword [0x7649c8], 6
jmp 0x69b7bf
cmp dword [0x7649c8], 0x12
jae 0x69b7bf
mov dword [0x7649c8], 0x12
push 0x768910
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x60], eax
push 0x7688fc
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
push 0x7688e8
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x50], eax
mov edx, dword [0x78028c]
mov eax, dword [0x78028c]
mov ecx, dword [edx + 0x7c]
xor ecx, dword [eax]
mov edx, dword [0x78028c]
xor ecx, dword [edx + 0x6c]
and ecx, 2
je 0x69b814
call fcn.006d6bc0
movzx eax, byte [ebp + 8]
push eax
call fcn.0069bb20
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x69b82f
xor al, al
jmp 0x69b984
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x100]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x58], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x58]
add eax, dword [ecx + 0x28]
mov dword [ebp - 0x34], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 0x58]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
push eax
push 1
mov ecx, dword [0x7649c0]
push ecx
call fcn.0069b9a0
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [0x7649c0]
push eax
call fcn.0069ba80
add esp, 8
mov ecx, dword [0x7649c0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x7649c0]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov dword [ebp - 0x54], eax
mov edx, dword [0x7649c0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0x34]
push ecx
push 0
mov edx, dword [0x7649c0]
push edx
call fcn.0069b9a0
add esp, 0xc
mov eax, dword [0x7649c0]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x7649c0]
mov eax, dword [edx + 0xc]
push eax
call fcn.0069af10
add esp, 8
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [0x7649c0]
mov eax, dword [edx]
push eax
push 0x698220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x69b934
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x78020c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00698ca0
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x69b95a
xor al, al
jmp 0x69b984
mov edx, dword [0x78025c]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x78025c], 0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0070231e
mov esp, ebp
pop ebp
ret