Function at 0x10124afd
Capabilities:
Check mutex on windows

Disassembly:
push 0x64
mov eax, 0x101961d1
call fcn.10145d80
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10124f41
lea eax, [ebp - 0x1c]
push eax
call fcn.1011e2dc
push 3
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.1011ecbe
add esp, 0xc
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x101a05bc
xor esi, esi
inc esi
push esi
push ebx
push 0x101bef38
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10124f39
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push str.version1.0_encodinggbk
push 0x101a2cec
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xd0]
cmp dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x18]
je 0x10124f2c
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x54]
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x70], 3
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x1019f188
push str.IButtonGroup
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 4
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe0]
cmp dword [ebp - 0x14], ebx
je 0x10124efd
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x10124bf3
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10004f20
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], ebx
je 0x10124eef
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0x34]
jmp 0x10124e20
push dword [ebp - 0x10]
lea eax, [ebp - 0x48]
push eax
call fcn.10127497
push str.IPushButtons
push dword [ebp - 0x48]
call fcn.10005373
add esp, 0x10
test eax, eax
jne 0x10124dde
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x34]
jmp 0x10124dcf
push 0x101ad8b8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10127411
push str.enable
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 9
call fcn.10127411
add esp, 0x18
mov eax, dword [ebp - 0x44]
cmp dword [eax - 8], ebx
jne 0x10124c8a
mov dword [ebp - 0x2c], 1
jmp 0x10124c94
push eax
call fcn.101458e6
pop ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax - 8], 1
mov dword [ebp - 0x40], ebx
jle 0x10124d66
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x3c], 0x3a
mov dword [ebp - 0x38], ebx
call fcn.1000401e
push eax
jmp 0x10124cfa
push eax
lea ecx, [ebp - 0x4c]
call fcn.10007b11
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.1002a498
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.10003b75
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
call fcn.101490ef
add esp, 0xc
cmp eax, ebx
jne 0x10124ccf
cmp dword [ebp - 0x58], ebx
je 0x10124d5e
mov eax, dword [0x101f3028]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x101f84e8
mov byte [ebp - 4], 0xd
call fcn.1004fb12
xor edi, edi
cmp dword [ebp - 0x58], ebx
jle 0x10124d56
mov esi, dword [ebp - 0x28]
push edi
lea ecx, [ebp - 0x5c]
call fcn.10024269
mov eax, dword [eax]
push esi
push eax
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
je 0x10124d4f
inc edi
cmp edi, dword [ebp - 0x58]
jl 0x10124d2c
jmp 0x10124d56
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.10003b75
lea ecx, [ebp - 0x5c]
call fcn.10024521
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0x40]
cmp dword [ebp - 0x40], ebx
je 0x10124d86
cmp dword [ebp - 0x2c], ebx
je 0x10124d8b
jmp 0x10124d98
cmp dword [ebp - 0x2c], ebx
je 0x10124d98
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push dword [ebp + 8]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x30]
cmp dword [ebp + 8], eax
je 0x10124dad
push eax
lea eax, [ebp + 8]
push eax
call fcn.10004f20
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x10124dbb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x44]
call fcn.10003b75
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.10003b75
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x10124c52
mov byte [ebp - 4], 7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.10025a2a
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x10124dfd
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x50]
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [eax + 0x40]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 7
call dword [eax + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.10003b75
cmp dword [ebp - 0x10], ebx
jne 0x10124c15
lea eax, [ebp + 8]
push eax
call fcn.1011e2dc
push dword [eax]
mov byte [ebp - 4], 0x10
call fcn.1011cc25
pop ecx
pop ecx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.10003b75
push str.7365E127_C9CB_49cc_BE48_A886BD523365
push ebx
mov ecx, 0x101f8c68
call fcn.10016a0b
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x10124edb
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10124ed2
push str.buttons.xml
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10007b6e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x11
mov word [ebp - 0x60], bx
call fcn.10014b08
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0x12
movsd dword es:[edi], dword [esi]
call dword [ecx + pe_nt_image_headers32]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x50]
call fcn.10003b75
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x10124eec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x10124efd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x10124f18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x10124f29
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x10124f39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
call fcn.10003b75
call fcn.10145e58
ret