Function at 0x53ad1f
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 0x569220
push 0x543d60
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
push 0x539e0c
call fcn.00543c3b
add esp, 4
mov edx, dword [0x56626c]
xor edx, dword [0x56629c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5664ac
lea eax, [ebp - 0x12c]
push eax
call fcn.00543b61
add esp, 0x10
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x53adae
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
and edx, 0xff
test edx, edx
je 0x53af56
mov eax, dword [0x5662a0]
xor eax, dword [0x566274]
xor eax, dword [0x5662b4]
and eax, 0x20
test eax, eax
je 0x53af56
mov ecx, dword [0x56627c]
xor ecx, dword [0x5662cc]
xor ecx, dword [0x56626c]
push ecx
push str.RN_08X
lea edx, [ebp - 0x12c]
push edx
call fcn.00543b61
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x53af56
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x53af56
push 0x7530
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x53ae68
cmp dword [ebp - 0x134], 0x80
jne 0x53af4c
mov edx, dword [0x56627c]
xor edx, dword [0x5662cc]
xor edx, dword [0x56626c]
push edx
push 0x5664c0
lea eax, [ebp - 0x12c]
push eax
call fcn.00543b61
add esp, 0xc
mov dword [ebp - 0x13c], 0
jmp 0x53aeaa
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0x12c
jge 0x53aee3
lea edx, [ebp - 0x12c]
push edx
push str.MainClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x53aed9
jmp 0x53aee3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x53ae9b
cmp dword [ebp - 0x138], 0
je 0x53af3f
mov eax, dword [0x56627c]
xor eax, dword [0x5662cc]
xor eax, dword [0x56626c]
mov dword [ebp - 0x148], eax
mov ecx, dword [0x569720]
push ecx
call fcn.00543bc0
add esp, 4
add eax, 1
mov dword [ebp - 0x144], eax
mov edx, dword [0x569720]
mov dword [ebp - 0x140], edx
lea eax, [ebp - 0x148]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x53b527
push 1
call fcn.0053b538
add esp, 4
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x53b13d
mov ecx, dword [0x5662a0]
xor ecx, dword [0x566274]
xor ecx, dword [0x5662b4]
and ecx, 0x40
test ecx, ecx
jne 0x53b13d
push 0x200
lea edx, [ebp - 0x348]
push edx
push str._PAD64
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x53b13d
push 0xc8
push 0x23
lea eax, [ebp - 0x348]
push eax
call fcn.005439d0
add esp, 0xc
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x44c], 1
jmp 0x53afe4
mov ecx, dword [ebp - 0x44c]
add ecx, 1
mov dword [ebp - 0x44c], ecx
cmp dword [ebp - 0x44c], 0x40
jg 0x53b01e
mov edx, dword [ebp - 0x44c]
push edx
push str._PAD_d
lea eax, [ebp - 0x448]
push eax
call fcn.00543b61
add esp, 0xc
lea ecx, [ebp - 0x348]
push ecx
lea edx, [ebp - 0x448]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x53afd5
mov eax, dword [0x5662a0]
xor eax, dword [0x566274]
xor eax, dword [0x5662b4]
and eax, 0x10
test eax, eax
jne 0x53b13d
lea ecx, [ebp - 0x5a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dl, byte [0x569a5c]
mov byte [ebp - 0x6a8], dl
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 al, byte [0x569a60]
mov byte [ebp - 0x560], al
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 [0x569718], 1
jne 0x53b0b8
cmp dword [ebp - 0x598], 0
jne 0x53b0b8
lea ecx, [ebp - 0x6a8]
push ecx
call fcn.0053cc75
add esp, 4
and eax, 0xff
test eax, eax
je 0x53b0b8
lea edx, [ebp - 0x6a8]
mov dword [ebp - 0x598], edx
push 0x104
lea eax, [ebp - 0x560]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x53b0d7
xor eax, eax
jmp 0x53b527
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x5a4]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x560]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x53b133
mov dword [0x569950], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Location_XEB__error_code__d_
push 0x569954
call fcn.00543b61
add esp, 0xc
xor eax, eax
jmp 0x53b527
mov eax, 1
jmp 0x53b527
mov ecx, dword [0x5662a0]
xor ecx, dword [0x566274]
xor ecx, dword [0x5662b4]
and ecx, 0x10
test ecx, ecx
je 0x53b40c
mov edx, dword [0x56626c]
xor edx, dword [0x56629c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x566504
lea eax, [ebp - 0x12c]
push eax
call fcn.00543b61
add esp, 0x10
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x53b40c
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6ac], 0
push 0x566510
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x53b200
push 0x56651c
mov edx, dword [ebp - 0x6b0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x748], 0
je 0x53b200
call dword [ebp - 0x748]
test eax, eax
je 0x53b200
mov byte [ebp - 0x6ac], 1
mov dword [ebp - 0x744], 0x94
lea eax, [ebp - 0x744]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x734], 2
je 0x53b28d
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 0x53b276
mov ecx, dword [ebp - 0x74c]
and ecx, 0xff
test ecx, ecx
jne 0x53b28d
mov byte [0x569abc], 1
cmp dword [ebp - 0x734], 2
jne 0x53b2d1
pushal
xor eax, eax
jne 0x53b29d
jmp 0x53b2b2
jmp 0x53b2d2
xor eax, eax
jne 0x53b2ba
jp 0x53b2b0
jo 0x53b2b4
jmp 0x53b2b5
jb 0x53b2b9
jns 0x53b29e
call dword [0x74097900]
invalid
jns 0x53b2bb
je 0x53b2a4
jmp 0x53b23d
xchg ebx, ebx
jp 0x53b2a9
invalid
mov al, byte [0xa1646133]
xor byte [eax], al
add byte [eax], al
xor esp, dword [ecx + 0x64]
mov eax, dword [0x30]
popal
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x53b311
jmp 0x53b372
pushfd
pushal
jmp 0x53b300
sub edx, edx
jo 0x53b2e6
jmp 0x53b2f7
xor ecx, ecx
je 0x53b2de
jmp 0x53b2f0
stc
xor ecx, 3
je 0x53b276
add esi, dword [eax + edx*4 - 0x15]
add eax, 0x7410ebb9
out dx, eax
jmp 0x53b2ed
jmp 0x53b2fb
jae 0x53b2e9
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x53b2e0
jmp 0x53b2da
sbb al, 0xdb
jmp 0x53b303
jmp 0x53b2d4
popal
popfd
mov eax, dword fs:[0x20]
or eax, eax
jne 0x53b311
jmp 0x53b372
pushal
xor eax, eax
jne 0x53b318
jmp 0x53b32d
jmp 0x53b34d
xor eax, eax
jne 0x53b335
jp 0x53b32b
jo 0x53b32f
jmp 0x53b330
jb 0x53b334
jns 0x53b319
call dword [0x74097900]
invalid
jns 0x53b336
je 0x53b31f
jmp 0x53b2b8
xchg ebx, ebx
jp 0x53b324
mov al, byte [0x5c66133]
inc eax
cdq
push esi
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x569940
add dword [eax + 0x70d22beb], ebx
push cs
popal
mov byte [0x569940], 1
pushfd
pushal
jmp 0x53b36d
sub edx, edx
jo 0x53b353
jmp 0x53b364
xor ecx, ecx
je 0x53b34b
jmp 0x53b35d
stc
xor ecx, 3
je 0x53b2e3
jmp 0x53b35a
jmp 0x53b368
jae 0x53b356
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x53b34d
jmp 0x53b347
sbb al, 0xdb
jmp 0x53b370
jmp 0x53b341
popal
popfd
mov edx, dword [ebp - 0x6ac]
and edx, 0xff
test edx, edx
je 0x53b3b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x566530
lea eax, [ebp - 0x12c]
push eax
call fcn.00543b61
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x53b40c
xor edx, edx
cmp dword [0x569718], 0
sete dl
push edx
call fcn.0053d1ab
add esp, 4
and eax, 0xff
test eax, eax
jne 0x53b3f8
ret 0xe852
mov dword [0x569950], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Error_code__d_
push 0x569954
call fcn.00543b61
add esp, 0xc
xor eax, eax
jmp 0x53b527
or al, 0x33
shr cl, 0x2f
add dword [eax], eax
add byte [edx], ch
push 0
call fcn.0053b538
add esp, 4
mov eax, 1
jmp 0x53b527
call fcn.00539e3b
mov dword [ebp - 0x1c], eax
pushal
xor eax, eax
jne 0x53b41b
jmp 0x53b430
jmp 0x53b450
xor eax, eax
jne 0x53b438
jp 0x53b42e
jo 0x53b432
jmp 0x53b433
jb 0x53b437
jns 0x53b41c
call dword [0x74097900]
invalid
jns 0x53b439
je 0x53b422
jmp 0x53b3bb
xchg ebx, ebx
jp 0x53b427
mov al, byte [0x5ca16133]
xor esp, dword [ecx - 0x5f]
pop esp
popal
mov eax, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call 0x539dd0
popal
push esi
add byte [eax - 0x18], dl
mov ebp, ecx
invalid
add esp, 4
mov byte [ebp - 0x20], al
pushfd
pushal
jmp 0x53b47a
sub edx, edx
jo 0x53b460
jmp 0x53b471
xor ecx, ecx
je 0x53b458
jmp 0x53b46a
stc
xor ecx, 3
je 0x53b3f0
jmp 0x53b467
jmp 0x53b475
jae 0x53b463
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x53b45a
jmp 0x53b454
sbb al, 0xdb
jmp 0x53b47d
jmp 0x53b44e
popal
popfd
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
test ecx, ecx
je 0x53b49e
mov edx, dword [0x566258]
xor edx, 0x7c3
mov dword [0x566258], edx
pushal
xor eax, eax
jne 0x53b4a5
jmp 0x53b4ba
jmp 0x53b4da
xor eax, eax
jne 0x53b4c2
jp 0x53b4b8
jo 0x53b4bc
jmp 0x53b4bd
jb 0x53b4c1
jns 0x53b4a6
call dword [0x74097900]
invalid
jns 0x53b4c3
je 0x53b4ac
jmp 0x53b445
xchg ebx, ebx
jp 0x53b4b1
mov al, byte [0x6a6133]
xor esp, dword [ecx + 0x6a]
add al, ch
insd dword es:[edi], dx
add byte [eax], al
add byte [ebx + 0x6a04c4], al
popal
push 0
call fcn.0053b538
add esp, 4
push 0
call fcn.00543c3b
add esp, 4
cmp dword [ebp - 0x1c], 1
in al, 1
jne 0x53b4ef
push 0x569718
call dword [0x56973c]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x539e0c
call fcn.00543c3b
add esp, 4
cmp dword [0x569738], 0
je 0x53b50b
call dword [0x569738]
cmp dword [0x569948], 0
je 0x53b524
push 0
push 0
mov eax, dword [0x569944]
push eax
call dword [0x569948]
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