Function at 0x48cd1f
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 0x4bb220
push 0x495d60
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 0x48be0c
call fcn.00495c3b
add esp, 4
mov edx, dword [0x4b826c]
xor edx, dword [0x4b829c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4b84ac
lea eax, [ebp - 0x12c]
push eax
call fcn.00495b61
add esp, 0x10
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x48cdae
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
and edx, 0xff
test edx, edx
je 0x48cf56
mov eax, dword [0x4b82a0]
xor eax, dword [0x4b8274]
xor eax, dword [0x4b82b4]
and eax, 0x20
test eax, eax
je 0x48cf56
mov ecx, dword [0x4b827c]
xor ecx, dword [0x4b82cc]
xor ecx, dword [0x4b826c]
push ecx
push str.RN_08X
lea edx, [ebp - 0x12c]
push edx
call fcn.00495b61
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 0x48cf56
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48cf56
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 0x48ce68
cmp dword [ebp - 0x134], 0x80
jne 0x48cf4c
mov edx, dword [0x4b827c]
xor edx, dword [0x4b82cc]
xor edx, dword [0x4b826c]
push edx
push 0x4b84c0
lea eax, [ebp - 0x12c]
push eax
call fcn.00495b61
add esp, 0xc
mov dword [ebp - 0x13c], 0
jmp 0x48ceaa
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0x12c
jge 0x48cee3
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 0x48ced9
jmp 0x48cee3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x48ce9b
cmp dword [ebp - 0x138], 0
je 0x48cf3f
mov eax, dword [0x4b827c]
xor eax, dword [0x4b82cc]
xor eax, dword [0x4b826c]
mov dword [ebp - 0x148], eax
mov ecx, dword [0x4bb720]
push ecx
call fcn.00495bc0
add esp, 4
add eax, 1
mov dword [ebp - 0x144], eax
mov edx, dword [0x4bb720]
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 0x48d527
push 1
call fcn.0048d538
add esp, 4
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x48d13d
mov ecx, dword [0x4b82a0]
xor ecx, dword [0x4b8274]
xor ecx, dword [0x4b82b4]
and ecx, 0x40
test ecx, ecx
jne 0x48d13d
push 0x200
lea edx, [ebp - 0x348]
push edx
push str._PAD64
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x48d13d
push 0xc8
push 0x23
lea eax, [ebp - 0x348]
push eax
call fcn.004959d0
add esp, 0xc
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x44c], 1
jmp 0x48cfe4
mov ecx, dword [ebp - 0x44c]
add ecx, 1
mov dword [ebp - 0x44c], ecx
cmp dword [ebp - 0x44c], 0x40
jg 0x48d01e
mov edx, dword [ebp - 0x44c]
push edx
push str._PAD_d
lea eax, [ebp - 0x448]
push eax
call fcn.00495b61
add esp, 0xc
lea ecx, [ebp - 0x348]
push ecx
lea edx, [ebp - 0x448]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x48cfd5
mov eax, dword [0x4b82a0]
xor eax, dword [0x4b8274]
xor eax, dword [0x4b82b4]
and eax, 0x10
test eax, eax
jne 0x48d13d
lea ecx, [ebp - 0x5a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dl, byte [0x4bba5c]
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 [0x4bba60]
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 [0x4bb718], 1
jne 0x48d0b8
cmp dword [ebp - 0x598], 0
jne 0x48d0b8
lea ecx, [ebp - 0x6a8]
push ecx
call fcn.0048ec75
add esp, 4
and eax, 0xff
test eax, eax
je 0x48d0b8
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 0x48d0d7
xor eax, eax
jmp 0x48d527
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 0x48d133
mov dword [0x4bb950], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Location_XEB__error_code__d_
push 0x4bb954
call fcn.00495b61
add esp, 0xc
xor eax, eax
jmp 0x48d527
mov eax, 1
jmp 0x48d527
mov ecx, dword [0x4b82a0]
xor ecx, dword [0x4b8274]
xor ecx, dword [0x4b82b4]
and ecx, 0x10
test ecx, ecx
je 0x48d40c
mov edx, dword [0x4b826c]
xor edx, dword [0x4b829c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4b8504
lea eax, [ebp - 0x12c]
push eax
call fcn.00495b61
add esp, 0x10
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x48d40c
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6ac], 0
push 0x4b8510
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x48d200
push 0x4b851c
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 0x48d200
call dword [ebp - 0x748]
test eax, eax
je 0x48d200
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 0x48d28d
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 0x48d276
mov ecx, dword [ebp - 0x74c]
and ecx, 0xff
test ecx, ecx
jne 0x48d28d
mov byte [0x4bbabc], 1
cmp dword [ebp - 0x734], 2
jne 0x48d2d1
pushal
xor eax, eax
jne 0x48d29d
jmp 0x48d2b2
jmp 0x48d2d2
xor eax, eax
jne 0x48d2ba
jp 0x48d2b0
jo 0x48d2b4
jmp 0x48d2b5
jb 0x48d2b9
jns 0x48d29e
call dword [0x74097900]
invalid
jns 0x48d2bb
je 0x48d2a4
jmp 0x48d23d
xchg ebx, ebx
jp 0x48d2a9
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 0x48d311
jmp 0x48d372
pushfd
pushal
jmp 0x48d300
sub edx, edx
jo 0x48d2e6
jmp 0x48d2f7
xor ecx, ecx
je 0x48d2de
jmp 0x48d2f0
stc
xor ecx, 3
je 0x48d276
add esi, dword [eax + edx*4 - 0x15]
add eax, 0x7410ebb9
out dx, eax
jmp 0x48d2ed
jmp 0x48d2fb
jae 0x48d2e9
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x48d2e0
jmp 0x48d2da
sbb al, 0xdb
jmp 0x48d303
jmp 0x48d2d4
popal
popfd
mov eax, dword fs:[0x20]
or eax, eax
jne 0x48d311
jmp 0x48d372
pushal
xor eax, eax
jne 0x48d318
jmp 0x48d32d
jmp 0x48d34d
xor eax, eax
jne 0x48d335
jp 0x48d32b
jo 0x48d32f
jmp 0x48d330
jb 0x48d334
jns 0x48d319
call dword [0x74097900]
invalid
jns 0x48d336
je 0x48d31f
jmp 0x48d2b8
xchg ebx, ebx
jp 0x48d324
mov al, byte [0x5c66133]
inc eax
mov ecx, 0x9c01004b
xor esp, dword [ecx - 0x3a]
add eax, 0x4bb940
add dword [eax + 0x70d22beb], ebx
push cs
popal
mov byte [0x4bb940], 1
pushfd
pushal
jmp 0x48d36d
sub edx, edx
jo 0x48d353
jmp 0x48d364
xor ecx, ecx
je 0x48d34b
jmp 0x48d35d
stc
xor ecx, 3
je 0x48d2e3
jmp 0x48d35a
jmp 0x48d368
jae 0x48d356
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x48d34d
jmp 0x48d347
sbb al, 0xdb
jmp 0x48d370
jmp 0x48d341
popal
popfd
mov edx, dword [ebp - 0x6ac]
and edx, 0xff
test edx, edx
je 0x48d3b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4b8530
lea eax, [ebp - 0x12c]
push eax
call fcn.00495b61
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x48d40c
xor edx, edx
cmp dword [0x4bb718], 0
sete dl
push edx
call fcn.0048f1ab
add esp, 4
and eax, 0xff
test eax, eax
jne 0x48d3f8
ret 0xe852
mov dword [0x4bb950], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Error_code__d_
push 0x4bb954
call fcn.00495b61
add esp, 0xc
xor eax, eax
jmp 0x48d527
or al, 0x33
shr cl, 0x2f
add dword [eax], eax
add byte [edx], ch
push 0
call fcn.0048d538
add esp, 4
mov eax, 1
jmp 0x48d527
call fcn.0048be3b
mov dword [ebp - 0x1c], eax
pushal
xor eax, eax
jne 0x48d41b
jmp 0x48d430
jmp 0x48d450
xor eax, eax
jne 0x48d438
jp 0x48d42e
jo 0x48d432
jmp 0x48d433
jb 0x48d437
jns 0x48d41c
call dword [0x74097900]
invalid
jns 0x48d439
je 0x48d422
jmp 0x48d3bb
xchg ebx, ebx
jp 0x48d427
mov al, byte [0x5ca16133]
xor esp, dword [ecx - 0x5f]
pop esp
popal
mov eax, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call 0x48bdd0
or dword [ebx], 0xe98be850
invalid
add esp, 4
mov byte [ebp - 0x20], al
pushfd
pushal
jmp 0x48d47a
sub edx, edx
jo 0x48d460
jmp 0x48d471
xor ecx, ecx
je 0x48d458
jmp 0x48d46a
stc
xor ecx, 3
je 0x48d3f0
jmp 0x48d467
jmp 0x48d475
jae 0x48d463
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x48d45a
jmp 0x48d454
sbb al, 0xdb
jmp 0x48d47d
jmp 0x48d44e
popal
popfd
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
test ecx, ecx
je 0x48d49e
mov edx, dword [0x4b8258]
xor edx, 0x7c3
mov dword [0x4b8258], edx
pushal
xor eax, eax
jne 0x48d4a5
jmp 0x48d4ba
jmp 0x48d4da
xor eax, eax
jne 0x48d4c2
jp 0x48d4b8
jo 0x48d4bc
jmp 0x48d4bd
jb 0x48d4c1
jns 0x48d4a6
call dword [0x74097900]
invalid
jns 0x48d4c3
je 0x48d4ac
jmp 0x48d445
xchg ebx, ebx
jp 0x48d4b1
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.0048d538
add esp, 4
push 0
call fcn.00495c3b
add esp, 4
cmp dword [ebp - 0x1c], 1
in al, 1
jne 0x48d4ef
push 0x4bb718
call dword [0x4bb73c]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x48be0c
call fcn.00495c3b
add esp, 4
cmp dword [0x4bb738], 0
je 0x48d50b
call dword [0x4bb738]
cmp dword [0x4bb948], 0
je 0x48d524
push 0
push 0
mov eax, dword [0x4bb944]
push eax
call dword [0x4bb948]
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