Function at 0x100b732
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 4], 0x80070057
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov esi, 0x1035060
push esi
call fcn.0100514e
push 0x1002ae0
mov dword [0x1035080], 0x1002060
mov dword [0x1035014], esi
call fcn.0100521f
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x100b7e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100b7a8
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100bcc3
test byte [eax + 0x1c], 1
je 0x100bcc3
push dword [ebp - 4]
push 0x1002040
push 0xe9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004eb4
jmp 0x100bcc3
cmp dword [ebp - 8], 2
jle 0x100b816
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100bcc3
test byte [eax + 0x1c], 1
je 0x100bcc3
mov ecx, dword [ebp - 0x10]
push dword [ecx]
push 0x1002040
push 0xea
jmp 0x100bcb8
cmp dword [ebp - 8], 1
push 4
pop edi
jle 0x100b966
mov esi, dword [eax + 4]
mov ecx, 0x1002ac4
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100b851
cmp dx, bx
je 0x100b84d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100b851
add eax, edi
add ecx, edi
cmp dx, bx
jne 0x100b82d
xor eax, eax
jmp 0x100b856
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100b8d4
call fcn.01013900
mov esi, eax
cmp esi, ebx
jne 0x100b894
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100b88c
test byte [eax + 0x1c], 4
je 0x100b88c
push 0x1002040
push 0xeb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004e8e
mov dword [ebp - 4], ebx
jmp 0x100bcc3
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100b8bc
test byte [eax + 0x1c], 1
je 0x100b8bc
push esi
push 0x1002040
push 0xec
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004eb4
cmp esi, ebx
jle 0x100b8cc
and esi, 0x1000ffff
or esi, 0x80080000
mov dword [ebp - 4], esi
jmp 0x100bcc3
mov ecx, 0x1002aa4
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100b8ff
cmp dx, bx
je 0x100b8fb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100b8ff
add eax, edi
add ecx, edi
cmp dx, bx
jne 0x100b8db
xor eax, eax
jmp 0x100b904
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100b966
call fcn.010139c7
mov esi, eax
cmp esi, ebx
jne 0x100b93c
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100b88c
test byte [eax + 0x1c], 4
je 0x100b88c
push 0x1002040
push 0xed
jmp 0x100b881
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100b8bc
test byte [eax + 0x1c], 1
je 0x100b8bc
push esi
push 0x1002040
push 0xee
jmp 0x100b8b1
push 0x1002a68
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1035084], eax
cmp eax, ebx
jne 0x100b9bc
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100bcda
test byte [eax + 0x1c], 1
je 0x100bcda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1035014]
push 0x1002040
push 0xef
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004eb4
jmp 0x100bcc3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x100b9ff
mov eax, dword [0x1035014]
cmp eax, 0x1035014
je 0x100bcc3
test byte [eax + 0x1c], 1
je 0x100bcc3
push 0x1002040
push 0xf0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004e8e
jmp 0x100bcc3
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edi, 0x1002040
mov ebx, 0x1035014
test eax, eax
jne 0x100ba44
mov eax, dword [0x1035014]
cmp eax, ebx
je 0x100ba49
test byte [eax + 0x1c], 2
je 0x100ba49
call esi
push eax
mov eax, dword [0x1035014]
push edi
push 0xf1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004eb4
mov eax, dword [0x1035014]
cmp dword [ebp - 8], 1
jne 0x100bb09
mov esi, 0x1035090
mov ecx, esi
call fcn.0100ace3
mov dword [ebp - 4], eax
test eax, eax
jge 0x100ba9a
cmp eax, 0x80001101
je 0x100bcc3
mov eax, dword [0x1035014]
cmp eax, ebx
je 0x100bbae
test byte [eax + 0x1c], 4
je 0x100bbae
push dword [ebp - 4]
push 0x1002040
push 0xf2
jmp 0x100bba3
mov ecx, esi
call fcn.01005e69
test eax, eax
je 0x100bad4
mov eax, dword [0x1035014]
cmp eax, ebx
je 0x100bac5
test byte [eax + 0x1c], 4
je 0x100bac5
push edi
push 0xf3
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004e8e
push 0
push dword [ebp - 4]
push 0x400003ed
jmp 0x100bc60
push 1
mov ecx, esi
call fcn.01009f3e
mov dword [ebp - 4], eax
test eax, eax
jge 0x100bac5
mov eax, dword [0x1035014]
cmp eax, ebx
je 0x100bbae
test byte [eax + 0x1c], 2
je 0x100bbae
push dword [ebp - 4]
push edi
push 0xf4
jmp 0x100bba3
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 4]
mov edx, 0x1002a60
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x100bb3c
test si, si
je 0x100bb38
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x100bb3c
add ecx, 4
add edx, 4
test si, si
jne 0x100bb16
xor ecx, ecx
jmp 0x100bb41
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x100bc05
push 0x10020dc
push 0x1002090
push 0x80000002
mov dword [0x1035088], 1
call fcn.010130c8
mov esi, 0x1035090
mov ecx, esi
call fcn.0100ace3
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x100bbbd
cmp eax, 0x80001101
je 0x100bcc3
mov eax, dword [0x1035014]
cmp eax, ebx
je 0x100bbae
test byte [eax + 0x1c], 4
je 0x100bbae
push dword [ebp - 4]
push 0x1002040
push 0xf5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004eb4
push 0
push dword [ebp - 4]
push 0xc00003ee
jmp 0x100bc60
push edi
push edi
push 0x400003ed
call fcn.0100f800
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.01008c9f
mov esi, eax
cmp esi, edi
mov dword [ebp - 4], esi
jl 0x100bbe2
cmp dword [ebp - 0xc], edi
jne 0x100bc59
mov eax, dword [0x1035014]
cmp eax, ebx
je 0x100bc8b
test byte [eax + 0x1c], 2
je 0x100bc8b
push 0x1002040
push 0xf6
jmp 0x100bc80
mov ecx, edi
mov edx, 0x1002a58
xor edi, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x100bc34
cmp si, di
je 0x100bc30
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x100bc34
add ecx, 4
add edx, 4
cmp si, di
jne 0x100bc0e
xor ecx, ecx
jmp 0x100bc39
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, edi
jne 0x100bc9f
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x1035090
call fcn.01008c9f
mov esi, eax
cmp esi, edi
mov dword [ebp - 4], esi
jl 0x100bc67
cmp dword [ebp - 0xc], edi
je 0x100bc67
push edi
push edi
push 0x400003ef
call fcn.0100f800
jmp 0x100bcc3
mov eax, dword [0x1035014]
cmp eax, ebx
je 0x100bc8b
test byte [eax + 0x1c], 2
je 0x100bc8b
push 0x1002040
push 0xf7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004e8e
cmp esi, edi
mov eax, esi
jl 0x100bc96
mov eax, 0x80004005
push edi
push eax
push 0xc00003f0
jmp 0x100bc60
cmp eax, ebx
je 0x100bcc3
test byte [eax + 0x1c], 1
je 0x100bcc3
mov ecx, dword [ebp - 0x10]
push dword [ecx]
push 0x1002040
push 0xf8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004ee0
mov eax, dword [0x1035084]
test eax, eax
je 0x100bcda
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1035084], 0
call fcn.0100526d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10