Function at 0x44b862
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 0x46a1e0
push 0x451a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff8c8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x20], 1
push 0x44abeb
call fcn.0045191b
add esp, 4
mov eax, dword [0x4672b0]
xor eax, dword [0x467280]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4674a8
lea ecx, [ebp - 0x124]
push ecx
call fcn.00451841
add esp, 0x10
lea edx, [ebp - 0x124]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x44b8df
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
and eax, 0xff
test eax, eax
je 0x44ba86
mov ecx, dword [0x46727c]
xor ecx, dword [0x4672a0]
xor ecx, dword [0x467240]
and ecx, 0x20
test ecx, ecx
je 0x44ba86
mov edx, dword [0x467254]
xor edx, dword [0x4672ac]
xor edx, dword [0x4672b0]
push edx
push 0x4674b4
lea eax, [ebp - 0x124]
push eax
call fcn.00451841
add esp, 0xc
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x44ba86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44ba86
push 0x7530
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x44b999
cmp dword [ebp - 0x12c], 0x80
jne 0x44ba7c
mov eax, dword [0x467254]
xor eax, dword [0x4672ac]
xor eax, dword [0x4672b0]
push eax
push 0x4674bc
lea ecx, [ebp - 0x124]
push ecx
call fcn.00451841
add esp, 0xc
mov dword [ebp - 0x134], 0
jmp 0x44b9da
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
cmp dword [ebp - 0x134], 0x12c
jge 0x44ba13
lea eax, [ebp - 0x124]
push eax
push 0x4674c4
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x44ba09
jmp 0x44ba13
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44b9cb
cmp dword [ebp - 0x130], 0
je 0x44ba6f
mov ecx, dword [0x467254]
xor ecx, dword [0x4672ac]
xor ecx, dword [0x4672b0]
mov dword [ebp - 0x140], ecx
mov edx, dword [0x46a6e0]
push edx
call fcn.004518a0
add esp, 4
add eax, 1
mov dword [ebp - 0x13c], eax
mov eax, dword [0x46a6e0]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x140]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x44beab
push 1
call fcn.0044bebc
add esp, 4
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
test ecx, ecx
je 0x44bc6f
mov edx, dword [0x46727c]
xor edx, dword [0x4672a0]
xor edx, dword [0x467240]
and edx, 0x40
test edx, edx
jne 0x44bc6f
push 0x200
lea eax, [ebp - 0x340]
push eax
push 0x4674d0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x44bc6f
push pe_nt_image_headers32
push 0x23
lea ecx, [ebp - 0x340]
push ecx
call fcn.004516b0
add esp, 0xc
mov byte [ebp - 0x278], 0
mov dword [ebp - 0x444], 1
jmp 0x44bb15
mov edx, dword [ebp - 0x444]
add edx, 1
mov dword [ebp - 0x444], edx
cmp dword [ebp - 0x444], 0x40
jg 0x44bb4f
mov eax, dword [ebp - 0x444]
push eax
push 0x4674d8
lea ecx, [ebp - 0x440]
push ecx
call fcn.00451841
add esp, 0xc
lea edx, [ebp - 0x340]
push edx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x44bb06
mov ecx, dword [0x46727c]
xor ecx, dword [0x4672a0]
xor ecx, dword [0x467240]
and ecx, 0x10
test ecx, ecx
jne 0x44bc6f
lea edx, [ebp - 0x59c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0x46aa18]
mov byte [ebp - 0x6a0], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x69f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x46aa1c]
mov byte [ebp - 0x558], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x557]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x46a6d8], 1
jne 0x44bbea
cmp dword [ebp - 0x590], 0
jne 0x44bbea
lea edx, [ebp - 0x6a0]
push edx
call fcn.0044d3a2
add esp, 4
and eax, 0xff
test eax, eax
je 0x44bbea
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x590], eax
push 0x104
lea ecx, [ebp - 0x558]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44bc09
xor eax, eax
jmp 0x44beab
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x59c]
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 - 0x558]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x44bc65
mov dword [0x46a90c], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4674e0
push 0x46a910
call fcn.00451841
add esp, 0xc
xor eax, eax
jmp 0x44beab
mov eax, 1
jmp 0x44beab
mov edx, dword [0x46727c]
xor edx, dword [0x4672a0]
xor edx, dword [0x467240]
and edx, 0x10
test edx, edx
je 0x44be51
mov eax, dword [0x4672b0]
xor eax, dword [0x467280]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x467500
lea ecx, [ebp - 0x124]
push ecx
call fcn.00451841
add esp, 0x10
lea edx, [ebp - 0x124]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x44be51
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6a4], 0
push 0x46750c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x6a8], 0
je 0x44bd31
push 0x467518
mov eax, dword [ebp - 0x6a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x740], eax
cmp dword [ebp - 0x740], 0
je 0x44bd31
call dword [ebp - 0x740]
test eax, eax
je 0x44bd31
mov byte [ebp - 0x6a4], 1
mov dword [ebp - 0x73c], 0x94
lea ecx, [ebp - 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x72c], 2
je 0x44bdbe
mov byte [ebp - 0x744], 0
mov dword [ebp - 4], 0
pushf
pop eax
or eax, 0x100
push eax
popf
nop
mov dword [ebp - 4], 0xffffffff
jmp 0x44bda7
mov edx, dword [ebp - 0x744]
and edx, 0xff
test edx, edx
jne 0x44bdbe
mov byte [0x46aa74], 1
mov eax, dword [ebp - 0x6a4]
and eax, 0xff
test eax, eax
je 0x44bdfb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x46752c
lea ecx, [ebp - 0x124]
push ecx
call fcn.00451841
add esp, 0xc
lea edx, [ebp - 0x124]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x44be51
xor eax, eax
cmp dword [0x46a6d8], 0
sete al
push eax
call fcn.0044d65d
add esp, 4
and eax, 0xff
test eax, eax
jne 0x44be40
mov dword [0x46a90c], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x467534
push 0x46a910
call fcn.00451841
add esp, 0xc
xor eax, eax
jmp 0x44beab
push 0
call fcn.0044bebc
add esp, 4
mov eax, 1
jmp 0x44beab
call fcn.0044ac1a
mov dword [ebp - 0x1c], eax
push 0
call fcn.0044bebc
add esp, 4
push 0
call fcn.0045191b
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x44be84
push 0x46a6d8
call dword [0x46a700]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x44abeb
call fcn.0045191b
add esp, 4
call dword [0x46a6fc]
push 0
push 0
mov ecx, dword [0x46a904]
push ecx
call dword [0x46a908]
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