Function at 0x180036a90
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1800623f8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
call fcn.180047070
and eax, 0x10000000
test eax, eax
je 0x180036cc8
mov dword [rsp + 0x164], 4
mov dword [rsp + 0x168], 3
mov eax, dword [rsp + 0x168]
test eax, eax
jle 0x180036b41
mov eax, dword [rsp + 0x168]
cmp eax, 1
jle 0x180036b10
mov eax, dword [rsp + 0x164]
and eax, 0xdd8
mov dword [rsp + 0x164], eax
mov eax, dword [rsp + 0x168]
sub eax, 2
mov dword [rsp + 0x168], eax
jmp 0x180036ad3
mov eax, dword [rsp + 0x164]
cmp eax, 0x805
jle 0x180036b2f
mov eax, dword [rsp + 0x164]
and eax, 0x7e
mov dword [rsp + 0x164], eax
mov eax, dword [rsp + 0x168]
dec eax
mov dword [rsp + 0x168], eax
jmp 0x180036ad3
mov dword [rsp + 0x154], 2
mov dword [rsp + 0x158], 0xa
mov eax, dword [rsp + 0x158]
test eax, eax
jle 0x180036bc7
mov eax, dword [rsp + 0x158]
cmp eax, 1
jle 0x180036b94
mov eax, dword [rsp + 0x154]
and eax, 0x2106
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x158]
sub eax, 2
mov dword [rsp + 0x158], eax
jmp 0x180036b57
mov eax, dword [rsp + 0x154]
cmp eax, 0x80c
jle 0x180036bb5
mov eax, dword [rsp + 0x154]
and eax, 0x85
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x158]
dec eax
mov dword [rsp + 0x158], eax
jmp 0x180036b57
mov dword [rsp + 0x15c], 0
mov dword [rsp + 0x150], 0xd
cmp dword [rsp + 0x150], 0
jle 0x180036c3d
mov eax, dword [rsp + 0x150]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180036c1f
mov dword [rsp + 0x15c], 4
mov eax, dword [rsp + 0x150]
dec eax
mov dword [rsp + 0x150], eax
jmp 0x180036bdd
mov dword [rsp + 0x15c], 0
mov eax, dword [rsp + 0x150]
sub eax, 2
mov dword [rsp + 0x150], eax
jmp 0x180036bdd
mov dword [rsp + 0x160], 9
mov dword [rsp + 0x16c], 4
mov eax, dword [rsp + 0x16c]
test eax, eax
jle 0x180036cc1
mov eax, dword [rsp + 0x16c]
cmp eax, 1
jle 0x180036c90
mov eax, dword [rsp + 0x160]
and eax, 0x197d
mov dword [rsp + 0x160], eax
mov eax, dword [rsp + 0x16c]
sub eax, 2
mov dword [rsp + 0x16c], eax
jmp 0x180036c53
mov eax, dword [rsp + 0x160]
cmp eax, 0x806
jle 0x180036caf
mov eax, dword [rsp + 0x160]
and eax, 0x7f
mov dword [rsp + 0x160], eax
mov eax, dword [rsp + 0x16c]
dec eax
mov dword [rsp + 0x16c], eax
jmp 0x180036c53
xor eax, eax
jmp 0x18003822f
mov dword [rsp + 0x1a0], 3
mov dword [rsp + 0x1a4], 0xc
cmp dword [rsp + 0x1a4], 0
jle 0x180036d3f
mov eax, dword [rsp + 0x1a4]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180036d21
mov dword [rsp + 0x1a0], 0
mov eax, dword [rsp + 0x1a4]
sub eax, 2
mov dword [rsp + 0x1a4], eax
jmp 0x180036cde
mov dword [rsp + 0x1a0], 4
mov eax, dword [rsp + 0x1a4]
sub eax, 2
mov dword [rsp + 0x1a4], eax
jmp 0x180036cde
mov dword [rsp + 0x19c], 5
mov dword [rsp + 0x190], 5
mov eax, dword [rsp + 0x190]
test eax, eax
jle 0x180036dc5
mov eax, dword [rsp + 0x190]
cmp eax, 1
jle 0x180036d92
mov eax, dword [rsp + 0x19c]
and eax, 0x152b
mov dword [rsp + 0x19c], eax
mov eax, dword [rsp + 0x190]
sub eax, 2
mov dword [rsp + 0x190], eax
jmp 0x180036d55
mov eax, dword [rsp + 0x19c]
cmp eax, 0x807
jle 0x180036db3
mov eax, dword [rsp + 0x19c]
and eax, 0x80
mov dword [rsp + 0x19c], eax
mov eax, dword [rsp + 0x190]
dec eax
mov dword [rsp + 0x190], eax
jmp 0x180036d55
mov dword [rsp + 0x17c], 4
mov dword [rsp + 0x198], 3
mov eax, dword [rsp + 0x198]
test eax, eax
jle 0x180036e49
mov eax, dword [rsp + 0x198]
cmp eax, 1
jle 0x180036e18
mov eax, dword [rsp + 0x17c]
and eax, 0x1891
mov dword [rsp + 0x17c], eax
mov eax, dword [rsp + 0x198]
sub eax, 2
mov dword [rsp + 0x198], eax
jmp 0x180036ddb
mov eax, dword [rsp + 0x17c]
cmp eax, 0x805
jle 0x180036e37
mov eax, dword [rsp + 0x17c]
and eax, 0x7e
mov dword [rsp + 0x17c], eax
mov eax, dword [rsp + 0x198]
dec eax
mov dword [rsp + 0x198], eax
jmp 0x180036ddb
mov dword [rsp + 0x188], 7
mov dword [rsp + 0x184], 0x14
cmp dword [rsp + 0x184], 0
jle 0x180036ebf
mov eax, dword [rsp + 0x184]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180036ea2
mov dword [rsp + 0x188], 0
mov eax, dword [rsp + 0x184]
sub eax, 2
mov dword [rsp + 0x184], eax
jmp 0x180036e5f
mov dword [rsp + 0x188], 0
mov eax, dword [rsp + 0x184]
dec eax
mov dword [rsp + 0x184], eax
jmp 0x180036e5f
mov dword [rsp + 0x18c], 7
mov dword [rsp + 0x174], 4
mov eax, dword [rsp + 0x174]
test eax, eax
jle 0x180036f43
mov eax, dword [rsp + 0x174]
cmp eax, 1
jle 0x180036f12
mov eax, dword [rsp + 0x18c]
and eax, 0x21f3
mov dword [rsp + 0x18c], eax
mov eax, dword [rsp + 0x174]
sub eax, 2
mov dword [rsp + 0x174], eax
jmp 0x180036ed5
mov eax, dword [rsp + 0x18c]
cmp eax, 0x806
jle 0x180036f31
mov eax, dword [rsp + 0x18c]
and eax, 0x7f
mov dword [rsp + 0x18c], eax
mov eax, dword [rsp + 0x174]
dec eax
mov dword [rsp + 0x174], eax
jmp 0x180036ed5
mov dword [rsp + 0x178], 7
mov dword [rsp + 0x170], 0x10
cmp dword [rsp + 0x170], 0
jle 0x180036fb9
mov eax, dword [rsp + 0x170]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180036f9c
mov dword [rsp + 0x178], 0
mov eax, dword [rsp + 0x170]
sub eax, 2
mov dword [rsp + 0x170], eax
jmp 0x180036f59
mov dword [rsp + 0x178], 0
mov eax, dword [rsp + 0x170]
dec eax
mov dword [rsp + 0x170], eax
jmp 0x180036f59
mov dword [rsp + 0x180], 8
mov dword [rsp + 0x194], 0x11
cmp dword [rsp + 0x194], 0
jle 0x18003702f
mov eax, dword [rsp + 0x194]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037011
mov dword [rsp + 0x180], 4
mov eax, dword [rsp + 0x194]
dec eax
mov dword [rsp + 0x194], eax
jmp 0x180036fcf
mov dword [rsp + 0x180], 4
mov eax, dword [rsp + 0x194]
sub eax, 2
mov dword [rsp + 0x194], eax
jmp 0x180036fcf
mov rdx, qword [0x180063fd0]
mov rcx, qword [0x180063f70]
call fcn.180047380
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800373cf
mov dword [rsp + 0x1bc], 5
mov dword [rsp + 0x1dc], 5
mov eax, dword [rsp + 0x1dc]
test eax, eax
jle 0x1800370d9
mov eax, dword [rsp + 0x1dc]
cmp eax, 1
jle 0x1800370a6
mov eax, dword [rsp + 0x1bc]
and eax, 0x9c1
mov dword [rsp + 0x1bc], eax
mov eax, dword [rsp + 0x1dc]
sub eax, 2
mov dword [rsp + 0x1dc], eax
jmp 0x180037069
mov eax, dword [rsp + 0x1bc]
cmp eax, 0x807
jle 0x1800370c7
mov eax, dword [rsp + 0x1bc]
and eax, 0x80
mov dword [rsp + 0x1bc], eax
mov eax, dword [rsp + 0x1dc]
dec eax
mov dword [rsp + 0x1dc], eax
jmp 0x180037069
mov dword [rsp + 0x1d8], 5
mov dword [rsp + 0x1c4], 0xf
cmp dword [rsp + 0x1c4], 0
jle 0x18003714e
mov eax, dword [rsp + 0x1c4]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037131
mov dword [rsp + 0x1d8], 0
mov eax, dword [rsp + 0x1c4]
dec eax
mov dword [rsp + 0x1c4], eax
jmp 0x1800370ef
mov dword [rsp + 0x1d8], 4
mov eax, dword [rsp + 0x1c4]
dec eax
mov dword [rsp + 0x1c4], eax
jmp 0x1800370ef
mov dword [rsp + 0x1b8], 1
mov dword [rsp + 0x1d0], 3
mov eax, dword [rsp + 0x1d0]
test eax, eax
jle 0x1800371d2
mov eax, dword [rsp + 0x1d0]
cmp eax, 1
jle 0x1800371a1
mov eax, dword [rsp + 0x1b8]
and eax, 0x1907
mov dword [rsp + 0x1b8], eax
mov eax, dword [rsp + 0x1d0]
sub eax, 2
mov dword [rsp + 0x1d0], eax
jmp 0x180037164
mov eax, dword [rsp + 0x1b8]
cmp eax, 0x805
jle 0x1800371c0
mov eax, dword [rsp + 0x1b8]
and eax, 0x7e
mov dword [rsp + 0x1b8], eax
mov eax, dword [rsp + 0x1d0]
dec eax
mov dword [rsp + 0x1d0], eax
jmp 0x180037164
mov dword [rsp + 0x1c8], 2
mov dword [rsp + 0x1cc], 4
mov eax, dword [rsp + 0x1cc]
test eax, eax
jle 0x180037256
mov eax, dword [rsp + 0x1cc]
cmp eax, 1
jle 0x180037225
mov eax, dword [rsp + 0x1c8]
and eax, 0x1176
mov dword [rsp + 0x1c8], eax
mov eax, dword [rsp + 0x1cc]
sub eax, 2
mov dword [rsp + 0x1cc], eax
jmp 0x1800371e8
mov eax, dword [rsp + 0x1c8]
cmp eax, 0x806
jle 0x180037244
mov eax, dword [rsp + 0x1c8]
and eax, 0x7f
mov dword [rsp + 0x1c8], eax
mov eax, dword [rsp + 0x1cc]
dec eax
mov dword [rsp + 0x1cc], eax
jmp 0x1800371e8
mov dword [rsp + 0x1b4], 7
mov dword [rsp + 0x1d4], 8
mov eax, dword [rsp + 0x1d4]
test eax, eax
jle 0x1800372dc
mov eax, dword [rsp + 0x1d4]
cmp eax, 1
jle 0x1800372a9
mov eax, dword [rsp + 0x1b4]
and eax, 0x2542
mov dword [rsp + 0x1b4], eax
mov eax, dword [rsp + 0x1d4]
sub eax, 2
mov dword [rsp + 0x1d4], eax
jmp 0x18003726c
mov eax, dword [rsp + 0x1b4]
cmp eax, 0x80a
jle 0x1800372ca
mov eax, dword [rsp + 0x1b4]
and eax, 0x83
mov dword [rsp + 0x1b4], eax
mov eax, dword [rsp + 0x1d4]
dec eax
mov dword [rsp + 0x1d4], eax
jmp 0x18003726c
mov dword [rsp + 0x1b0], 0
mov dword [rsp + 0x1a8], 0xd
cmp dword [rsp + 0x1a8], 0
jle 0x180037352
mov eax, dword [rsp + 0x1a8]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037334
mov dword [rsp + 0x1b0], 4
mov eax, dword [rsp + 0x1a8]
dec eax
mov dword [rsp + 0x1a8], eax
jmp 0x1800372f2
mov dword [rsp + 0x1b0], 0
mov eax, dword [rsp + 0x1a8]
sub eax, 2
mov dword [rsp + 0x1a8], eax
jmp 0x1800372f2
mov dword [rsp + 0x1ac], 8
mov dword [rsp + 0x1c0], 0x11
cmp dword [rsp + 0x1c0], 0
jle 0x1800373c8
mov eax, dword [rsp + 0x1c0]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x1800373aa
mov dword [rsp + 0x1ac], 4
mov eax, dword [rsp + 0x1c0]
dec eax
mov dword [rsp + 0x1c0], eax
jmp 0x180037368
mov dword [rsp + 0x1ac], 4
mov eax, dword [rsp + 0x1c0]
sub eax, 2
mov dword [rsp + 0x1c0], eax
jmp 0x180037368
xor eax, eax
jmp 0x18003822f
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov dword [rsp + 0x1fc], 6
mov dword [rsp + 0x214], 0xa
mov eax, dword [rsp + 0x214]
test eax, eax
jle 0x18003746b
mov eax, dword [rsp + 0x214]
cmp eax, 1
jle 0x180037438
mov eax, dword [rsp + 0x1fc]
and eax, 0x1f29
mov dword [rsp + 0x1fc], eax
mov eax, dword [rsp + 0x214]
sub eax, 2
mov dword [rsp + 0x214], eax
jmp 0x1800373fb
mov eax, dword [rsp + 0x1fc]
cmp eax, 0x80c
jle 0x180037459
mov eax, dword [rsp + 0x1fc]
and eax, 0x85
mov dword [rsp + 0x1fc], eax
mov eax, dword [rsp + 0x214]
dec eax
mov dword [rsp + 0x214], eax
jmp 0x1800373fb
mov dword [rsp + 0x1f0], 4
mov dword [rsp + 0x1e8], 0x15
cmp dword [rsp + 0x1e8], 0
jle 0x1800374e2
mov eax, dword [rsp + 0x1e8]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x1800374c4
mov dword [rsp + 0x1f0], 0
mov eax, dword [rsp + 0x1e8]
sub eax, 2
mov dword [rsp + 0x1e8], eax
jmp 0x180037481
mov dword [rsp + 0x1f0], 0
mov eax, dword [rsp + 0x1e8]
sub eax, 2
mov dword [rsp + 0x1e8], eax
jmp 0x180037481
mov dword [rsp + 0x1f8], 9
mov dword [rsp + 0x20c], 4
mov eax, dword [rsp + 0x20c]
test eax, eax
jle 0x180037566
mov eax, dword [rsp + 0x20c]
cmp eax, 1
jle 0x180037535
mov eax, dword [rsp + 0x1f8]
and eax, 0x197d
mov dword [rsp + 0x1f8], eax
mov eax, dword [rsp + 0x20c]
sub eax, 2
mov dword [rsp + 0x20c], eax
jmp 0x1800374f8
mov eax, dword [rsp + 0x1f8]
cmp eax, 0x806
jle 0x180037554
mov eax, dword [rsp + 0x1f8]
and eax, 0x7f
mov dword [rsp + 0x1f8], eax
mov eax, dword [rsp + 0x20c]
dec eax
mov dword [rsp + 0x20c], eax
jmp 0x1800374f8
mov dword [rsp + 0x1e4], 2
mov dword [rsp + 0x1ec], 0xa
mov eax, dword [rsp + 0x1ec]
test eax, eax
jle 0x1800375ec
mov eax, dword [rsp + 0x1ec]
cmp eax, 1
jle 0x1800375b9
mov eax, dword [rsp + 0x1e4]
and eax, 0x2106
mov dword [rsp + 0x1e4], eax
mov eax, dword [rsp + 0x1ec]
sub eax, 2
mov dword [rsp + 0x1ec], eax
jmp 0x18003757c
mov eax, dword [rsp + 0x1e4]
cmp eax, 0x80c
jle 0x1800375da
mov eax, dword [rsp + 0x1e4]
and eax, 0x85
mov dword [rsp + 0x1e4], eax
mov eax, dword [rsp + 0x1ec]
dec eax
mov dword [rsp + 0x1ec], eax
jmp 0x18003757c
mov dword [rsp + 0x208], 7
mov dword [rsp + 0x1e0], 0x11
cmp dword [rsp + 0x1e0], 0
jle 0x180037662
mov eax, dword [rsp + 0x1e0]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037644
mov dword [rsp + 0x208], 0
mov eax, dword [rsp + 0x1e0]
dec eax
mov dword [rsp + 0x1e0], eax
jmp 0x180037602
mov dword [rsp + 0x208], 4
mov eax, dword [rsp + 0x1e0]
sub eax, 2
mov dword [rsp + 0x1e0], eax
jmp 0x180037602
mov dword [rsp + 0x204], 5
mov dword [rsp + 0x1f4], 8
mov eax, dword [rsp + 0x1f4]
test eax, eax
jle 0x1800376e8
mov eax, dword [rsp + 0x1f4]
cmp eax, 1
jle 0x1800376b5
mov eax, dword [rsp + 0x204]
and eax, 0xc22
mov dword [rsp + 0x204], eax
mov eax, dword [rsp + 0x1f4]
sub eax, 2
mov dword [rsp + 0x1f4], eax
jmp 0x180037678
mov eax, dword [rsp + 0x204]
cmp eax, 0x80a
jle 0x1800376d6
mov eax, dword [rsp + 0x204]
and eax, 0x83
mov dword [rsp + 0x204], eax
mov eax, dword [rsp + 0x1f4]
dec eax
mov dword [rsp + 0x1f4], eax
jmp 0x180037678
mov dword [rsp + 0x210], 5
mov dword [rsp + 0x200], 0xf
cmp dword [rsp + 0x200], 0
jle 0x18003775d
mov eax, dword [rsp + 0x200]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037740
mov dword [rsp + 0x210], 0
mov eax, dword [rsp + 0x200]
dec eax
mov dword [rsp + 0x200], eax
jmp 0x1800376fe
mov dword [rsp + 0x210], 4
mov eax, dword [rsp + 0x200]
dec eax
mov dword [rsp + 0x200], eax
jmp 0x1800376fe
mov rcx, qword [rsp + 0x20]
call fcn.180047720
mov r8d, 0x104
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180037d11
mov dword [rsp + 0x228], 1
mov dword [rsp + 0x21c], 0x15
cmp dword [rsp + 0x21c], 0
jle 0x180037814
mov eax, dword [rsp + 0x21c]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x1800377f7
mov dword [rsp + 0x228], 4
mov eax, dword [rsp + 0x21c]
sub eax, 2
mov dword [rsp + 0x21c], eax
jmp 0x1800377b4
mov dword [rsp + 0x228], 0
mov eax, dword [rsp + 0x21c]
dec eax
mov dword [rsp + 0x21c], eax
jmp 0x1800377b4
mov dword [rsp + 0x240], 7
mov dword [rsp + 0x23c], 0xa
mov eax, dword [rsp + 0x23c]
test eax, eax
jle 0x18003789a
mov eax, dword [rsp + 0x23c]
cmp eax, 1
jle 0x180037867
mov eax, dword [rsp + 0x240]
and eax, 0x23c7
mov dword [rsp + 0x240], eax
mov eax, dword [rsp + 0x23c]
sub eax, 2
mov dword [rsp + 0x23c], eax
jmp 0x18003782a
mov eax, dword [rsp + 0x240]
cmp eax, 0x80c
jle 0x180037888
mov eax, dword [rsp + 0x240]
and eax, 0x85
mov dword [rsp + 0x240], eax
mov eax, dword [rsp + 0x23c]
dec eax
mov dword [rsp + 0x23c], eax
jmp 0x18003782a
mov dword [rsp + 0x22c], 7
mov dword [rsp + 0x224], 0x14
cmp dword [rsp + 0x224], 0
jle 0x180037910
mov eax, dword [rsp + 0x224]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x1800378f3
mov dword [rsp + 0x22c], 0
mov eax, dword [rsp + 0x224]
sub eax, 2
mov dword [rsp + 0x224], eax
jmp 0x1800378b0
mov dword [rsp + 0x22c], 0
mov eax, dword [rsp + 0x224]
dec eax
mov dword [rsp + 0x224], eax
jmp 0x1800378b0
mov dword [rsp + 0x230], 9
mov dword [rsp + 0x244], 4
mov eax, dword [rsp + 0x244]
test eax, eax
jle 0x180037994
mov eax, dword [rsp + 0x244]
cmp eax, 1
jle 0x180037963
mov eax, dword [rsp + 0x230]
and eax, 0x197d
mov dword [rsp + 0x230], eax
mov eax, dword [rsp + 0x244]
sub eax, 2
mov dword [rsp + 0x244], eax
jmp 0x180037926
mov eax, dword [rsp + 0x230]
cmp eax, 0x806
jle 0x180037982
mov eax, dword [rsp + 0x230]
and eax, 0x7f
mov dword [rsp + 0x230], eax
mov eax, dword [rsp + 0x244]
dec eax
mov dword [rsp + 0x244], eax
jmp 0x180037926
mov dword [rsp + 0x220], 8
mov dword [rsp + 0x238], 0x11
cmp dword [rsp + 0x238], 0
jle 0x180037a0a
mov eax, dword [rsp + 0x238]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x1800379ec
mov dword [rsp + 0x220], 4
mov eax, dword [rsp + 0x238]
dec eax
mov dword [rsp + 0x238], eax
jmp 0x1800379aa
mov dword [rsp + 0x220], 4
mov eax, dword [rsp + 0x238]
sub eax, 2
mov dword [rsp + 0x238], eax
jmp 0x1800379aa
mov dword [rsp + 0x234], 9
mov dword [rsp + 0x218], 5
mov eax, dword [rsp + 0x218]
test eax, eax
jle 0x180037a90
mov eax, dword [rsp + 0x218]
cmp eax, 1
jle 0x180037a5d
mov eax, dword [rsp + 0x234]
and eax, 0x10a2
mov dword [rsp + 0x234], eax
mov eax, dword [rsp + 0x218]
sub eax, 2
mov dword [rsp + 0x218], eax
jmp 0x180037a20
mov eax, dword [rsp + 0x234]
cmp eax, 0x807
jle 0x180037a7e
mov eax, dword [rsp + 0x234]
and eax, 0x80
mov dword [rsp + 0x234], eax
mov eax, dword [rsp + 0x218]
dec eax
mov dword [rsp + 0x218], eax
jmp 0x180037a20
mov dword [rsp + 0x24c], 1
mov dword [rsp + 0x248], 0x15
cmp dword [rsp + 0x248], 0
jle 0x180037b06
mov eax, dword [rsp + 0x248]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037ae9
mov dword [rsp + 0x24c], 4
mov eax, dword [rsp + 0x248]
sub eax, 2
mov dword [rsp + 0x248], eax
jmp 0x180037aa6
mov dword [rsp + 0x24c], 0
mov eax, dword [rsp + 0x248]
dec eax
mov dword [rsp + 0x248], eax
jmp 0x180037aa6
mov dword [rsp + 0x254], 1
mov dword [rsp + 0x260], 3
mov eax, dword [rsp + 0x260]
test eax, eax
jle 0x180037b8a
mov eax, dword [rsp + 0x260]
cmp eax, 1
jle 0x180037b59
mov eax, dword [rsp + 0x254]
and eax, 0x1907
mov dword [rsp + 0x254], eax
mov eax, dword [rsp + 0x260]
sub eax, 2
mov dword [rsp + 0x260], eax
jmp 0x180037b1c
mov eax, dword [rsp + 0x254]
cmp eax, 0x805
jle 0x180037b78
mov eax, dword [rsp + 0x254]
and eax, 0x7e
mov dword [rsp + 0x254], eax
mov eax, dword [rsp + 0x260]
dec eax
mov dword [rsp + 0x260], eax
jmp 0x180037b1c
mov dword [rsp + 0x25c], 8
mov dword [rsp + 0x26c], 0xc
cmp dword [rsp + 0x26c], 0
jle 0x180037c00
mov eax, dword [rsp + 0x26c]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037be2
mov dword [rsp + 0x25c], 4
mov eax, dword [rsp + 0x26c]
dec eax
mov dword [rsp + 0x26c], eax
jmp 0x180037ba0
mov dword [rsp + 0x25c], 0
mov eax, dword [rsp + 0x26c]
sub eax, 2
mov dword [rsp + 0x26c], eax
jmp 0x180037ba0
mov dword [rsp + 0x258], 9
mov dword [rsp + 0x268], 4
mov eax, dword [rsp + 0x268]
test eax, eax
jle 0x180037c84
mov eax, dword [rsp + 0x268]
cmp eax, 1
jle 0x180037c53
mov eax, dword [rsp + 0x258]
and eax, 0x197d
mov dword [rsp + 0x258], eax
mov eax, dword [rsp + 0x268]
sub eax, 2
mov dword [rsp + 0x268], eax
jmp 0x180037c16
mov eax, dword [rsp + 0x258]
cmp eax, 0x806
jle 0x180037c72
mov eax, dword [rsp + 0x258]
and eax, 0x7f
mov dword [rsp + 0x258], eax
mov eax, dword [rsp + 0x268]
dec eax
mov dword [rsp + 0x268], eax
jmp 0x180037c16
mov dword [rsp + 0x250], 7
mov dword [rsp + 0x264], 8
mov eax, dword [rsp + 0x264]
test eax, eax
jle 0x180037d0a
mov eax, dword [rsp + 0x264]
cmp eax, 1
jle 0x180037cd7
mov eax, dword [rsp + 0x250]
and eax, 0x2542
mov dword [rsp + 0x250], eax
mov eax, dword [rsp + 0x264]
sub eax, 2
mov dword [rsp + 0x264], eax
jmp 0x180037c9a
mov eax, dword [rsp + 0x250]
cmp eax, 0x80a
jle 0x180037cf8
mov eax, dword [rsp + 0x250]
and eax, 0x83
mov dword [rsp + 0x250], eax
mov eax, dword [rsp + 0x264]
dec eax
mov dword [rsp + 0x264], eax
jmp 0x180037c9a
xor eax, eax
jmp 0x18003822f
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x27c], 0
mov dword [rsp + 0x274], 0xd
cmp dword [rsp + 0x274], 0
jle 0x180037da2
mov eax, dword [rsp + 0x274]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180037d84
mov dword [rsp + 0x27c], 4
mov eax, dword [rsp + 0x274]
dec eax
mov dword [rsp + 0x274], eax
jmp 0x180037d42
mov dword [rsp + 0x27c], 0
mov eax, dword [rsp + 0x274]
sub eax, 2
mov dword [rsp + 0x274], eax
jmp 0x180037d42
mov dword [rsp + 0x270], 5
mov dword [rsp + 0x288], 4
mov eax, dword [rsp + 0x288]
test eax, eax
jle 0x180037e26
mov eax, dword [rsp + 0x288]
cmp eax, 1
jle 0x180037df5
mov eax, dword [rsp + 0x270]
and eax, 0x1952
mov dword [rsp + 0x270], eax
mov eax, dword [rsp + 0x288]
sub eax, 2
mov dword [rsp + 0x288], eax
jmp 0x180037db8
mov eax, dword [rsp + 0x270]
cmp eax, 0x806
jle 0x180037e14
mov eax, dword [rsp + 0x270]
and eax, 0x7f
mov dword [rsp + 0x270], eax
mov eax, dword [rsp + 0x288]
dec eax
mov dword [rsp + 0x288], eax
jmp 0x180037db8
mov dword [rsp + 0x284], 7
mov dword [rsp + 0x28c], 0xb
mov eax, dword [rsp + 0x28c]
test eax, eax
jle 0x180037eac
mov eax, dword [rsp + 0x28c]
cmp eax, 1
jle 0x180037e79
mov eax, dword [rsp + 0x284]
and eax, 0x66b
mov dword [rsp + 0x284], eax
mov eax, dword [rsp + 0x28c]
sub eax, 2
mov dword [rsp + 0x28c], eax
jmp 0x180037e3c
mov eax, dword [rsp + 0x284]
cmp eax, 0x80d
jle 0x180037e9a
mov eax, dword [rsp + 0x284]
and eax, 0x86
mov dword [rsp + 0x284], eax
mov eax, dword [rsp + 0x28c]
dec eax
mov dword [rsp + 0x28c], eax
jmp 0x180037e3c
mov dword [rsp + 0x280], 7
mov dword [rsp + 0x278], 4
mov eax, dword [rsp + 0x278]
test eax, eax
jle 0x180037f30
mov eax, dword [rsp + 0x278]
cmp eax, 1
jle 0x180037eff
mov eax, dword [rsp + 0x280]
and eax, 0x21f3
mov dword [rsp + 0x280], eax
mov eax, dword [rsp + 0x278]
sub eax, 2
mov dword [rsp + 0x278], eax
jmp 0x180037ec2
mov eax, dword [rsp + 0x280]
cmp eax, 0x806
jle 0x180037f1e
mov eax, dword [rsp + 0x280]
and eax, 0x7f
mov dword [rsp + 0x280], eax
mov eax, dword [rsp + 0x278]
dec eax
mov dword [rsp + 0x278], eax
jmp 0x180037ec2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x2b0], 7
mov dword [rsp + 0x2bc], 0xb
mov eax, dword [rsp + 0x2bc]
test eax, eax
jle 0x180037fcc
mov eax, dword [rsp + 0x2bc]
cmp eax, 1
jle 0x180037f99
mov eax, dword [rsp + 0x2b0]
and eax, 0x66b
mov dword [rsp + 0x2b0], eax
mov eax, dword [rsp + 0x2bc]
sub eax, 2
mov dword [rsp + 0x2bc], eax
jmp 0x180037f5c
mov eax, dword [rsp + 0x2b0]
cmp eax, 0x80d
jle 0x180037fba
mov eax, dword [rsp + 0x2b0]
and eax, 0x86
mov dword [rsp + 0x2b0], eax
mov eax, dword [rsp + 0x2bc]
dec eax
mov dword [rsp + 0x2bc], eax
jmp 0x180037f5c
mov dword [rsp + 0x2a8], 4
mov dword [rsp + 0x298], 0x15
cmp dword [rsp + 0x298], 0
jle 0x180038043
mov eax, dword [rsp + 0x298]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180038025
mov dword [rsp + 0x2a8], 0
mov eax, dword [rsp + 0x298]
sub eax, 2
mov dword [rsp + 0x298], eax
jmp 0x180037fe2
mov dword [rsp + 0x2a8], 0
mov eax, dword [rsp + 0x298]
sub eax, 2
mov dword [rsp + 0x298], eax
jmp 0x180037fe2
mov dword [rsp + 0x2ac], 0
mov dword [rsp + 0x2b4], 0x14
cmp dword [rsp + 0x2b4], 0
jle 0x1800380b8
mov eax, dword [rsp + 0x2b4]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x18003809b
mov dword [rsp + 0x2ac], 4
mov eax, dword [rsp + 0x2b4]
dec eax
mov dword [rsp + 0x2b4], eax
jmp 0x180038059
mov dword [rsp + 0x2ac], 0
mov eax, dword [rsp + 0x2b4]
dec eax
mov dword [rsp + 0x2b4], eax
jmp 0x180038059
mov dword [rsp + 0x2a4], 0
mov dword [rsp + 0x294], 0xd
cmp dword [rsp + 0x294], 0
jle 0x18003812e
mov eax, dword [rsp + 0x294]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180038110
mov dword [rsp + 0x2a4], 4
mov eax, dword [rsp + 0x294]
dec eax
mov dword [rsp + 0x294], eax
jmp 0x1800380ce
mov dword [rsp + 0x2a4], 0
mov eax, dword [rsp + 0x294]
sub eax, 2
mov dword [rsp + 0x294], eax
jmp 0x1800380ce
mov dword [rsp + 0x290], 2
mov dword [rsp + 0x29c], 0xa
mov eax, dword [rsp + 0x29c]
test eax, eax
jle 0x1800381b4
mov eax, dword [rsp + 0x29c]
cmp eax, 1
jle 0x180038181
mov eax, dword [rsp + 0x290]
and eax, 0x2106
mov dword [rsp + 0x290], eax
mov eax, dword [rsp + 0x29c]
sub eax, 2
mov dword [rsp + 0x29c], eax
jmp 0x180038144
mov eax, dword [rsp + 0x290]
cmp eax, 0x80c
jle 0x1800381a2
mov eax, dword [rsp + 0x290]
and eax, 0x85
mov dword [rsp + 0x290], eax
mov eax, dword [rsp + 0x29c]
dec eax
mov dword [rsp + 0x29c], eax
jmp 0x180038144
mov dword [rsp + 0x2b8], 4
mov dword [rsp + 0x2a0], 0x13
cmp dword [rsp + 0x2a0], 0
jle 0x18003822a
mov eax, dword [rsp + 0x2a0]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x18003820c
mov dword [rsp + 0x2b8], 0
mov eax, dword [rsp + 0x2a0]
dec eax
mov dword [rsp + 0x2a0], eax
jmp 0x1800381ca
mov dword [rsp + 0x2b8], 0
mov eax, dword [rsp + 0x2a0]
sub eax, 2
mov dword [rsp + 0x2a0], eax
jmp 0x1800381ca
mov eax, 1
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.180049ea0
add rsp, 0x2d0
pop rdi
ret