Function at 0x7297f0
Capabilities:
Check mutex on windows
Packed with generic packer
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a40dd
mov eax, dword fs:[0]
push eax
sub esp, 0x7f8
mov eax, dword [0x7cb8a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 1
call fcn.0076bb90
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
push 0x728500
call fcn.0077af5e
add esp, 4
mov eax, dword [0x7e15f4]
mov ecx, dword [0x7e15f4]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x7cdee8
push 0x104
lea eax, [ebp - 0x124]
push eax
call fcn.0077a9cc
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x7298b4
mov byte [ebp - 0xd], 0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x729a8c
mov eax, dword [0x7e15f4]
mov ecx, dword [0x7e15f4]
mov edx, dword [eax + 0x80]
xor edx, dword [ecx + 0x50]
mov eax, dword [0x7e15f4]
xor edx, dword [eax + 0x64]
and edx, 0x20
je 0x729a8c
mov ecx, dword [0x7e15f4]
mov edx, dword [0x7e15f4]
mov eax, dword [ecx + 0x84]
xor eax, dword [edx + 0x54]
mov ecx, dword [0x7e15f4]
xor eax, dword [ecx + 0xc]
push eax
push 0x7cdee0
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.0077a9cc
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x729a8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x729a8c
push 0x7530
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x729983
cmp dword [ebp - 0x130], 0x80
jne 0x729a82
mov edx, dword [0x7e15f4]
mov eax, dword [0x7e15f4]
mov ecx, dword [edx + 0x84]
xor ecx, dword [eax + 0x54]
mov edx, dword [0x7e15f4]
xor ecx, dword [edx + 0xc]
push ecx
push 0x7cded8
push 0x104
lea eax, [ebp - 0x124]
push eax
call fcn.0077a9cc
add esp, 0x10
mov dword [ebp - 0x138], 0
jmp 0x7299d5
mov ecx, dword [ebp - 0x138]
add ecx, 1
mov dword [ebp - 0x138], ecx
cmp dword [ebp - 0x138], 0x12c
jge 0x729a0e
lea edx, [ebp - 0x124]
push edx
push 0x7cdecc
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x729a04
jmp 0x729a0e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x7299c6
cmp dword [ebp - 0x134], 0
je 0x729a75
mov eax, dword [0x7e15f4]
mov ecx, dword [0x7e15f4]
mov edx, dword [eax + 0x84]
xor edx, dword [ecx + 0x54]
mov eax, dword [0x7e15f4]
xor edx, dword [eax + 0xc]
mov dword [ebp - 0x144], edx
mov ecx, dword [0x7e1398]
push ecx
call fcn.00775e70
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov edx, dword [0x7e1398]
mov dword [ebp - 0x13c], edx
lea eax, [ebp - 0x144]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x72a131
push 1
call fcn.0072a150
add esp, 4
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x729e18
mov ecx, dword [0x7e15f4]
mov edx, dword [0x7e15f4]
mov eax, dword [ecx + 0x80]
xor eax, dword [edx + 0x50]
mov ecx, dword [0x7e15f4]
xor eax, dword [ecx + 0x64]
and eax, 0x40
jne 0x729e18
push 0x200
lea edx, [ebp - 0x344]
push edx
push 0x7cdec4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x729e18
push 0xc8
push 0x23
lea eax, [ebp - 0x344]
push eax
call fcn.007770a0
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x729b20
mov ecx, dword [ebp - 0x448]
add ecx, 1
mov dword [ebp - 0x448], ecx
cmp dword [ebp - 0x448], 0x40
jg 0x729b5f
mov edx, dword [ebp - 0x448]
push edx
push 0x7cdebc
push 0x100
lea eax, [ebp - 0x444]
push eax
call fcn.0077a9cc
add esp, 0x10
lea ecx, [ebp - 0x344]
push ecx
lea edx, [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x729b11
mov eax, dword [0x7e15f4]
mov ecx, dword [0x7e15f4]
mov edx, dword [eax + 0x80]
xor edx, dword [ecx + 0x50]
mov eax, dword [0x7e15f4]
xor edx, dword [eax + 0x64]
and edx, 0x10
jne 0x729e18
lea ecx, [ebp - 0x624]
push ecx
call fcn.00756ec0
add esp, 4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x708]
push edx
call fcn.00710cb0
add esp, 4
mov dword [ebp - 0x7f8], eax
mov eax, dword [ebp - 0x7f8]
mov dword [ebp - 0x7fc], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x7fc]
push ecx
lea ecx, [ebp - 0x4ac]
call fcn.007510f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x708]
call fcn.007171b0
cmp dword [0x7e1390], 1
jne 0x729c15
cmp dword [ebp - 0x618], 0
jne 0x729c15
lea ecx, [ebp - 0x4ac]
call fcn.00751db0
movzx edx, al
test edx, edx
jne 0x729c15
lea ecx, [ebp - 0x4ac]
call fcn.00751950
mov dword [ebp - 0x618], eax
push 0
lea eax, [ebp - 0x644]
push eax
call fcn.007567a0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x644]
call fcn.00717240
movzx ecx, al
test ecx, ecx
je 0x729c81
mov dword [ebp - 0x70c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x644]
call fcn.007171b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
call fcn.00711650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.00716c40
mov eax, dword [ebp - 0x70c]
jmp 0x72a131
lea edx, [ebp - 0x78c]
push edx
call fcn.007570e0
add esp, 4
mov dword [ebp - 0x800], eax
mov eax, dword [ebp - 0x800]
mov dword [ebp - 0x804], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x770]
call fcn.007115d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x644]
call fcn.00717200
push eax
lea ecx, [ebp - 0x7ec]
call fcn.007115d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x4bc]
push edx
lea eax, [ebp - 0x624]
push eax
push 0x7e2350
push 0x7e2350
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x770]
push ecx
lea edx, [ebp - 0x7ec]
push edx
call fcn.007569c0
add esp, 0x28
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x70d], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7ec]
call fcn.00711650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x770]
call fcn.00711650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78c]
call fcn.00721f40
movzx eax, byte [ebp - 0x70d]
test eax, eax
je 0x729dc1
mov dword [0x7e14d0], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7cde9c
push 0x100
push 0x7e14d8
call fcn.0077a9cc
add esp, 0x10
mov dword [ebp - 0x7f0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x644]
call fcn.007171b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
call fcn.00711650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.00716c40
mov eax, dword [ebp - 0x7f0]
jmp 0x72a131
push 0x2710
mov ecx, dword [ebp - 0x4bc]
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov dword [ebp - 0x7f4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x644]
call fcn.007171b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4ac]
call fcn.00711650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.00716c40
mov eax, dword [ebp - 0x7f4]
jmp 0x72a131
mov edx, dword [0x7e15f4]
mov eax, dword [0x7e15f4]
mov ecx, dword [edx + 0x80]
xor ecx, dword [eax + 0x50]
mov edx, dword [0x7e15f4]
xor ecx, dword [edx + 0x64]
and ecx, 0x10
je 0x72a096
mov eax, dword [0x7e15f4]
mov ecx, dword [0x7e15f4]
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x7cdee8
push 0x104
lea eax, [ebp - 0x124]
push eax
call fcn.0077a9cc
add esp, 0x14
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x72a094
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x645], 0
push 0x7cd90c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
je 0x729eee
push 0x7cde88
mov edx, dword [ebp - 0x64c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6e8], eax
cmp dword [ebp - 0x6e8], 0
je 0x729eee
call dword [ebp - 0x6e8]
test eax, eax
je 0x729eee
mov byte [ebp - 0x645], 1
mov dword [ebp - 0x6e4], 0x94
lea eax, [ebp - 0x6e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x6d4], 2
jne 0x729f6f
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 0x729f31
add ebp, ebx
and ch, bl
jmp 0x729f52
xor ebx, ebx
je 0x729f35
jmp 0x729f44
mov ecx, 0x34f9c987
nop
stc
je 0x729f48
jmp 0x729f78
xor eax, eax
je 0x729f3a
mov eax, 0x4840c987
test eax, eax
jne 0x729f2e
jmp 0x92d93cb7
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 0x729f86
jmp 0x729ff7
jo 0x729f78
jl 0x729f76
jmp 0x729f7a
je 0x729f73
jmp 0x729f73
mov eax, dword fs:[0x20]
or eax, eax
jne 0x729f86
jmp 0x729ff7
pushal
xor eax, eax
jne 0x729f8d
jmp 0x729fa2
jmp 0x729fc2
xor eax, eax
jne 0x729faa
jp 0x729fa0
jo 0x729fa4
jmp 0x729fa5
jb 0x729fa9
jns 0x729f8e
call dword [0x74097900]
invalid
jns 0x729fab
je 0x729f94
jmp 0x729f2d
xchg ebx, ebx
jp 0x729f99
mov al, byte [0x5c66133]
mov esp, 0x1007e13
xor esp, dword [ecx - 0x3a]
add eax, 0x7e13bc
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x7e13bc], 1
push eax
not eax
bswap eax
pop eax
jae 0x729fbb
pushfd
pushal
jmp 0x729fea
sub edx, edx
jo 0x729fd0
jmp 0x729fe1
xor ecx, ecx
je 0x729fc8
jmp 0x729fda
stc
xor ecx, 3
je 0x729f60
jmp 0x729fd7
jmp 0x729fe5
jae 0x729fd3
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x729fca
jmp 0x729fc4
sbb al, 0xdb
jmp 0x729fed
jmp 0x729fbe
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
movzx ecx, byte [ebp - 0x645]
test ecx, ecx
je 0x72a035
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x7cde80
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.0077a9cc
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x72a094
cmp dword [0x7e1390], 0
sete cl
push ecx
call fcn.00715aa0
add esp, 4
movzx edx, al
test edx, edx
jne 0x72a080
mov dword [0x7e14d0], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7cde70
push 0x100
push 0x7e14d8
call fcn.0077a9cc
add esp, 0x10
xor eax, eax
jmp 0x72a131
push 0
call fcn.0072a150
add esp, 4
mov eax, 1
jmp 0x72a131
jmp 0x72a0b9
mov eax, dword [0x7e15f4]
mov ecx, dword [0x7e15f4]
mov edx, dword [eax + 0x18]
xor edx, dword [ecx + 0x50]
mov eax, dword [0x7e15f4]
xor edx, dword [eax + 0x64]
and edx, 2
je 0x72a0b9
call fcn.00749900
call fcn.00728530
mov dword [ebp - 0x128], eax
push 0
call fcn.0072a150
add esp, 4
push 0
call fcn.0077af5e
add esp, 4
cmp dword [ebp - 0x128], 1
jne 0x72a0f5
push 0x7e1390
call dword [0x7e13b8]
add esp, 4
mov dword [ebp - 0x128], eax
push 0x728500
call fcn.0077af5e
add esp, 4
cmp dword [0x7e13b4], 0
je 0x72a111
call dword [0x7e13b4]
cmp dword [0x7e14c8], 0
je 0x72a12b
push 0
push 0
mov ecx, dword [0x7e14c4]
push ecx
call dword [0x7e14c8]
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.007764a2
mov esp, ebp
pop ebp
ret