Function at 0x63604b
Capabilities:
Accept command line arguments
Check for trap flag exception
Check mutex on windows
Create process on windows
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673da0
push 0x64a320
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 0x634fac
call fcn.0064a1fc
add esp, 4
mov eax, dword [0x66f3f4]
xor eax, dword [0x66f3fc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x66f6a8
lea ecx, [ebp - 0x128]
push ecx
call fcn.0064a1aa
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x6360fd
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x6362a4
mov ecx, dword [0x66f3c8]
xor ecx, dword [0x66f3d8]
xor ecx, dword [0x66f3ac]
and ecx, 0x20
test ecx, ecx
je 0x6362a4
mov edx, dword [0x66f3e4]
xor edx, dword [0x66f3f0]
xor edx, dword [0x66f3f4]
push edx
push 0x66f6a0
lea eax, [ebp - 0x128]
push eax
call fcn.0063416a
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 0x6362a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x6362a4
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 0x6361b7
cmp dword [ebp - 0x130], 0x80
jne 0x63629a
mov eax, dword [0x66f3e4]
xor eax, dword [0x66f3f0]
xor eax, dword [0x66f3f4]
push eax
push 0x66f698
lea ecx, [ebp - 0x128]
push ecx
call fcn.0064a1aa
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x6361f8
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x636231
lea eax, [ebp - 0x128]
push eax
push 0x66f68c
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x636227
jmp 0x636231
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x6361e9
cmp dword [ebp - 0x134], 0
je 0x63628d
mov ecx, dword [0x66f3e4]
xor ecx, dword [0x66f3f0]
xor ecx, dword [0x66f3f4]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x675ea0]
push edx
call fcn.00649ed0
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x675ea0]
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 0x636804
push 1
call fcn.00636815
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x63649f
mov edx, dword [0x66f3c8]
xor edx, dword [0x66f3d8]
xor edx, dword [0x66f3ac]
and edx, 0x40
test edx, edx
jne 0x63649f
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x66f684
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x63649f
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.00649bc0
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x636333
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x63636d
mov eax, dword [ebp - 0x448]
push eax
push 0x66f67c
lea ecx, [ebp - 0x444]
push ecx
call fcn.0064a1aa
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x636324
mov ecx, dword [0x66f3c8]
xor ecx, dword [0x66f3d8]
xor ecx, dword [0x66f3ac]
and ecx, 0x10
test ecx, ecx
jne 0x63649f
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0x675e88]
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 [0x675e88]
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 [0x675e98], 1
jne 0x636408
cmp dword [ebp - 0x594], 0
jne 0x636408
lea edx, [ebp - 0x6a4]
push edx
call fcn.00637cb0
add esp, 4
and eax, 0xff
test eax, eax
je 0x636408
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 0x636427
xor eax, eax
jmp 0x636804
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 0x636483
mov dword [0x6760d8], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x66f65c
push 0x6760dc
call fcn.0064a1aa
add esp, 0xc
xor eax, eax
jmp 0x636804
push 0x2710
mov edx, dword [ebp - 0x458]
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, 1
jmp 0x636804
mov eax, dword [0x66f3c8]
xor eax, dword [0x66f3d8]
xor eax, dword [0x66f3ac]
and eax, 0x10
test eax, eax
je 0x63677b
mov ecx, dword [0x66f3f4]
xor ecx, dword [0x66f3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x66f6a8
lea edx, [ebp - 0x128]
push edx
call fcn.0064a1aa
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x636779
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6a8], 0
push 0x66f650
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x636561
push 0x66f63c
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 0x636561
call dword [ebp - 0x744]
test eax, eax
je 0x636561
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 0x6365ed
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 0x6365d7
mov eax, dword [ebp - 0x748]
and eax, 0xff
test eax, eax
jne 0x6365ed
mov byte [0x6763e0], 1
cmp dword [ebp - 0x730], 2
jne 0x636657
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 0x636619
add ebp, ebx
and ch, bl
jmp 0x63663a
xor ebx, ebx
je 0x63661d
jmp 0x63662c
mov ecx, 0x34f9c987
nop
stc
je 0x636630
jmp 0x636660
xor eax, eax
je 0x636622
mov eax, 0x4840c987
test eax, eax
jne 0x636616
jmp 0x92ca039f
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 0x63666e
jmp 0x6366df
jo 0x636660
jl 0x63665e
jmp 0x636662
je 0x63665b
jmp 0x63665b
mov eax, dword fs:[0x20]
or eax, eax
jne 0x63666e
jmp 0x6366df
pushal
xor eax, eax
jne 0x636675
jmp 0x63668a
jmp 0x6366aa
xor eax, eax
jne 0x636692
jp 0x636688
jo 0x63668c
jmp 0x63668d
jb 0x636691
jns 0x636676
call dword [0x74097900]
invalid
jns 0x636693
je 0x63667c
jmp 0x636615
xchg ebx, ebx
jp 0x636681
mov al, byte [0x5c66133]
les esp, [eax + 0x67]
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x6760c4
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x6760c4], 1
push eax
not eax
bswap eax
pop eax
jae 0x6366a3
pushfd
pushal
jmp 0x6366d2
sub edx, edx
jo 0x6366b8
jmp 0x6366c9
xor ecx, ecx
je 0x6366b0
jmp 0x6366c2
stc
xor ecx, 3
je 0x636648
jmp 0x6366bf
jmp 0x6366cd
jae 0x6366bb
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x6366b2
jmp 0x6366ac
sbb al, 0xdb
jmp 0x6366d5
jmp 0x6366a6
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov ecx, dword [ebp - 0x6a8]
and ecx, 0xff
test ecx, ecx
je 0x63671d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x66f634
lea edx, [ebp - 0x128]
push edx
call fcn.0064a1aa
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x636779
xor ecx, ecx
cmp dword [0x675e98], 0
sete cl
push ecx
call fcn.00638ea8
add esp, 4
and eax, 0xff
test eax, eax
jne 0x636765
mov dword [0x6760d8], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x66f624
push 0x6760dc
call fcn.0064a1aa
add esp, 0xc
xor eax, eax
jmp 0x636804
push 0
call fcn.00636815
add esp, 4
mov eax, 1
jmp 0x636804
jmp 0x636799
mov edx, dword [0x66f380]
xor edx, dword [0x66f3d8]
xor edx, dword [0x66f3ac]
and edx, 2
test edx, edx
je 0x636799
call fcn.00634482
call fcn.00634fdb
push eax
popal
je 0x63680a
inc esi
imul ebp, dword [esi + 0x64], 0x656c6946
dec esi
popal
insd dword es:[edi], dx
push edi
add byte [ecx], al
add byte [ebx + 0x7d8304c4], al
in al, 1
jne 0x6367cc
push 0x675e98
call dword [0x675ec0]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x634fac
call fcn.0064a1fc
add esp, 4
cmp dword [0x675ebc], 0
je 0x6367e8
call dword [0x675ebc]
cmp dword [0x6760d0], 0
je 0x636801
push 0
push 0
mov eax, dword [0x6760cc]
push eax
call dword [0x6760d0]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
add byte [eax], al
add byte [eax], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret