Function at 0x48f292
Capabilities:
Check mutex on windows

Disassembly:
push 0x298
mov eax, 0x470e2f
call fcn.00467994
mov edi, ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], eax
push 0x40ac90
push eax
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 4
call fcn.0043baca
mov bl, al
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x48f326
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp + 4]
test bl, bl
je 0x48fb09
lea eax, [ebp - 0x1ac]
mov byte [ebp - 0x2a0], 1
mov dword [ebp - 0x2a4], eax
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push dword [ebp - 0x1ac]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea eax, [ebp - 0x22c]
push eax
push 0x40addc
call fcn.00462218
mov ecx, dword [ebp + 4]
test eax, eax
jns 0x48f37e
push eax
push 0x40b508
mov edx, 0x25c
jmp 0x48fb14
lea eax, [ebp - 0x21c]
push eax
push 0x40aba8
call fcn.00462218
mov ecx, dword [ebp + 4]
test eax, eax
jns 0x48f3a6
push eax
push 0x40b508
mov edx, 0x25d
jmp 0x48fb14
lea eax, [ebp - 0x20c]
push eax
push 0x40ada4
call fcn.00462218
mov ecx, dword [ebp + 4]
test eax, eax
jns 0x48f3ce
push eax
push 0x40b508
mov edx, 0x25e
jmp 0x48fb14
lea ecx, [ebp - 0x2a4]
call fcn.0046066b
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 3
call fcn.0041c7e7
lea ecx, [edi + 0x1c]
call fcn.00431e23
push eax
lea ecx, [ebp - 0x1b8]
call fcn.0042b2d0
lea ecx, [edi + 4]
mov byte [ebp - 4], 6
call fcn.00431e23
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0042b2d0
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00453a99
lea ecx, [ebp - 0x1bc]
call fcn.00438070
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xa
call fcn.00438070
mov esi, dword [edi + 0x64]
mov ecx, esi
push dword [esi]
call fcn.0041a4f3
test eax, eax
je 0x48f486
push eax
mov ecx, esi
mov ebx, eax
call fcn.0041a51e
cmp dword [ebx + 0x44], 0
je 0x48f457
lea eax, [ebx + 0x20]
push eax
push ebx
lea ecx, [ebp - 0x24c]
call fcn.0041a765
mov ecx, dword [edi + 0x64]
push ebx
call fcn.0048b9b5
jmp 0x48f44b
xor esi, esi
cmp esi, dword [ebp - 0x218]
jae 0x48f4e2
and dword [ebp - 0x1ec], 0
and dword [ebp - 0x1e8], 0
and dword [ebp - 0x1e4], 0
and dword [ebp - 0x1e0], 0
push esi
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0xb
call fcn.00450fe1
lea ecx, [ebp - 0x1ec]
push ecx
push eax
mov ecx, edi
call fcn.00462c72
test eax, eax
jns 0x48f605
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0xa
call fcn.00450fbd
xor esi, esi
mov ebx, esi
cmp ebx, dword [ebp - 0x228]
jae 0x48f53c
mov dword [ebp - 0x1cc], esi
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1c0], esi
push ebx
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x10
call fcn.00450fe1
lea ecx, [ebp - 0x1cc]
push ecx
push eax
mov ecx, edi
call fcn.00462c72
test eax, eax
jns 0x48f78a
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xa
call fcn.00450fbd
mov ebx, esi
cmp ebx, dword [ebp - 0x208]
jae 0x48f5c0
push ebx
lea ecx, [ebp - 0x20c]
call fcn.00450fe1
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00437fc6
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0x14
call fcn.00462df8
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1d0], esi
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x1b4]
mov ecx, edi
push eax
call fcn.00462c72
test eax, eax
jns 0x48f901
lea ecx, [ebp - 0x1dc]
call fcn.00450fbd
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xa
call fcn.00438070
cmp dword [ebp - 0x248], 0
jbe 0x48f5cd
mov byte [edi + 0x3c], 1
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call fcn.0041a4f3
mov ebx, eax
test ebx, ebx
je 0x48fa83
push ebx
lea ecx, [ebp - 0x24c]
mov esi, ebx
call fcn.0041a51e
push dword [esi + 0x14]
lea ecx, [edi + 0x50]
mov ebx, eax
call fcn.00451008
jmp 0x48f5e0
xor ebx, ebx
lea ecx, [ebp - 0x1ec]
cmp ebx, dword [ebp - 0x1e8]
jae 0x48f77b
push ebx
call fcn.00450fe1
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00437fc6
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0xc
call fcn.00462df8
lea ecx, [ebp - 0x1a8]
call fcn.0041b890
mov eax, ecx
mov byte [ebp - 4], 0xd
push eax
push dword [ebp - 0x1b0]
mov ecx, edi
call fcn.004611b5
test eax, eax
js 0x48f66e
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1b0]
call fcn.00438179
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00453ae1
xor eax, eax
mov byte [ebp - 4], 0xe
push eax
push eax
xor ecx, ecx
inc ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00453a34
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0048fff2
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0x26c]
push eax
call fcn.0041a890
test eax, eax
je 0x48f6df
add eax, 0x20
je 0x48f6df
cmp dword [eax + 0x18], 0
je 0x48f6f5
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0041a765
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x29c], 0x401670
call fcn.00438070
lea ecx, [ebp - 0x298]
call fcn.00438070
lea ecx, [ebp - 0x258]
mov dword [ebp - fcn.004218f0], 0x40231c
call fcn.00438070
lea ecx, [ebp - 0x25c]
call fcn.00438070
lea ecx, [ebp - 0x26c]
call fcn.0041de5f
lea eax, [ebp - 0x198]
mov dword [ebp - 0x1a8], 0x401104
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00434927
lea ecx, [ebp - 0x1b0]
mov dword [ebp - fcn.004218f0], 0x401b08
mov byte [ebp - 4], 0xb
call fcn.00438070
inc ebx
jmp 0x48f607
mov byte [ebp - 4], 0xa
call fcn.00450fbd
inc esi
jmp 0x48f488
cmp esi, dword [ebp - 0x1c8]
jae 0x48f8ea
lea ecx, [ebp - 0x1a8]
call fcn.0041b890
push esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x11
call fcn.00450fe1
lea ecx, [ebp - 0x1a8]
push ecx
mov ecx, edi
push dword [eax]
call fcn.004611b5
test eax, eax
js 0x48f7ea
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1cc]
push esi
mov dword [ebp - 0x1ac], eax
call fcn.00450fe1
push dword [ebp - 0x1ac]
mov ecx, eax
call fcn.00438179
push esi
lea ecx, [ebp - 0x1cc]
call fcn.00450fe1
push eax
lea ecx, [ebp - 0x26c]
call fcn.00453ae1
push esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x12
call fcn.00450fe1
xor ecx, ecx
xor edx, edx
push ecx
push ecx
inc edx
push edx
push edx
push edx
push edx
push ecx
push ecx
push eax
lea ecx, [ebp - 0x29c]
call fcn.00453a34
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0048fff2
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0x26c]
push eax
call fcn.0041a890
test eax, eax
je 0x48f867
add eax, 0x20
je 0x48f867
cmp dword [eax + 0x18], 0
je 0x48f87d
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0041a765
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x29c], 0x401670
call fcn.00438070
lea ecx, [ebp - 0x298]
call fcn.00438070
lea ecx, [ebp - 0x258]
mov dword [ebp - fcn.004218f0], 0x40231c
call fcn.00438070
lea ecx, [ebp - 0x25c]
call fcn.00438070
lea ecx, [ebp - 0x26c]
call fcn.0041de5f
lea eax, [ebp - 0x198]
mov dword [ebp - 0x1a8], 0x401104
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00434927
inc esi
jmp 0x48f78a
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xa
call fcn.00450fbd
inc ebx
xor esi, esi
jmp 0x48f4e6
cmp esi, dword [ebp - 0x1d8]
jae 0x48fa61
lea ecx, [ebp - 0x1a8]
call fcn.0041b890
push esi
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x16
call fcn.00450fe1
lea ecx, [ebp - 0x1a8]
push ecx
mov ecx, edi
push dword [eax]
call fcn.004611b5
test eax, eax
js 0x48f961
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1dc]
push esi
mov dword [ebp - 0x1ac], eax
call fcn.00450fe1
push dword [ebp - 0x1ac]
mov ecx, eax
call fcn.00438179
push esi
lea ecx, [ebp - 0x1dc]
call fcn.00450fe1
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00453ae1
push esi
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x17
call fcn.00450fe1
xor ecx, ecx
push ecx
push ecx
push 1
push 1
push ecx
push 1
push ecx
push ecx
push eax
lea ecx, [ebp - 0x29c]
call fcn.00453a34
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0048fff2
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0x1fc]
push eax
call fcn.0048b9b5
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0x1fc]
push eax
call fcn.0048b8b1
mov ecx, dword [edi + 0x64]
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.0041a765
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x29c], 0x401670
call fcn.00438070
lea ecx, [ebp - 0x298]
call fcn.00438070
lea ecx, [ebp - 0x1e8]
mov dword [ebp - fcn.004218f0], 0x40231c
call fcn.00438070
lea ecx, [ebp - 0x1ec]
call fcn.00438070
lea ecx, [ebp - 0x1fc]
call fcn.0041de5f
lea eax, [ebp - 0x198]
mov dword [ebp - 0x1a8], 0x401104
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00434927
inc esi
jmp 0x48f901
lea ecx, [ebp - 0x1dc]
call fcn.00450fbd
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xa
call fcn.00438070
inc ebx
xor esi, esi
jmp 0x48f53e
lea ecx, [ebp - 0x230]
call fcn.00438070
lea ecx, [ebp - 0x234]
call fcn.00438070
lea ecx, [ebp - 0x24c]
call fcn.0041a23b
cmp dword [ebp - 0x238], 0
je 0x48faba
push dword [ebp - 0x238]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
pop ecx
lea ecx, [ebp - 0x20c]
call fcn.00450fbd
lea ecx, [ebp - 0x21c]
call fcn.00450fbd
lea ecx, [ebp - 0x22c]
call fcn.00450fbd
xor eax, eax
jmp 0x48fb03
call fcn.004678ce
ret
push eax
push 0x40b508
mov edx, 0x258
call fcn.0047e814
int3