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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb3cb7b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0xb67890]
xor eax, ebp
mov dword [ebp - 0x44], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
push 0
call fcn.00b00570
add esp, 8
push 0xb698f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
push 0xb698d4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0xab0768
push 1
push 0x100
call dword [ebp - 0x18]
mov dword [ebp - 0xdc], 0x94
lea ecx, [ebp - 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xcc], 2
jne 0xab0791
mov byte [0xb7d769], 1
jmp 0xab07ad
cmp dword [ebp - 0xd8], 4
jne 0xab07a8
cmp dword [ebp - 0xd4], 0x5a
jb 0xab07a8
call fcn.00ab1300
call fcn.00ab13e0
movzx edx, byte [0xb7d769]
test edx, edx
jne 0xab07be
cli
not esp
not esp
sti
mov eax, dword [0xb7d7b0]
mov ecx, dword [0xb7d7b0]
mov edx, dword [eax + 0x6c]
xor edx, dword [ecx + 0x84]
mov eax, dword [0xb7d7b0]
xor edx, dword [eax + 0x54]
and edx, 4
je 0xab07e6
mov byte [0xb7d765], 1
mov ecx, dword [0xb7d7b0]
mov edx, dword [0xb7d7b0]
mov eax, dword [ecx + 0x6c]
xor eax, dword [edx + 0x84]
mov ecx, dword [0xb7d7b0]
xor eax, dword [ecx + 0x54]
and eax, 0x200
je 0xab0812
mov byte [0xb7d767], 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [0xb7d7b0]
mov ecx, dword [0xb7d7b0]
mov edx, dword [edx + 4]
xor edx, dword [ecx + 0x84]
mov ecx, dword [0xb7d7b0]
xor edx, dword [ecx + 0x18]
add eax, edx
mov dword [0xb7d774], eax
mov edx, dword [0xb7d7b0]
mov eax, dword [0xb7d7b0]
mov ecx, dword [edx + 0x64]
xor ecx, dword [eax + 0x44]
mov edx, dword [0xb7d7b0]
xor ecx, dword [edx + 0x54]
add ecx, 0xfff
shr ecx, 0xc
mov dword [0xb7d788], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0xffffffff
push 0
call fcn.00ab1ab0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
mov eax, dword [0xb7d7b0]
xor esi, dword [eax + 0x18]
push esi
lea ecx, [ebp - 0xf8]
call fcn.00aadac0
lea ecx, [ebp - 0xf8]
call fcn.00aadf40
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xf4], 0xc
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 1
push 0
push 0x1000
push 0
push 4
lea ecx, [ebp - 0xf4]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0xab08f4
xor al, al
jmp 0xab0e4f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], 0
push 2
push 1
push 0
lea edx, [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0x1000
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0xb7d784], eax
movzx ecx, byte [0xb7d7ec]
test ecx, ecx
je 0xab096a
lea ecx, [ebp - 0xf8]
call fcn.00aadf40
mov dword [ebp - 0x13c], eax
jmp 0xab0973
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x13c], edx
mov eax, dword [0xb7d7b0]
mov ecx, dword [ebp - 0x13c]
xor ecx, dword [eax + 0x44]
mov edx, dword [0xb7d7b0]
xor ecx, dword [edx + 0x3c]
mov eax, dword [0xb7d7b0]
xor ecx, dword [eax + 0x88]
mov edx, dword [0xb7d7b0]
xor ecx, dword [edx + 0x10]
mov eax, dword [0xb7d7b0]
xor ecx, dword [eax + 0x20]
mov edx, dword [0xb7d784]
mov dword [edx], ecx
mov eax, dword [0xb7d784]
mov ecx, dword [ebp - 0xe8]
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0xb7d784]
mov dword [edx + 8], eax
mov eax, dword [0xb7d784]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x104], ecx
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.00ab2ec0
add esp, 8
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x144]
call fcn.00abd8b0
push eax
push 0xb698d0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00aaa3c0
xor ecx, ecx
mov eax, dword [0xb7d788]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b07684
add esp, 4
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [0xb7d790], eax
mov eax, dword [0xb7d788]
shl eax, 4
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b07684
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [0xb7d770], eax
xor ecx, ecx
mov eax, dword [0xb7d788]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b07684
add esp, 4
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [0xb7d794], eax
xor ecx, ecx
mov eax, dword [0xb7d788]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b07684
add esp, 4
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [0xb7d798], eax
push 0x1000
call fcn.00b07684
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [0xb7d79c], ecx
xor ecx, ecx
mov eax, dword [0xb7d788]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b07684
add esp, 4
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [0xb7d76c], eax
mov ecx, dword [0xb7d7b0]
mov edx, dword [ecx + 0x3c]
xor edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00aadac0
mov dword [ebp - 0xfc], 0
jmp 0xab0b75
mov eax, dword [ebp - 0xfc]
add eax, 1
mov dword [ebp - 0xfc], eax
mov ecx, dword [0xb7d788]
shl ecx, 4
cmp dword [ebp - 0xfc], ecx
jge 0xab0bcf
lea ecx, [ebp - 0x2c]
call fcn.00aadf40
mov edx, dword [0xb7d7b0]
xor eax, dword [edx + 0x44]
mov ecx, dword [0xb7d7b0]
xor eax, dword [ecx + 0x3c]
mov edx, dword [0xb7d7b0]
xor eax, dword [edx + 0x88]
mov ecx, dword [0xb7d7b0]
xor eax, dword [ecx + 0x10]
mov edx, dword [0xb7d7b0]
xor eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0xfc]
mov edx, dword [0xb7d770]
mov dword [edx + ecx*4], eax
jmp 0xab0b66
mov dword [ebp - 0x100], 0
jmp 0xab0bea
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
cmp ecx, dword [0xb7d788]
jge 0xab0c44
mov edx, dword [ebp - 0x100]
mov eax, dword [0xb7d790]
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [ebp - 0x100]
mov edx, dword [0xb7d794]
mov dword [edx + ecx*4], 0
mov eax, dword [ebp - 0x100]
mov ecx, dword [0xb7d798]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebp - 0x100]
mov eax, dword [0xb7d76c]
mov dword [eax + edx*4], 0
jmp 0xab0bdb
mov ecx, dword [0xb7d788]
sar ecx, 1
add ecx, 1
mov dword [0xb65b40], ecx
movzx edx, byte [0xb7d766]
test edx, edx
jne 0xab0c75
cmp dword [0xb65b40], 6
jae 0xab0c73
mov dword [0xb65b40], 6
jmp 0xab0c88
cmp dword [0xb65b40], 0x12
jae 0xab0c88
mov dword [0xb65b40], 0x12
push 0xb698c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x40], eax
push 0xb698b0
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push 0xb6989c
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov edx, dword [0xb7d7b0]
mov eax, dword [0xb7d7b0]
mov ecx, dword [edx]
xor ecx, dword [eax + 0x84]
mov edx, dword [0xb7d7b0]
xor ecx, dword [edx + 0x54]
and ecx, 2
je 0xab0ce0
call fcn.00ae5d10
mov al, byte [ebp + 8]
push eax
call fcn.00ab0ff0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0xab0cfa
xor al, al
jmp 0xab0e4f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 0x38]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [0xb65b38]
push ecx
call fcn.00ab0e70
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0xb65b38]
push eax
call fcn.00ab0f50
add esp, 8
mov ecx, dword [0xb65b38]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0xb65b38]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov dword [ebp - 0x34], eax
mov edx, dword [0xb65b38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [0xb65b38]
push edx
call fcn.00ab0e70
add esp, 0xc
mov eax, dword [0xb65b38]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0xb65b38]
mov eax, dword [edx + 0xc]
push eax
call fcn.00ab0260
add esp, 8
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [0xb65b38]
mov eax, dword [edx]
push eax
push 0xaad720
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 0xab0dff
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0xb7d738
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00aae120
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0xab0e25
xor al, al
jmp 0xab0e4f
mov edx, dword [0xb7d784]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0xb7d784], 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00b10e32
mov esp, ebp
pop ebp
ret