Function at 0x102dd66b
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 0x10319ef0
push 0x102f1480
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 0x102dc5cc
call fcn.102f135c
add esp, 4
mov eax, dword [0x103153e4]
xor eax, dword [0x10315420]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x103156d0
lea ecx, [ebp - 0x128]
push ecx
call fcn.102f130a
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x102dd71d
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x102dd8c4
mov ecx, dword [0x103153b0]
xor ecx, dword [0x103153fc]
xor ecx, dword [0x103153f0]
and ecx, 0x20
test ecx, ecx
je 0x102dd8c4
mov edx, dword [0x103153a8]
xor edx, dword [0x10315418]
xor edx, dword [0x103153e4]
push edx
push 0x103156c8
lea eax, [ebp - 0x128]
push eax
call fcn.102f130a
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 0x102dd8c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x102dd8c4
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 0x102dd7d7
cmp dword [ebp - 0x130], 0x80
jne 0x102dd8ba
mov eax, dword [0x103153a8]
xor eax, dword [0x10315418]
xor eax, dword [0x103153e4]
push eax
push 0x103156c0
lea ecx, [ebp - 0x128]
push ecx
call fcn.102f130a
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x102dd818
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x102dd851
lea eax, [ebp - 0x128]
push eax
push 0x103156b4
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x102dd847
jmp 0x102dd851
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x102dd809
cmp dword [ebp - 0x134], 0
je 0x102dd8ad
mov ecx, dword [0x103153a8]
xor ecx, dword [0x10315418]
xor ecx, dword [0x103153e4]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x1031c138]
push edx
call fcn.102f1030
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x1031c138]
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 0x102dde24
push 1
call fcn.102dde35
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x102ddabf
mov edx, dword [0x103153b0]
xor edx, dword [0x103153fc]
xor edx, dword [0x103153f0]
and edx, 0x40
test edx, edx
jne 0x102ddabf
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x103156ac
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x102ddabf
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.102f0d20
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x102dd953
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x102dd98d
mov eax, dword [ebp - 0x448]
push eax
push 0x103156a4
lea ecx, [ebp - 0x444]
push ecx
call fcn.102f130a
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x102dd944
mov ecx, dword [0x103153b0]
xor ecx, dword [0x103153fc]
xor ecx, dword [0x103153f0]
and ecx, 0x10
test ecx, ecx
jne 0x102ddabf
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0x1031c120]
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 [0x1031c120]
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 [0x1031c130], 1
jne 0x102dda28
cmp dword [ebp - 0x594], 0
jne 0x102dda28
lea edx, [ebp - 0x6a4]
push edx
call fcn.102df2d0
add esp, 4
and eax, 0xff
test eax, eax
je 0x102dda28
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 0x102dda47
xor eax, eax
jmp 0x102dde24
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 0x102ddaa3
mov dword [0x1031c370], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10315684
push 0x1031c374
call fcn.102f130a
add esp, 0xc
xor eax, eax
jmp 0x102dde24
push 0x2710
mov edx, dword [ebp - 0x458]
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, 1
jmp 0x102dde24
mov eax, dword [0x103153b0]
xor eax, dword [0x103153fc]
xor eax, dword [0x103153f0]
and eax, 0x10
test eax, eax
je 0x102ddd9b
mov ecx, dword [0x103153e4]
xor ecx, dword [0x10315420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x103156d0
lea edx, [ebp - 0x128]
push edx
call fcn.102f130a
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x102ddd99
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6a8], 0
push 0x10315678
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x102ddb81
push 0x10315664
mov ecx, dword [ebp - 0x6ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x102ddb81
call dword [ebp - 0x744]
test eax, eax
je 0x102ddb81
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x740], 0x94
lea edx, [ebp - 0x740]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x730], 2
je 0x102ddc0d
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 0x102ddbf7
mov eax, dword [ebp - 0x748]
and eax, 0xff
test eax, eax
jne 0x102ddc0d
mov byte [0x1031c740], 1
cmp dword [ebp - 0x730], 2
jne 0x102ddc77
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 0x102ddc39
add ebp, ebx
and ch, bl
jmp 0x102ddc5a
xor ebx, ebx
je 0x102ddc3d
jmp 0x102ddc4c
mov ecx, 0x34f9c987
nop
stc
je 0x102ddc50
jmp 0x102ddc80
xor eax, eax
je 0x102ddc42
mov eax, 0x4840c987
test eax, eax
jne 0x102ddc36
jmp 0xa29479bf
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 0x102ddc8e
jmp 0x102ddcff
jo 0x102ddc80
jl 0x102ddc7e
jmp 0x102ddc82
je 0x102ddc7b
jmp 0x102ddc7b
mov eax, dword fs:[0x20]
or eax, eax
jne 0x102ddc8e
jmp 0x102ddcff
pushal
xor eax, eax
jne 0x102ddc95
jmp 0x102ddcaa
jmp 0x102ddcca
xor eax, eax
jne 0x102ddcb2
jp 0x102ddca8
jo 0x102ddcac
jmp 0x102ddcad
jb 0x102ddcb1
jns 0x102ddc96
call dword [0x74097900]
invalid
jns 0x102ddcb3
je 0x102ddc9c
jmp 0x102ddc35
xchg ebx, ebx
jp 0x102ddca1
mov al, byte [0x5c66133]
pop esp
ret
xor esp, dword [ecx - 0x3a]
add eax, 0x1031c35c
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x1031c35c], 1
push eax
not eax
bswap eax
pop eax
jae 0x102ddcc3
pushfd
pushal
jmp 0x102ddcf2
sub edx, edx
jo 0x102ddcd8
jmp 0x102ddce9
xor ecx, ecx
je 0x102ddcd0
jmp 0x102ddce2
stc
xor ecx, 3
je 0x102ddc68
jmp 0x102ddcdf
jmp 0x102ddced
jae 0x102ddcdb
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x102ddcd2
jmp 0x102ddccc
sbb al, 0xdb
jmp 0x102ddcf5
jmp 0x102ddcc6
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov ecx, dword [ebp - 0x6a8]
and ecx, 0xff
test ecx, ecx
je 0x102ddd3d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x1031565c
lea edx, [ebp - 0x128]
push edx
call fcn.102f130a
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x102ddd99
xor ecx, ecx
cmp dword [0x1031c130], 0
sete cl
push ecx
call fcn.102e04da
add esp, 4
and eax, 0xff
test eax, eax
jne 0x102ddd85
mov dword [0x1031c370], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1031564c
push 0x1031c374
call fcn.102f130a
add esp, 0xc
xor eax, eax
jmp 0x102dde24
push 0
call fcn.102dde35
add esp, 4
mov eax, 1
jmp 0x102dde24
jmp 0x102dddb9
mov edx, dword [0x103153dc]
xor edx, dword [0x103153fc]
xor edx, dword [0x103153f0]
and edx, 2
test edx, edx
je 0x102dddb9
call fcn.102dbaa2
call fcn.102dc5fb
mov dword [ebp - 0x1c], eax
push 0
call fcn.102dde35
add esp, 4
push 0
call fcn.102f135c
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x102dddec
push 0x1031c130
call dword [0x1031c158]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x102dc5cc
call fcn.102f135c
add esp, 4
cmp dword [0x1031c154], 0
je 0x102dde08
call dword [0x1031c154]
cmp dword [0x1031c368], 0
je 0x102dde21
push 0
push 0
mov eax, dword [0x1031c364]
push eax
call dword [0x1031c368]
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