Function at 0x422cc0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
push ecx
lea eax, [esp + 0x24]
mov esi, esp
mov dword [esp + 0x24], esp
push str.Settings.ini
push ebp
push eax
call fcn.00429980
add esp, 8
push eax
push esi
call fcn.004261b0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x460718
call fcn.00425b80
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.FileName
call fcn.00425b80
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Settings
call fcn.00425b80
lea ecx, [esp + 0x2c]
push ecx
call fcn.0042c7e0
add esp, 0x14
lea edx, [esp + 0x18]
push eax
push str.language_
push ebp
push edx
call fcn.00429980
add esp, 8
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004261b0
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00426050
mov ecx, dword [0x45c054]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x422d8c
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x422d8c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x422db7
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x422db7
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x422de2
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x422de2
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x422e0d
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x422e0d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
push ecx
lea eax, [esp + 0x24]
mov esi, esp
mov dword [esp + 0x28], esp
push str.languageEnglish.txt
push ebp
push eax
call fcn.00429980
add esp, 8
push eax
push esi
call fcn.004261b0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00425750
mov ecx, 0x460650
call fcn.00428cc0
mov edx, dword [0x45c054]
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x422e74
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x422e74
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
push str.2E1BCC9F_86B7_44fd_BD6A_171E82463969
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x422f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x422f33
mov eax, dword [0x45c050]
push ecx
mov edi, esp
mov ecx, str.B7939A14_58A0_447c_80FF_06F711111A2F
test ecx, ecx
mov dword [esp + 0x34], esp
mov dword [edi], eax
je 0x422eff
mov edx, ecx
shr edx, 0x10
jne 0x422ecb
xor eax, eax
mov ax, cx
mov ecx, edi
push eax
call fcn.00427770
jmp 0x422eff
push str.B7939A14_58A0_447c_80FF_06F711111A2F
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebp
je 0x422eff
push esi
mov ecx, edi
call fcn.00425830
test eax, eax
je 0x422eff
mov edi, dword [edi]
mov ecx, esi
mov edx, ecx
mov esi, str.B7939A14_58A0_447c_80FF_06F711111A2F
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00430bd0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x422f26
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422f26
push ebp
push ebp
push 0xa902
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x422f7b
push 7
push ebp
push 0x454b14
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
call fcn.00424fd0
lea ecx, [esp + 0x14]
cmp dword [esp + 0x14], ebp
je 0x422fba
call fcn.00428290
push 0x460648
push 0x45c528
push 7
push ebp
push 0x4544a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x460648], ebp
jne 0x42307f
mov eax, dword [esp + 0x10]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x423194
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x423194
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
call fcn.00428290
push 0x40
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.LNG01277
call fcn.00425b80
lea eax, [esp + 0x48]
mov ecx, 0x460650
push eax
call fcn.00429000
mov ecx, eax
call fcn.00402d00
push eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.LNG01278
call fcn.00425b80
lea ecx, [esp + 0x40]
push ecx
mov ecx, 0x460650
call fcn.00429000
mov ecx, eax
call fcn.00402d00
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x45c054]
mov eax, dword [esp + 0x30]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x423047
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x423047
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x422f7b
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x422f7b
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
jmp 0x422f7b
push 0x16d
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.3_1_7_5
call fcn.00440450
push 7
push 0xea60
push 0x1f
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str._WKERNEL
call fcn.00440450
mov ecx, 0x460648
call fcn.00402d00
mov ecx, eax
call fcn.00440d70
mov esi, dword [0x460648]
lea ecx, [esp + 0x20]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x64]
cmp eax, ebp
jge 0x4230e1
push 0x45c528
push esi
push eax
call fcn.004448c6
cmp dword [esp + 0x20], ebp
je 0x4231a0
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00441410
add esp, 4
mov ecx, eax
call fcn.00402d00
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004403b0
mov ecx, 0x460648
call fcn.00402d00
mov ecx, eax
call fcn.00441370
mov edx, dword [0x45c054]
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42314d
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42314d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004447ea
add esp, 4
cmp dword [esp + 0x18], 1
jne 0x4231a0
mov eax, dword [0x460648]
cmp eax, ebp
je 0x423169
mov dword [0x460648], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x45c054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x423194
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x423194
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004447ea
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
push ecx
lea ecx, [esp + 0x24]
mov esi, esp
mov dword [esp + 0x28], esp
push str.processlibrary.csv
push ebp
push ecx
call fcn.00429980
add esp, 8
push eax
push esi
call fcn.004261b0
mov ecx, 0x460638
call fcn.0043fe50
mov ecx, dword [0x45c054]
mov eax, dword [esp + 0x20]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4231f6
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4231f6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.004447ea
add esp, 4
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.USER32.dll_DefWindowProcA]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebp
mov ecx, 0x460688
mov edx, dword [esp + 0x34]
push edx
push ebp
call fcn.00423300
test eax, eax
jl 0x423269
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x46070c], eax
mov dword [0x460710], ebp
call fcn.0044560d
add esp, 4
cmp eax, ebp
je 0x423258
mov ecx, eax
call fcn.00423590
jmp 0x42325a
xor eax, eax
cmp eax, ebp
mov dword [0x460710], eax
je 0x423269
mov dword [0x460714], ebp
call fcn.004241b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.00403aa0
mov ecx, dword [0x460714]
add esp, 8
cmp ecx, ebp
mov esi, eax
je 0x4232ad
cmp dword [ecx + 4], ebp
jle 0x4232a2
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x460714]
cmp ecx, ebp
je 0x4232ad
push 1
call fcn.004234a0
mov ecx, dword [0x460710]
cmp ecx, ebp
je 0x4232be
push 1
call fcn.004234e0
push 0x460688
call fcn.004233d0
mov ecx, 0x460648
call fcn.00425900
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.00429590
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10