Function at 0x4574a0
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 0xfffffffffffffffe
push 0x498fa0
push 0x46b120
mov eax, dword fs:[0]
push eax
add esp, 0xfffff8a4
mov eax, dword [0x494d30]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 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 0x456430
call fcn.0046b0c7
add esp, 4
mov eax, dword [0x49339c]
xor eax, dword [0x4933e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x496138
lea ecx, [ebp - 0x130]
push ecx
call fcn.0046b042
add esp, 0x10
lea edx, [ebp - 0x130]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x457562
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x457703
mov ecx, dword [0x4933ac]
xor ecx, dword [0x493390]
xor ecx, dword [0x4933dc]
and ecx, 0x20
je 0x457703
mov edx, dword [0x4933b0]
xor edx, dword [0x493384]
xor edx, dword [0x49339c]
push edx
push 0x496130
lea eax, [ebp - 0x130]
push eax
call fcn.0046b042
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x457703
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x457703
push 0x7530
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x457616
cmp dword [ebp - 0x13c], 0x80
jne 0x4576f9
mov eax, dword [0x4933b0]
xor eax, dword [0x493384]
xor eax, dword [0x49339c]
push eax
push 0x496128
lea ecx, [ebp - 0x130]
push ecx
call fcn.0046b042
add esp, 0xc
mov dword [ebp - 0x144], 0
jmp 0x457657
mov edx, dword [ebp - 0x144]
add edx, 1
mov dword [ebp - 0x144], edx
cmp dword [ebp - 0x144], 0x12c
jge 0x457690
lea eax, [ebp - 0x130]
push eax
push 0x49611c
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x457686
jmp 0x457690
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x457648
cmp dword [ebp - 0x140], 0
je 0x4576ec
mov ecx, dword [0x4933b0]
xor ecx, dword [0x493384]
xor ecx, dword [0x49339c]
mov dword [ebp - 0x150], ecx
mov edx, dword [0x499eb0]
push edx
call fcn.0046aa20
add esp, 4
add eax, 1
mov dword [ebp - 0x14c], eax
mov eax, dword [0x499eb0]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x150]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x457c61
push 1
call fcn.00457c80
add esp, 4
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x4578fd
mov edx, dword [0x4933ac]
xor edx, dword [0x493390]
xor edx, dword [0x4933dc]
and edx, 0x40
jne 0x4578fd
push 0x200
lea eax, [ebp - 0x350]
push eax
push 0x496114
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x4578fd
push 0xc8
push 0x23
lea ecx, [ebp - 0x350]
push ecx
call fcn.00468990
add esp, 0xc
mov byte [ebp - 0x288], 0
mov dword [ebp - 0x454], 1
jmp 0x45778b
mov edx, dword [ebp - 0x454]
add edx, 1
mov dword [ebp - 0x454], edx
cmp dword [ebp - 0x454], 0x40
jg 0x4577c5
mov eax, dword [ebp - 0x454]
push eax
push 0x49610c
lea ecx, [ebp - 0x450]
push ecx
call fcn.0046b042
add esp, 0xc
lea edx, [ebp - 0x350]
push edx
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x45777c
mov ecx, dword [0x4933ac]
xor ecx, dword [0x493390]
xor ecx, dword [0x4933dc]
and ecx, 0x10
jne 0x4578fd
lea edx, [ebp - 0x5b8]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0x495e6c]
mov byte [ebp - 0x560], al
push 0x103
push 0
lea ecx, [ebp - 0x55f]
push ecx
call fcn.00468990
add esp, 0xc
mov dl, byte [0x495e6c]
mov byte [ebp - 0x6c0], dl
push 0x103
push 0
lea eax, [ebp - 0x6bf]
push eax
call fcn.00468990
add esp, 0xc
cmp dword [0x499ea8], 1
jne 0x457864
cmp dword [ebp - 0x5ac], 0
jne 0x457864
lea ecx, [ebp - 0x560]
push ecx
call fcn.00458e30
add esp, 4
movzx edx, al
test edx, edx
je 0x457864
lea eax, [ebp - 0x560]
mov dword [ebp - 0x5ac], eax
push 0x104
lea ecx, [ebp - 0x6c0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x457883
xor eax, eax
jmp 0x457c61
lea edx, [ebp - 0x570]
push edx
lea eax, [ebp - 0x5b8]
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 - 0x6c0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4578e1
mov dword [0x49a0e8], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4960ec
push 0x49a0f0
call fcn.0046b042
add esp, 0xc
xor eax, eax
jmp 0x457c61
push 0x2710
mov edx, dword [ebp - 0x570]
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, 1
jmp 0x457c61
mov eax, dword [0x4933ac]
xor eax, dword [0x493390]
xor eax, dword [0x4933dc]
and eax, 0x10
je 0x457bce
mov ecx, dword [0x49339c]
xor ecx, dword [0x4933e0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x496138
lea edx, [ebp - 0x130]
push edx
call fcn.0046b042
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x457bcc
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6c1], 0
push 0x4960e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6c8], eax
cmp dword [ebp - 0x6c8], 0
je 0x4579bd
push 0x4960cc
mov ecx, dword [ebp - 0x6c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x764], eax
cmp dword [ebp - 0x764], 0
je 0x4579bd
call dword [ebp - 0x764]
test eax, eax
je 0x4579bd
mov byte [ebp - 0x6c1], 1
mov dword [ebp - 0x760], 0x94
lea edx, [ebp - 0x760]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x750], 2
je 0x457a47
mov byte [ebp - 0x765], 0
mov dword [ebp - 4], 0
pushf
pop eax
or eax, 0x100
push eax
popf
nop
mov dword [ebp - 4], 0xfffffffe
jmp 0x457a35
movzx edx, byte [ebp - 0x765]
test edx, edx
jne 0x457a47
mov byte [0x49a408], 1
cmp dword [ebp - 0x750], 2
jne 0x457ab1
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 0x457a73
add ebp, ebx
and ch, bl
jmp 0x457a94
xor ebx, ebx
je 0x457a77
jmp 0x457a86
mov ecx, 0x34f9c987
nop
stc
je 0x457a8a
jmp 0x457aba
xor eax, eax
je 0x457a7c
mov eax, 0x4840c987
test eax, eax
jne 0x457a70
jmp 0x92ac17f9
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 0x457ac8
jmp 0x457b39
jo 0x457aba
jl 0x457ab8
jmp 0x457abc
je 0x457ab5
jmp 0x457ab5
mov eax, dword fs:[0x20]
or eax, eax
jne 0x457ac8
jmp 0x457b39
pushal
xor eax, eax
jne 0x457acf
jmp 0x457ae4
jmp 0x457b04
xor eax, eax
jne 0x457aec
jp 0x457ae2
jo 0x457ae6
jmp 0x457ae7
jb 0x457aeb
jns 0x457ad0
call dword [0x74097900]
invalid
jns 0x457aed
je 0x457ad6
jmp 0x457a6f
xchg ebx, ebx
jp 0x457adb
mov al, byte [0x5c66133]
aam 0x9e
dec ecx
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x499ed4
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x499ed4], 1
push eax
not eax
bswap eax
pop eax
jae 0x457afd
pushfd
pushal
jmp 0x457b2c
sub edx, edx
jo 0x457b12
jmp 0x457b23
xor ecx, ecx
je 0x457b0a
jmp 0x457b1c
stc
xor ecx, 3
je 0x457aa2
jmp 0x457b19
jmp 0x457b27
jae 0x457b15
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x457b0c
jmp 0x457b06
sbb al, 0xdb
jmp 0x457b2f
jmp 0x457b00
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
movzx eax, byte [ebp - 0x6c1]
test eax, eax
je 0x457b72
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4960c4
lea ecx, [ebp - 0x130]
push ecx
call fcn.0046b042
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x457bcc
cmp dword [0x499ea8], 0
sete al
push eax
call fcn.00459c50
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x457bb8
mov dword [0x49a0e8], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4960b4
push 0x49a0f0
call fcn.0046b042
add esp, 0xc
xor eax, eax
jmp 0x457c61
push 0
call fcn.00457c80
add esp, 4
mov eax, 1
jmp 0x457c61
jmp 0x457bea
mov edx, dword [0x4933f8]
xor edx, dword [0x493390]
xor edx, dword [0x4933dc]
and edx, 2
je 0x457bea
call fcn.004555a0
call fcn.00456460
mov dword [ebp - 0x134], eax
push 0
call fcn.00457c80
add esp, 4
push 0
call fcn.0046b0c7
add esp, 4
cmp dword [ebp - 0x134], 1
jne 0x457c26
push 0x499ea8
call dword [0x499ed0]
add esp, 4
mov dword [ebp - 0x134], eax
push 0x456430
call fcn.0046b0c7
add esp, 4
cmp dword [0x499ecc], 0
je 0x457c42
call dword [0x499ecc]
cmp dword [0x49a0e0], 0
je 0x457c5b
push 0
push 0
mov eax, dword [0x49a0dc]
push eax
call dword [0x49a0e0]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004690e5
mov esp, ebp
pop ebp
ret