Function at 0x56bd0e
Capabilities:
Accept command line arguments
Check for trap flag exception
Check mutex on windows
Create process on windows
Packed with generic packer
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8d58
push 0x57ff80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff8c4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x24], 1
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x56ac8c
call fcn.0057fe5c
add esp, 4
mov eax, dword [0x5a4388]
xor eax, dword [0x5a43e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5a4688
lea ecx, [ebp - 0x128]
push ecx
call fcn.0057fe0a
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x56bdc0
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x56bf67
mov ecx, dword [0x5a4404]
xor ecx, dword [0x5a43d8]
xor ecx, dword [0x5a4414]
and ecx, 0x20
test ecx, ecx
je 0x56bf67
mov edx, dword [0x5a43d0]
xor edx, dword [0x5a43b0]
xor edx, dword [0x5a4388]
push edx
push 0x5a4680
lea eax, [ebp - 0x128]
push eax
call fcn.0057fe0a
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x56bf67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x56bf67
push 0x7530
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x56be7a
cmp dword [ebp - 0x130], 0x80
jne 0x56bf5d
mov eax, dword [0x5a43d0]
xor eax, dword [0x5a43b0]
xor eax, dword [0x5a4388]
push eax
push 0x5a4678
lea ecx, [ebp - 0x128]
push ecx
call fcn.0057fe0a
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x56bebb
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x56bef4
lea eax, [ebp - 0x128]
push eax
push 0x5a466c
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x56beea
jmp 0x56bef4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x56beac
cmp dword [ebp - 0x134], 0
je 0x56bf50
mov ecx, dword [0x5a43d0]
xor ecx, dword [0x5a43b0]
xor ecx, dword [0x5a4388]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x5aae58]
push edx
call fcn.0057fb30
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x5aae58]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x56c4c7
push 1
call fcn.0056c4d8
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x56c162
mov edx, dword [0x5a4404]
xor edx, dword [0x5a43d8]
xor edx, dword [0x5a4414]
and edx, 0x40
test edx, edx
jne 0x56c162
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x5a4664
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x56c162
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.0057f820
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x56bff6
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x56c030
mov eax, dword [ebp - 0x448]
push eax
push 0x5a465c
lea ecx, [ebp - 0x444]
push ecx
call fcn.0057fe0a
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x56bfe7
mov ecx, dword [0x5a4404]
xor ecx, dword [0x5a43d8]
xor ecx, dword [0x5a4414]
and ecx, 0x10
test ecx, ecx
jne 0x56c162
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0x5aae40]
mov byte [ebp - 0x6a4], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x6a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x5aae40]
mov byte [ebp - 0x55c], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x55b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x5aae50], 1
jne 0x56c0cb
cmp dword [ebp - 0x594], 0
jne 0x56c0cb
lea edx, [ebp - 0x6a4]
push edx
call fcn.0056d980
add esp, 4
and eax, 0xff
test eax, eax
je 0x56c0cb
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x594], eax
push 0x104
lea ecx, [ebp - 0x55c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x56c0ea
xor eax, eax
jmp 0x56c4c7
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x5a0]
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 - 0x55c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x56c146
mov dword [0x5ab090], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5a463c
push 0x5ab094
call fcn.0057fe0a
add esp, 0xc
xor eax, eax
jmp 0x56c4c7
push 0x2710
mov edx, dword [ebp - 0x458]
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, 1
jmp 0x56c4c7
mov eax, dword [0x5a4404]
xor eax, dword [0x5a43d8]
xor eax, dword [0x5a4414]
and eax, 0x10
test eax, eax
je 0x56c43e
mov ecx, dword [0x5a4388]
xor ecx, dword [0x5a43e4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5a4688
lea edx, [ebp - 0x128]
push edx
call fcn.0057fe0a
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x56c43c
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6a8], 0
push 0x5a4630
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x56c224
push 0x5a461c
mov ecx, dword [ebp - 0x6ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x56c224
call dword [ebp - 0x744]
test eax, eax
je 0x56c224
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x740], 0x94
lea edx, [ebp - 0x740]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x730], 2
je 0x56c2b0
mov byte [ebp - 0x748], 0
mov dword [ebp - 4], 0
pushf
pop eax
or eax, 0x100
push eax
popf
nop
mov dword [ebp - 4], 0xffffffff
jmp 0x56c29a
mov eax, dword [ebp - 0x748]
and eax, 0xff
test eax, eax
jne 0x56c2b0
mov byte [0x5ab3ac], 1
cmp dword [ebp - 0x730], 2
jne 0x56c31a
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 0x56c2dc
add ebp, ebx
and ch, bl
jmp 0x56c2fd
xor ebx, ebx
je 0x56c2e0
jmp 0x56c2ef
mov ecx, 0x34f9c987
nop
stc
je 0x56c2f3
jmp 0x56c323
xor eax, eax
je 0x56c2e5
mov eax, 0x4840c987
test eax, eax
jne 0x56c2d9
jmp 0x92bd6062
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 0x56c331
jmp 0x56c3a2
jo 0x56c323
jl 0x56c321
jmp 0x56c325
je 0x56c31e
jmp 0x56c31e
mov eax, dword fs:[0x20]
or eax, eax
jne 0x56c331
jmp 0x56c3a2
pushal
xor eax, eax
jne 0x56c338
jmp 0x56c34d
jmp 0x56c36d
xor eax, eax
jne 0x56c355
jp 0x56c34b
jo 0x56c34f
jmp 0x56c350
jb 0x56c354
jns 0x56c339
call dword [0x74097900]
invalid
jns 0x56c356
je 0x56c33f
jmp 0x56c2d8
xchg ebx, ebx
jp 0x56c344
mov al, byte [0x5c66133]
jl 0x56c30b
xor esp, dword [ecx - 0x3a]
add eax, 0x5ab07c
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x5ab07c], 1
pop edx
add byte [ecx], al
push eax
not eax
bswap eax
pop eax
jae 0x56c366
pushfd
pushal
jmp 0x56c395
sub edx, edx
jo 0x56c37b
jmp 0x56c38c
xor ecx, ecx
je 0x56c373
jmp 0x56c385
stc
xor ecx, 3
je 0x56c30b
jmp 0x56c382
jmp 0x56c390
jae 0x56c37e
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x56c375
jmp 0x56c36f
sbb al, 0xdb
jmp 0x56c398
jmp 0x56c369
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov ecx, dword [ebp - 0x6a8]
and ecx, 0xff
test ecx, ecx
je 0x56c3e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5a4614
lea edx, [ebp - 0x128]
push edx
call fcn.0057fe0a
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x56c43c
xor ecx, ecx
cmp dword [0x5aae50], 0
sete cl
push ecx
call fcn.0056eb78
add esp, 4
and eax, 0xff
test eax, eax
jne 0x56c428
mov dword [0x5ab090], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5a4604
push 0x5ab094
call fcn.0057fe0a
add esp, 0xc
xor eax, eax
jmp 0x56c4c7
push 0
call fcn.0056c4d8
add esp, 4
mov eax, 1
jmp 0x56c4c7
jmp 0x56c45c
mov edx, dword [0x5a438c]
xor edx, dword [0x5a43d8]
xor edx, dword [0x5a4414]
and edx, 2
test edx, edx
je 0x56c45c
call fcn.0056a082
call fcn.0056acbb
mov dword [ebp - 0x1c], eax
push 0
call fcn.0056c4d8
add esp, 4
push 0
call fcn.0057fe5c
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x56c48f
push 0x5aae50
call dword [0x5aae78]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x56ac8c
call fcn.0057fe5c
add esp, 4
cmp dword [0x5aae74], 0
je 0x56c4ab
call dword [0x5aae74]
cmp dword [0x5ab088], 0
je 0x56c4c4
push 0
push 0
mov eax, dword [0x5ab084]
push eax
call dword [0x5ab088]
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