Function at 0xa8bee3
Capabilities:
Accept command line arguments
Check for trap flag exception
Check mutex on windows
Create process on windows
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaba720
push 0xa9f500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff8c0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x28], 1
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
push 0xa8ae7c
call fcn.00a9f3db
add esp, 4
mov eax, dword [0xab62d0]
xor eax, dword [0xab6308]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0xab6590
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00a9f301
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0xa8bf95
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0xa8c13c
mov ecx, dword [0xab62fc]
xor ecx, dword [0xab6304]
xor ecx, dword [0xab62f0]
and ecx, 0x20
test ecx, ecx
je 0xa8c13c
mov edx, dword [0xab62b0]
xor edx, dword [0xab62f4]
xor edx, dword [0xab62d0]
push edx
push 0xab6588
lea eax, [ebp - 0x12c]
push eax
call fcn.00a9f301
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0xa8c13c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xa8c13c
push 0x7530
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0xa8c04f
cmp dword [ebp - 0x134], 0x80
jne 0xa8c132
mov eax, dword [0xab62b0]
xor eax, dword [0xab62f4]
xor eax, dword [0xab62d0]
push eax
push 0xab6580
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00a9f301
add esp, 0xc
mov dword [ebp - 0x13c], 0
jmp 0xa8c090
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x12c
jge 0xa8c0c9
lea eax, [ebp - 0x12c]
push eax
push 0xab6574
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0xa8c0bf
jmp 0xa8c0c9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xa8c081
cmp dword [ebp - 0x138], 0
je 0xa8c125
mov ecx, dword [0xab62b0]
xor ecx, dword [0xab62f4]
xor ecx, dword [0xab62d0]
mov dword [ebp - 0x148], ecx
mov edx, dword [0xabc2d0]
push edx
call fcn.00a9f360
add esp, 4
add eax, 1
mov dword [ebp - 0x144], eax
mov eax, dword [0xabc2d0]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0xa8c74f
push 1
call fcn.00a8c760
add esp, 4
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
test ecx, ecx
je 0xa8c325
mov edx, dword [0xab62fc]
xor edx, dword [0xab6304]
xor edx, dword [0xab62f0]
and edx, 0x40
test edx, edx
jne 0xa8c325
push 0x200
lea eax, [ebp - 0x348]
push eax
push 0xab656c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0xa8c325
push pe_nt_image_headers32
push 0x23
lea ecx, [ebp - 0x348]
push ecx
call fcn.00a9f170
add esp, 0xc
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x44c], 1
jmp 0xa8c1cb
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
cmp dword [ebp - 0x44c], 0x40
jg 0xa8c205
mov eax, dword [ebp - 0x44c]
push eax
push 0xab6564
lea ecx, [ebp - 0x448]
push ecx
call fcn.00a9f301
add esp, 0xc
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0xa8c1bc
mov ecx, dword [0xab62fc]
xor ecx, dword [0xab6304]
xor ecx, dword [0xab62f0]
and ecx, 0x10
test ecx, ecx
jne 0xa8c325
lea edx, [ebp - 0x5a4]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0xabc614]
mov byte [ebp - 0x6a8], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x6a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0xabc614]
mov byte [ebp - 0x560], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x55f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0xabc2c8], 1
jne 0xa8c2a0
cmp dword [ebp - 0x598], 0
jne 0xa8c2a0
lea edx, [ebp - 0x6a8]
push edx
call fcn.00a8e08f
add esp, 4
and eax, 0xff
test eax, eax
je 0xa8c2a0
lea eax, [ebp - 0x6a8]
mov dword [ebp - 0x598], eax
push 0x104
lea ecx, [ebp - 0x560]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xa8c2bf
xor eax, eax
jmp 0xa8c74f
lea edx, [ebp - 0x45c]
push edx
lea eax, [ebp - 0x5a4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x560]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0xa8c31b
mov dword [0xabc504], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xab6544
push 0xabc508
call fcn.00a9f301
add esp, 0xc
xor eax, eax
jmp 0xa8c74f
mov eax, 1
jmp 0xa8c74f
mov edx, dword [0xab62fc]
xor edx, dword [0xab6304]
xor edx, dword [0xab62f0]
and edx, 0x10
test edx, edx
je 0xa8c5ff
mov eax, dword [0xab62d0]
xor eax, dword [0xab6308]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0xab6590
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00a9f301
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0xa8c5ff
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6ac], 0
push 0xab6538
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0xa8c3e7
push 0xab6524
mov eax, dword [ebp - 0x6b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x748], 0
je 0xa8c3e7
call dword [ebp - 0x748]
test eax, eax
je 0xa8c3e7
mov byte [ebp - 0x6ac], 1
mov dword [ebp - 0x744], 0x94
lea ecx, [ebp - 0x744]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x734], 2
je 0xa8c474
mov byte [ebp - 0x74c], 0
mov dword [ebp - 4], 0
pushf
pop eax
or eax, 0x100
push eax
popf
nop
mov dword [ebp - 4], 0xffffffff
jmp 0xa8c45d
mov edx, dword [ebp - 0x74c]
and edx, 0xff
test edx, edx
jne 0xa8c474
mov byte [0xabc79c], 1
cmp dword [ebp - 0x734], 2
jne 0xa8c4de
push ecx
bswap ecx
not ecx
push eax
not eax
mov eax, 0x6c65696d
xchg ecx, eax
mov ecx, 0xdeadc0de
xchg ecx, eax
not eax
pop eax
not ecx
pop ecx
pushfd
pushal
xor ebx, ebx
je 0xa8c4a0
add ebp, ebx
and ch, bl
jmp 0xa8c4c1
xor ebx, ebx
je 0xa8c4a4
jmp 0xa8c4b3
mov ecx, 0x34f9c987
nop
stc
je 0xa8c4b7
jmp 0xa8c4e7
xor eax, eax
je 0xa8c4a9
mov eax, 0x4840c987
test eax, eax
jne 0xa8c49d
jmp 0x930f6226
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0xa8c4f5
jmp 0xa8c566
jo 0xa8c4e7
jl 0xa8c4e5
jmp 0xa8c4e9
je 0xa8c4e2
jmp 0xa8c4e2
mov eax, dword fs:[0x20]
or eax, eax
jne 0xa8c4f5
jmp 0xa8c566
pushal
xor eax, eax
jne 0xa8c4fc
jmp 0xa8c511
jmp 0xa8c531
xor eax, eax
jne 0xa8c519
jp 0xa8c50f
jo 0xa8c513
jmp 0xa8c514
jb 0xa8c518
jns 0xa8c4fd
call dword [0x74097900]
invalid
jns 0xa8c51a
je 0xa8c503
jmp 0xa8c49c
xchg ebx, ebx
jp 0xa8c508
mov al, byte [0x5c66133]
invalid
xor esp, dword [ecx - 0x3a]
add eax, 0xabc4f0
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0xabc4f0], 1
push eax
not eax
bswap eax
pop eax
jae 0xa8c52a
pushfd
pushal
jmp 0xa8c559
sub edx, edx
jo 0xa8c53f
jmp 0xa8c550
xor ecx, ecx
je 0xa8c537
jmp 0xa8c549
stc
xor ecx, 3
je 0xa8c4cf
jmp 0xa8c546
jmp 0xa8c554
jae 0xa8c542
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0xa8c539
jmp 0xa8c533
sbb al, 0xdb
jmp 0xa8c55c
jmp 0xa8c52d
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov eax, dword [ebp - 0x6ac]
and eax, 0xff
test eax, eax
je 0xa8c5a3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0xab651c
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00a9f301
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0xa8c5ff
xor eax, eax
cmp dword [0xabc2c8], 0
sete al
push eax
call fcn.00a8e606
add esp, 4
and eax, 0xff
test eax, eax
jne 0xa8c5eb
rcl byte [eax - 0x18], 0x51
and byte [eax], al
add byte [ebx - 0xdafb3c], al
add byte [eax], al
add byte [ebp - 0x38d58a40], al
add eax, 0xabc504
push es
add byte [eax], al
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetLastError
mov dword [0xabc504], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xab650c
push 0xabc508
call fcn.00a9f301
add esp, 0xc
xor eax, eax
jmp 0xa8c74f
push 0
call fcn.00a8c760
add esp, 4
mov eax, 1
jmp 0xa8c74f
add al, ch
outsb dx, byte [esi]
add dword [eax], eax
add byte [ebx + 0x1b804c4], al
add byte [eax], al
add cl, ch
push eax
add dword [eax], eax
add al, ch
cmpsd dword [esi], dword es:[edi]
call 0x4632c605
in al, 0x60
call fcn.00a8aeab
mov dword [ebp - 0x1c], eax
pushal
xor eax, eax
jne 0xa8c60e
jmp 0xa8c623
jmp 0xa8c643
xor eax, eax
jne 0xa8c62b
jp 0xa8c621
jo 0xa8c625
jmp 0xa8c626
jb 0xa8c62a
jns 0xa8c60f
call dword [0x74097900]
invalid
jns 0xa8c62c
je 0xa8c615
jmp 0xa8c5ae
xchg ebx, ebx
jp 0xa8c61a
mov al, byte [0xd8b6133]
pop esp
popal
stosd dword es:[edi], eax
add byte [ecx - 0x18], dl
pop es
call 0xc52cc63a
add al, 0x88
inc ebp
loopne 0xa8c690
xor esp, dword [ecx - 0x75]
or eax, sym.imp.KERNEL32.dll_WriteProcessMemory
popal
mov ecx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ecx
call 0xa8ae40
add esp, 4
mov byte [ebp - 0x20], al
push eax
not eax
bswap eax
pop eax
jae 0xa8c647
enter 0x7358, 0
pushfd
pushal
jmp 0xa8c676
sub edx, edx
jo 0xa8c65c
jmp 0xa8c66d
xor ecx, ecx
je 0xa8c654
jmp 0xa8c666
stc
xor ecx, 3
je 0xa8c5ec
jmp 0xa8c663
jmp 0xa8c671
jae 0xa8c65f
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0xa8c656
jmp 0xa8c650
sbb al, 0xdb
jmp 0xa8c679
jmp 0xa8c64a
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov edx, dword [ebp - 0x20]
and edx, 0xff
test edx, edx
je 0xa8c69f
mov eax, dword [0xab62d4]
xor eax, 0x7c3
mov dword [0xab62d4], eax
push ecx
bswap ecx
not ecx
push eax
not eax
mov eax, 0x6c65696d
xchg ecx, eax
mov ecx, 0xdeadc0de
xchg ecx, eax
not eax
pop eax
not ecx
pop ecx
pushfd
pushal
xor ebx, ebx
je 0xa8c6c2
jmp 0xa8c6e3
xor ebx, ebx
je 0xa8c6c6
jmp 0xa8c6d5
mov ecx, 0x34f9c987
nop
stc
je 0xa8c6d9
jmp 0xa8c709
xor eax, eax
je 0xa8c6cb
mov eax, 0x4840c987
test eax, eax
jne 0xa8c6bf
jmp 0x930f6448
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
push 0
call fcn.00a8c760
add esp, 4
push 0
call fcn.00a9f3db
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0xa8c716
push 0xabc2c8
call dword [0xabc2ec]
add bh, bh
adc eax, 0xabc2ec
add esp, 4
mov dword [ebp - 0x1c], eax
push 0xa8ae7c
call fcn.00a9f3db
add esp, 4
cmp dword [0xabc2e8], 0
je 0xa8c732
call dword [0xabc2e8]
cmp dword [0xabc4fc], 0
je 0xa8c74c
push 0
push 0
mov ecx, dword [0xabc4f8]
push ecx
call dword [0xabc4fc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret