Function at 0x4567b3
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 0x485720
push 0x46a3e0
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 0x45574c
call fcn.0046a2bb
add esp, 4
mov eax, dword [0x4812b4]
xor eax, dword [0x4812d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4815a4
lea ecx, [ebp - 0x128]
push ecx
call fcn.0046a1e1
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x456865
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x456a0c
mov ecx, dword [0x4812d8]
xor ecx, dword [0x4812f8]
xor ecx, dword [0x4812e4]
and ecx, 0x20
test ecx, ecx
je 0x456a0c
mov edx, dword [0x481308]
xor edx, dword [0x4812f0]
xor edx, dword [0x4812b4]
push edx
push 0x48159c
lea eax, [ebp - 0x128]
push eax
call fcn.0046a1e1
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 0x456a0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x456a0c
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 0x45691f
cmp dword [ebp - 0x130], 0x80
jne 0x456a02
mov eax, dword [0x481308]
xor eax, dword [0x4812f0]
xor eax, dword [0x4812b4]
push eax
push 0x481594
lea ecx, [ebp - 0x128]
push ecx
call fcn.0046a1e1
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x456960
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x456999
lea eax, [ebp - 0x128]
push eax
push 0x481588
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x45698f
jmp 0x456999
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x456951
cmp dword [ebp - 0x134], 0
je 0x4569f5
mov ecx, dword [0x481308]
xor ecx, dword [0x4812f0]
xor ecx, dword [0x4812b4]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x4872c8]
push edx
call fcn.0046a240
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x4872c8]
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 0x456f35
push 1
call fcn.00456f46
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x456bf5
mov edx, dword [0x4812d8]
xor edx, dword [0x4812f8]
xor edx, dword [0x4812e4]
and edx, 0x40
test edx, edx
jne 0x456bf5
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x481580
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x456bf5
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.0046a050
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x456a9b
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x456ad5
mov eax, dword [ebp - 0x448]
push eax
push 0x481578
lea ecx, [ebp - 0x444]
push ecx
call fcn.0046a1e1
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x456a8c
mov ecx, dword [0x4812d8]
xor ecx, dword [0x4812f8]
xor ecx, dword [0x4812e4]
and ecx, 0x10
test ecx, ecx
jne 0x456bf5
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0x48760c]
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 [0x48760c]
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 [0x4872c0], 1
jne 0x456b70
cmp dword [ebp - 0x594], 0
jne 0x456b70
lea edx, [ebp - 0x6a4]
push edx
call fcn.0045886f
add esp, 4
and eax, 0xff
test eax, eax
je 0x456b70
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 0x456b8f
xor eax, eax
jmp 0x456f35
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 0x456beb
mov dword [0x4874fc], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x481558
push 0x487500
call fcn.0046a1e1
add esp, 0xc
xor eax, eax
jmp 0x456f35
mov eax, 1
jmp 0x456f35
mov edx, dword [0x4812d8]
xor edx, dword [0x4812f8]
xor edx, dword [0x4812e4]
and edx, 0x10
test edx, edx
je 0x456ec9
mov eax, dword [0x4812b4]
xor eax, dword [0x4812d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4815a4
lea ecx, [ebp - 0x128]
push ecx
call fcn.0046a1e1
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x456ec9
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6a8], 0
push 0x48154c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x456cb7
push 0x481538
mov eax, dword [ebp - 0x6ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x456cb7
call dword [ebp - 0x744]
test eax, eax
je 0x456cb7
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x740], 0x94
lea ecx, [ebp - 0x740]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x730], 2
je 0x456d44
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 0x456d2d
mov edx, dword [ebp - 0x748]
and edx, 0xff
test edx, edx
jne 0x456d44
mov byte [0x4877b4], 1
cmp dword [ebp - 0x730], 2
jne 0x456dae
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 0x456d70
add ebp, ebx
and ch, bl
jmp 0x456d91
xor ebx, ebx
je 0x456d74
jmp 0x456d83
mov ecx, 0x34f9c987
nop
stc
je 0x456d87
jmp 0x456db7
xor eax, eax
je 0x456d79
mov eax, 0x4840c987
test eax, eax
jne 0x456d6d
jmp 0x92ac0af6
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 0x456dc5
jmp 0x456e36
jo 0x456db7
jl 0x456db5
jmp 0x456db9
je 0x456db2
jmp 0x456db2
mov eax, dword fs:[0x20]
or eax, eax
jne 0x456dc5
jmp 0x456e36
pushal
xor eax, eax
jne 0x456dcc
jmp 0x456de1
jmp 0x456e01
xor eax, eax
jne 0x456de9
jp 0x456ddf
jo 0x456de3
jmp 0x456de4
jb 0x456de8
jns 0x456dcd
call dword [0x74097900]
invalid
jns 0x456dea
je 0x456dd3
jmp 0x456d6c
xchg ebx, ebx
jp 0x456dd8
mov al, byte [0x5c66133]
call 0x145b666
xor esp, dword [ecx - 0x3a]
add eax, 0x4874e8
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x4874e8], 1
push eax
not eax
bswap eax
pop eax
jae 0x456dfa
pushfd
pushal
jmp 0x456e29
sub edx, edx
jo 0x456e0f
jmp 0x456e20
xor ecx, ecx
je 0x456e07
jmp 0x456e19
stc
xor ecx, 3
je 0x456d9f
jmp 0x456e16
jmp 0x456e24
jae 0x456e12
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x456e09
jmp 0x456e03
sbb al, 0xdb
jmp 0x456e2c
jmp 0x456dfd
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov eax, dword [ebp - 0x6a8]
and eax, 0xff
test eax, eax
je 0x456e73
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x481530
lea ecx, [ebp - 0x128]
push ecx
call fcn.0046a1e1
add esp, 0xc
lea edx, [ebp - 0x128]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x456ec9
xor eax, eax
cmp dword [0x4872c0], 0
sete al
push eax
call fcn.004595bc
add esp, 4
and eax, 0xff
test eax, eax
jne 0x456eb8
mov dword [0x4874fc], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x481520
push 0x487500
call fcn.0046a1e1
add esp, 0xc
xor eax, eax
jmp 0x456f35
push 0
call fcn.00456f46
add esp, 4
mov eax, 1
jmp 0x456f35
call fcn.0045577b
mov dword [ebp - 0x1c], eax
push 0
call fcn.00456f46
add esp, 4
push 0
call fcn.0046a2bb
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x456efc
push 0x4872c0
call dword [0x4872e4]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x45574c
call fcn.0046a2bb
add esp, 4
cmp dword [0x4872e0], 0
je 0x456f18
call dword [0x4872e0]
cmp dword [0x4874f4], 0
je 0x456f32
push 0
push 0
mov ecx, dword [0x4874f0]
push ecx
call dword [0x4874f4]
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