Function at 0x42de4a
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x5c2460]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [0x768cd0]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x10], eax
call fcn.0042eea1
push 0x194
push 0x1c
call fcn.0042f55d
mov ecx, dword [0x768cd0]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], edi
call fcn.00410b63
pop ecx
test al, al
je 0x42deb3
call fcn.0042eea1
mov eax, dword [0x7689d8]
jmp 0x42e3d2
cmp dword [0x7688d8], 2
jne 0x42decd
xor ebx, ebx
lea ecx, [esp + 0xcc]
inc ebx
mov edx, 0x13c9
jmp 0x42dedc
push 2
pop ebx
mov edx, 0x13c8
lea ecx, [esp + 0xe4]
call fcn.0044506f
push 8
pop esi
cmp dword [eax + 0x14], esi
jb 0x42deeb
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x118]
call fcn.004058f0
test bl, 2
je 0x42df0f
push edi
push 1
lea ecx, [esp + 0xec]
and ebx, 0xfffffffd
call fcn.0040536f
test bl, 1
je 0x42df26
push edi
push 1
lea ecx, [esp + 0xd4]
and ebx, 0xfffffffe
call fcn.0040536f
mov edi, dword [esp + 0x114]
cmp dword [esp + 0x128], esi
jae 0x42df3d
lea edi, [esp + 0x114]
call fcn.0043229d
push edi
push 1
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [esp + 0xc]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42df6c
mov ecx, edi
call fcn.004322c6
test bl, bl
jns 0x42df7f
lea ecx, [esp + 0x18]
and ebx, 0xffffff7f
call fcn.0045cee0
cmp dword [0x7688d8], 2
jne 0x42df99
or ebx, 4
lea ecx, [esp + 0xcc]
mov edx, 0x138c
jmp 0x42dfa7
or ebx, esi
lea ecx, [esp + 0xe4]
mov edx, 0x138a
call fcn.0044506f
cmp dword [eax + 0x14], esi
jb 0x42dfb3
mov eax, dword [eax]
push eax
mov ecx, 0x63d664
call fcn.00421c70
xor edi, edi
inc edi
test bl, 8
je 0x42dfd8
push 0
push edi
lea ecx, [esp + 0xec]
and ebx, 0xfffffff7
call fcn.0040536f
test bl, 4
je 0x42dfef
push 0
push edi
lea ecx, [esp + 0xd4]
and ebx, 0xfffffffb
call fcn.0040536f
mov edx, 0x138e
lea ecx, [esp + 0xe4]
call fcn.0044506f
cmp dword [eax + 0x14], esi
jb 0x42e007
mov eax, dword [eax]
push eax
mov ecx, 0x63d624
call fcn.00421c70
push 0
push edi
lea ecx, [esp + 0xec]
call fcn.0040536f
call fcn.0042eea1
push 0x195
push 0x1c
call fcn.0042f55d
mov ecx, dword [esp + 0x10]
push str.DiffUpdateSecondProc
call fcn.0045f070
test al, al
jne 0x42e05e
call fcn.0043229d
cmp byte [eax], 0
je 0x42e05e
call fcn.0042eea1
mov edi, dword [0x7689d8]
jmp 0x42e3c0
call fcn.00433aac
call fcn.0042eea1
push 0x196
push 0x1c
call fcn.0042f55d
mov eax, dword [0x7688d8]
cmp eax, 5
jne 0x42e0c3
call fcn.00418617
mov edi, eax
test ebx, 0x100
je 0x42e09c
lea ecx, [esp + 0x18]
and ebx, 0xfffffeff
call fcn.0045cee0
mov esi, dword [0x768cd0]
mov ecx, esi
push str.DiffUpdateSecondProc
call fcn.0045f070
push esi
test al, al
je 0x42e0bc
mov ecx, edi
call fcn.0041806c
jmp 0x42e0ee
call fcn.004171bf
jmp 0x42e0ee
test ebx, 0x200
je 0x42e0df
lea ecx, [esp + 0x18]
and ebx, 0xfffffdff
call fcn.0045cee0
mov eax, dword [0x7688d8]
cmp eax, 3
jne 0x42e0f5
call fcn.00418617
call fcn.0041b099
mov edi, eax
jmp 0x42e318
test ebx, 0x400
je 0x42e111
lea ecx, [esp + 0x18]
and ebx, 0xfffffbff
call fcn.0045cee0
mov eax, dword [0x7688d8]
cmp eax, edi
jne 0x42e2c2
call fcn.0042eea1
push 0x1cd
push 0x1c
call fcn.0042f55d
call fcn.0041fa7f
add eax, 0x18
lea ecx, [esp + 0xfc]
push eax
call fcn.00409846
cmp dword [esp + 0x10c], 3
jbe 0x42e1be
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0x110], esi
jae 0x42e160
lea eax, [esp + 0xfc]
cmp word [eax + 2], 0x3a
jne 0x42e1be
and dword [esp + 0xdc], 0
lea ecx, [esp + 0xcc]
xor eax, eax
mov dword [esp + 0xe0], 7
push 3
push eax
mov word [esp + 0xd4], ax
lea eax, [esp + 0x104]
push eax
call fcn.004059ba
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x100]
call fcn.004075c9
push 0
push edi
lea ecx, [esp + 0xd4]
call fcn.0040536f
lea ecx, [esp + 0xfc]
call fcn.0042dd22
test al, al
je 0x42e226
call fcn.00418617
call fcn.004332be
mov ecx, eax
call fcn.004332e7
call fcn.004331a0
call fcn.0042eea1
push edi
push edi
call fcn.0042f55d
call fcn.0042eea1
push edi
push 2
call fcn.0042f55d
mov ecx, dword [esp + 0x14]
call fcn.0042dd77
call fcn.0042eea1
mov edi, dword [0x7689d8]
lea ecx, [esp + 0xfc]
push 0
push 1
call fcn.0040536f
jmp 0x42e318
mov edx, 0x138a
lea ecx, [esp + 0xe4]
call fcn.0044506f
mov edx, 0x964
lea ecx, [esp + 0xcc]
call fcn.0044506f
mov ecx, dword [esp + 0xe4]
cmp dword [esp + 0xf8], esi
jae 0x42e25f
lea ecx, [esp + 0xe4]
mov eax, dword [esp + 0xcc]
cmp dword [esp + 0xe0], esi
jae 0x42e276
lea eax, [esp + 0xcc]
push 0x10
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0042eea1
mov edi, dword [0x7689d8]
lea ecx, [esp + 0xcc]
push 0
push 1
call fcn.0040536f
push 0
push 1
lea ecx, [esp + 0xec]
call fcn.0040536f
push 0
push 1
lea ecx, [esp + 0x104]
call fcn.0040536f
jmp 0x42e3c0
test ebx, 0x800
je 0x42e2de
lea ecx, [esp + 0x18]
and ebx, 0xfffff7ff
call fcn.0045cee0
mov eax, dword [0x7688d8]
cmp eax, 2
jne 0x42e2fc
call fcn.0043bc2c
call fcn.0043bd9b
test al, al
je 0x42e30d
mov ecx, dword [esp + 0x14]
call fcn.0042dd77
jmp 0x42e30d
call fcn.0042eea1
push 0x197
push 0x1c
call fcn.0042f55d
call fcn.0042eea1
mov edi, dword [0x7689d8]
test ebx, 0x1000
je 0x42e32f
lea ecx, [esp + 0x18]
and ebx, 0xffffefff
call fcn.0045cee0
mov eax, dword [0x7688d8]
cmp eax, 1
je 0x42e37b
test ebx, 0x2000
je 0x42e355
lea ecx, [esp + 0x18]
and ebx, 0xffffdfff
call fcn.0045cee0
mov eax, dword [0x7688d8]
cmp eax, 2
je 0x42e37b
test ebx, 0x4000
je 0x42e376
lea ecx, [esp + 0x18]
and ebx, 0xffffbfff
call fcn.0045cee0
mov eax, dword [0x7688d8]
cmp eax, 3
jne 0x42e3c0
test ebx, 0x8000
je 0x42e391
lea ecx, [esp + 0x18]
call fcn.0045cee0
mov eax, dword [0x7688d8]
cmp eax, 3
jne 0x42e3a5
call fcn.0042eea1
mov esi, eax
call fcn.00433b3a
mov byte [esi + 4], al
call fcn.0042eea1
mov ecx, eax
call fcn.0042fa65
push ecx
push ecx
call fcn.0042eea1
pop ecx
mov ecx, eax
call fcn.0042fb2b
push 0
push 1
lea ecx, [esp + 0x11c]
call fcn.0040536f
mov eax, edi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00501d03
mov esp, ebp
pop ebp
ret