Function at 0x432c1c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 0x14]
cmp ebx, 7
mov dword [ebp - 0x14], edx
mov edx, 0
mov dword [ebp - 0x18], edi
mov edi, ecx
mov dword [ebp - 0x20], esi
mov esi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
jne 0x432c54
mov edx, 1
mov ebx, 6
jmp 0x432c66
cmp ebx, 0xa
mov edx, 0
jne 0x432c63
mov ebx, 9
sete dl
cmp dword [0x50dc40], 0
je 0x433a49
cmp dword [0x50acc0], 2
jge 0x432c85
cmp ebx, 6
je 0x433a2b
cmp esi, 0xfffffffb
je 0x4338a7
cmp esi, 0xfffffffa
jg 0x432c98
mov dword [ebp - 4], esi
jmp 0x432c9e
lea ecx, [esi + 5]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 4]
test edi, edi
jl 0x432e76
cmp edi, 0x68
jg 0x432e76
mov edx, edi
lea ecx, [edi*4]
shl edx, 5
sub edx, ecx
mov ecx, dword [edx + 0x50e4d8]
test ecx, ecx
je 0x432e0b
movzx ecx, word [ecx + 0x164]
test ecx, ecx
jg 0x432e0b
cmp dword [edx + 0x50e4cc], 0
je 0x432d1d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp - 4]
mov edx, edi
shl edx, 5
lea ecx, [edi*4]
sub edx, ecx
cmp eax, dword [edx + 0x50e4c8]
jne 0x432d1d
mov eax, 0x28
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
cmp dword [0x50acc0], 2
jge 0x432d54
lea edx, [edi*4]
shl edi, 5
sub edi, edx
mov ecx, dword [edi + 0x50e4c4]
test ecx, ecx
je 0x432d46
mov eax, 0x98
jmp 0x432dce
mov dword [edi + 0x50e4c4], 1
xor eax, eax
jmp 0x432dce
lea edx, [edx + 0x50e4c4]
push edx
call fcn.00410180
add esp, 4
test eax, eax
je 0x432d6e
mov eax, 0x98
jmp 0x432dce
mov edx, dword [ebp - 4]
mov edi, edx
shl edi, 5
lea ecx, [edx*4]
sub edi, ecx
cmp dword [edi + 0x50e4c0], 0
je 0x433867
mov dword [edi + 0x50e4c4], 0
push 0xffffffffffffffff
lea ecx, [edx*4]
shl edx, 5
sub edx, ecx
push dword [edx + 0x50e4c0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
lea edi, [ecx + 0x50e4c4]
push edi
call fcn.00410180
add esp, 4
test eax, eax
je 0x432dd9
mov eax, 0x98
jmp 0x432e00
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c8], eax
xor eax, eax
mov dword [ecx + 0x50e4cc], 1
test eax, eax
jne 0x432d10
mov edi, dword [ebp - 4]
mov ecx, edi
lea edx, [edi*4]
shl ecx, 5
sub ecx, edx
mov edx, dword [ecx + 0x50e4d8]
test edx, edx
je 0x432e43
movzx ecx, byte [edx + 0x179]
test cl, 0x20
jne 0x432e39
test cl, 0x18
je 0x432e39
cmp ebx, 6
je 0x432e43
cmp dword [edx + 0x18], 0
je 0x433855
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
lea edi, [edi + 0x50e4c0]
push edi
push edx
push ebx
push ecx
push esi
call fcn.0043acb0
add esp, 0x14
cmp eax, 0xfffffffd
je 0x432ca4
jmp 0x43372e
lea edi, [ebp - 0x24]
mov dword [esp + 0xc], edi
mov eax, esi
lea edx, [ebp - 4]
lea ecx, [ebp - 0xc]
call fcn.00433a60
test eax, eax
jne 0x43355a
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x432ea5
cmp esi, dword [edx + 0x108]
je 0x433898
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
lea edi, [eax*4]
shl eax, 5
sub eax, edi
lea edi, [eax + 0x50e4c0]
push edi
push edx
push ebx
push ecx
push esi
call fcn.0043acb0
add esp, 0x14
cmp eax, 0xfffffffd
je 0x432ca4
mov edx, dword [ebp - 0x3c]
test eax, eax
mov edi, dword [ebp - 0x38]
jne 0x432d10
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4335c3
mov edx, ecx
mov dword [ebp - 0xc], edx
cmp dword [edx + 0x18], 0
je 0x433444
mov edx, dword [0x50acc0]
cmp edx, 1
je 0x433416
cmp edx, 2
jge 0x432f30
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
jmp 0x432f58
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
push dword [ecx + 0x50e4c0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp ebx, 6
jne 0x432f65
mov ebx, 9
mov dword [edx], eax
test edi, edi
je 0x432f6e
mov dword [edi + 4], eax
mov dword [eax + 0x64], edi
cmp ebx, 0xf
je 0x432f96
cmp ebx, 0x12
je 0x432f96
cmp ebx, 0xc
jne 0x432f8c
mov edx, dword [ebp - 0xc]
or byte [edx + 0x182], 2
jmp 0x432f96
mov edx, dword [ebp - 0xc]
and byte [edx + 0x182], 0xfd
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x16e], bl
mov ecx, dword [ebp - 0xc]
and byte [ecx + 0x182], 0xf7
mov edi, dword [ebp - 0xc]
and byte [edi + 0x182], 0xef
cmp dword [ebp - 8], 0
je 0x4333ab
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00434b50
mov ebx, eax
test ebx, ebx
je 0x4333ab
cmp esi, 0xfffffffa
jle 0x432fdd
lea edx, [esi + 5]
mov ecx, edx
jmp 0x432fe1
mov edx, esi
mov ecx, esi
test edx, edx
jl 0x433193
cmp edx, 0x68
jg 0x433193
lea edi, [edx*4]
shl edx, 5
sub edx, edi
mov edi, dword [edx + 0x50e4d8]
test edi, edi
mov dword [ebp - 0x30], edi
je 0x433011
cmp dword [edi + 0x18], 0
je 0x433029
mov edx, edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], ecx
push 0
push esi
call fcn.0043b330
add esp, 8
jmp 0x433393
mov esi, dword [edi + 0x64]
movzx eax, byte [edi + 0x183]
test al, 1
mov dword [ebp - 0x2c], esi
mov dword [edi + 0x64], 0
mov dword [ebp - 0x38], eax
je 0x433072
mov esi, edi
movzx edi, byte [esi + 0x17b]
mov eax, edi
shr edi, 6
and eax, 0xffffffdf
and edi, 1
shl edi, 5
or eax, edi
mov byte [esi + 0x17b], al
mov eax, dword [ebp - 0x38]
and eax, 0xfffffffe
mov dword [ebp - 0x38], eax
mov byte [esi + 0x183], al
test byte [ebp - 0x38], 2
je 0x433097
mov esi, dword [ebp - 0x30]
movzx eax, byte [esi + 0x174]
mov byte [esi + 0x173], al
mov eax, dword [ebp - 0x38]
and eax, 0xfffffffd
mov dword [ebp - 0x38], eax
mov byte [esi + 0x183], al
test byte [ebp - 0x38], 4
je 0x4330bc
mov esi, dword [ebp - 0x30]
movzx eax, byte [esi + 0x16c]
mov byte [esi + 0x16b], al
mov eax, dword [ebp - 0x38]
and eax, 0xfffffffb
mov dword [ebp - 0x38], eax
mov byte [esi + 0x183], al
test byte [ebp - 0x38], 8
je 0x4330f0
mov esi, dword [ebp - 0x30]
movzx edi, byte [esi + 0x17e]
mov eax, edi
shr edi, 2
and eax, 0xfffffffd
and edi, 1
add edi, edi
or eax, edi
mov byte [esi + 0x17e], al
mov eax, dword [ebp - 0x38]
and eax, 0xfffffff7
mov dword [ebp - 0x38], eax
mov byte [esi + 0x183], al
test byte [ebp - 0x38], 0x10
je 0x433115
mov esi, dword [ebp - 0x30]
movzx eax, byte [esi + 0x172]
mov byte [esi + 0x171], al
mov eax, dword [ebp - 0x38]
and eax, 0xffffffef
mov dword [ebp - 0x38], eax
mov byte [esi + 0x183], al
test byte [ebp - 0x38], 0x20
je 0x433137
mov esi, dword [ebp - 0x30]
movzx eax, byte [esi + 0x176]
mov byte [esi + 0x175], al
mov eax, dword [ebp - 0x38]
and eax, 0xffffffdf
mov byte [esi + 0x183], al
mov dword [edx + 0x50e4cc], 0
mov dword [edx + 0x50e4c8], 0xffffffff
cmp dword [0x50acc0], 2
jge 0x433163
mov dword [edx + 0x50e4c4], 0
jmp 0x433383
mov dword [ebp - 0x38], ecx
mov dword [edx + 0x50e4c4], 0
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], esi
push dword [ecx + 0x50e4c0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x433383
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x30]
mov dword [esp + 0xc], edi
mov eax, esi
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00433a60
test eax, eax
jne 0x433393
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4331c1
cmp esi, dword [edx + 0x108]
je 0x433225
mov edx, dword [0x50acc0]
cmp edx, 1
je 0x4333ba
cmp edx, 2
jge 0x4331f0
mov ecx, dword [ebp - 0x38]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
jmp 0x433215
mov ecx, dword [ebp - 0x38]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
push dword [ecx + 0x50e4c0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
push esi
call fcn.0043b330
add esp, 8
jmp 0x433393
mov edx, dword [0x50acc0]
cmp edx, 1
je 0x4333e8
cmp edx, 2
jge 0x433254
mov ecx, dword [ebp - 0x38]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
jmp 0x433279
mov ecx, dword [ebp - 0x38]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
push dword [ecx + 0x50e4c0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [ebp - 0x28]
mov edx, dword [esi + 0x64]
mov dword [ebp - 0x2c], edx
movzx edx, byte [esi + 0x183]
test dl, 1
mov dword [esi + 0x64], 0
je 0x4332bb
movzx edi, byte [esi + 0x17b]
mov ecx, edi
shr edi, 6
and ecx, 0xffffffdf
and edi, 1
and edx, 0xfffffffe
shl edi, 5
or ecx, edi
mov byte [esi + 0x17b], cl
mov byte [esi + 0x183], dl
test dl, 2
je 0x4332d6
movzx ecx, byte [esi + 0x174]
and edx, 0xfffffffd
mov byte [esi + 0x173], cl
mov byte [esi + 0x183], dl
test dl, 4
je 0x4332f1
movzx ecx, byte [esi + 0x16c]
and edx, 0xfffffffb
mov byte [esi + 0x16b], cl
mov byte [esi + 0x183], dl
test dl, 8
je 0x43331b
movzx edi, byte [esi + 0x17e]
mov ecx, edi
shr edi, 2
and ecx, 0xfffffffd
and edi, 1
and edx, 0xfffffff7
add edi, edi
or ecx, edi
mov byte [esi + 0x17e], cl
mov byte [esi + 0x183], dl
test dl, 0x10
je 0x433336
movzx ecx, byte [esi + 0x172]
and edx, 0xffffffef
mov byte [esi + 0x171], cl
mov byte [esi + 0x183], dl
test dl, 0x20
je 0x433351
movzx ecx, byte [esi + 0x176]
and edx, 0xffffffdf
mov byte [esi + 0x175], cl
mov byte [esi + 0x183], dl
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0xffffffff
cmp dword [0x50acc0], 2
jge 0x433371
mov dword [esi + 4], 0
jmp 0x433383
mov dword [esi + 4], 0
mov edx, dword [ebp - 0x28]
push dword [edx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x2c], 0
je 0x433393
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], 0
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x38]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
push dword [ecx + 0x50e4d4]
push dword [ecx + 0x50e4d0]
call fcn.00410160
add esp, 8
mov edx, dword [0x50acc0]
jmp 0x4331d0
mov ecx, dword [ebp - 0x38]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
push dword [ecx + 0x50e4d4]
push dword [ecx + 0x50e4d0]
call fcn.00410160
add esp, 8
mov edx, dword [0x50acc0]
jmp 0x433234
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
push dword [ecx + 0x50e4d4]
push dword [ecx + 0x50e4d0]
call fcn.00410160
add esp, 8
mov edx, dword [0x50acc0]
jmp 0x432f0d
cmp dword [edx + 0xc], 0
je 0x433471
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 8]
jne 0x433471
mov eax, 0x28
movzx ecx, word [edx + 0x164]
test ecx, ecx
jg 0x432efe
jmp 0x433504
cmp dword [0x50acc0], 2
jge 0x433493
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x433488
mov eax, 0x98
jmp 0x4334d9
xor eax, eax
mov dword [edx + 4], 1
jmp 0x4334d9
add edx, 4
push edx
call fcn.00410180
add esp, 4
test eax, eax
je 0x4334aa
mov eax, 0x98
jmp 0x4334d9
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
je 0x4335a4
mov dword [edx + 4], 0
mov edx, dword [ebp - 0xc]
push 0xffffffffffffffff
push dword [edx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.00410180
add esp, 4
test eax, eax
je 0x4334e4
mov eax, 0x98
jmp 0x4334fc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 1
test eax, eax
je 0x432efe
mov edx, dword [0x50acc0]
cmp edx, 1
je 0x433570
cmp edx, 2
jge 0x43352f
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
jmp 0x43355a
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4c4], 0
push dword [ecx + 0x50e4c0]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
push dword [ecx + 0x50e4d4]
push dword [ecx + 0x50e4d0]
mov dword [ebp - 0x38], eax
call fcn.00410160
mov eax, dword [ebp - 0x38]
add esp, 8
mov edx, dword [0x50acc0]
jmp 0x43350f
xor edx, edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], 0
jmp 0x4334bd
mov dword [ebp - 8], 0
cmp esi, 0xfffffffb
jge 0x4335dc
test edx, edx
jne 0x4335dc
mov dword [ebp - 0x38], 0x20
jmp 0x43364e
lea edx, [ebp - 0x3c]
push edx
push 1
push 0x190
call fcn.00431e20
mov dword [ebp - 0x38], eax
add esp, 0xc
cmp dword [ebp - 0x38], 0
jne 0x433648
push 0x190
push 0
push dword [ebp - 0x3c]
call fcn.004cda30
add esp, 0xc
mov edx, dword [ebp - 0x3c]
cmp esi, 0xfffffffa
mov dword [edx + 0x108], esi
lea edx, [esi + 5]
jg 0x43361d
mov edx, esi
cmp edx, 0x69
jge 0x433626
test edx, edx
jge 0x433643
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dword [ecx], edx
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edx
xor edx, edx
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x4336ba
mov eax, dword [0x50acc0]
cmp eax, 1
je 0x4336e7
cmp eax, 2
jge 0x43367c
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x50e4c4], 0
jmp 0x4336a1
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
mov dword [edx + 0x50e4c4], 0
push dword [edx + 0x50e4c0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x28], edx
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x433714
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x28], edx
mov ecx, dword [ebp - 0x3c]
mov edx, ecx
mov dword [ebp - 0xc], edx
mov dword [0x50e080], 1
jmp 0x432ef4
mov edx, dword [ebp - 4]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x50e4d4]
push dword [edx + 0x50e4d0]
call fcn.00410160
add esp, 8
mov eax, dword [0x50acc0]
jmp 0x43365c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x3c]
lea edx, [eax*4]
shl eax, 5
sub eax, edx
mov dword [eax + 0x50e4d8], ecx
jmp 0x4336d3
mov edi, dword [ebp - 0x38]
test eax, eax
jne 0x432d10
cmp dword [ebp - 0xc], 0
je 0x433751
mov dword [0x50e080], 1
mov eax, dword [ebp - 0xc]
jmp 0x432f58
mov dword [ebp - 8], 0
lea edx, [ebp - 0xc]
push edx
push 1
push 0x190
call fcn.00431e20
add esp, 0xc
test eax, eax
je 0x4337e3
mov ecx, dword [ebp - 4]
mov edx, ecx
shl edx, 5
lea eax, [ecx*4]
sub edx, eax
cmp dword [0x50acc0], 2
mov dword [edx + 0x50e4cc], 0
mov dword [edx + 0x50e4c8], 0xffffffff
jge 0x4337ab
mov dword [edx + 0x50e4c4], 0
xor eax, eax
jmp 0x4337cd
mov dword [edx + 0x50e4c4], 0
lea eax, [ecx*4]
shl ecx, 5
sub ecx, eax
push dword [ecx + 0x50e4c0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
push 0x190
push 0
push dword [ebp - 0xc]
call fcn.004cda30
add esp, 0xc
mov edx, dword [ebp - 0xc]
cmp esi, 0xfffffffa
mov dword [edx + 0x108], esi
lea edx, [esi + 5]
jg 0x433808
mov edx, esi
cmp edx, 0x69
jge 0x433811
test edx, edx
jge 0x43382e
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dword [ecx], edx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [0x50e080], 1
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x50e4d8], eax
jmp 0x432f58
mov edi, dword [ebp - 0x38]
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], edx
jmp 0x43373f
xor edx, edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, dword [ebp - 4]
mov edi, edx
shl edi, 5
lea ecx, [edx*4]
sub edi, ecx
mov dword [edi + 0x50e4c0], eax
mov dword [edi + 0x50e4c4], 0
jmp 0x432d96
mov edi, dword [ebp - 0x38]
mov dword [ebp - 8], 1
jmp 0x432ef4
lea edx, [ebp - 0xc]
push edx
push 1
push 0x190
call fcn.00431e20
mov dword [ebp - 0x38], eax
add esp, 0xc
cmp dword [ebp - 0x38], 0
jne 0x433909
push 0x190
push 0
push dword [ebp - 0xc]
call fcn.004cda30
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
push eax
push 0
push 0xac
mov dword [edx + 0x108], esi
call fcn.00431e20
mov dword [ebp - 0x38], eax
add esp, 0x18
cmp dword [ebp - 0x38], 0
je 0x433928
push dword [ebp - 0xc]
call fcn.00431ee0
add esp, 4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x38], 0
je 0x433954
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
push 0xac
mov dword [edx + 0x58], eax
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
push 0
mov dword [esi + 0x5c], ecx
push dword [ebp - 0x3c]
call fcn.004cda30
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [0x50acc0]
cmp eax, 2
jge 0x433971
cmp eax, 1
je 0x433a03
mov eax, 0x50ac20
mov dword [ebp - 0x38], eax
jmp 0x433986
lea eax, [ebp - 0x38]
push eax
call fcn.0040ff40
mov esi, eax
add esp, 4
test esi, esi
jne 0x4339e0
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [edx + 0x28], eax
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword [esi], ecx
cmp dword [0x50acc0], 1
je 0x433a15
mov eax, dword [ebp - 0xc]
test edi, edi
mov byte [eax + 0x16e], bl
mov eax, dword [ebp - 0xc]
je 0x4339b2
mov dword [edi + 4], eax
mov dword [eax + 0x64], edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
and byte [eax + 0x182], 0xf7
xor eax, eax
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
and byte [edx + 0x182], 0xef
mov ecx, dword [ebp - 0xc]
mov dword [ebx], ecx
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
call fcn.00431ee0
add esp, 4
mov edx, dword [ebp - 0x14]
mov eax, esi
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
push 0x50ac84
call fcn.00410130
add esp, 4
jmp 0x433967
mov eax, dword [ebp - 0x38]
push dword [eax + 0x68]
push dword [eax + 0x64]
call fcn.00410160
add esp, 8
jmp 0x43399f
mov dword [ebp - 0x34], 2
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x3c], edx
call fcn.0040fa70
mov edx, dword [ebp - 0x3c]
add esp, 4
jmp 0x432c85
mov dword [ebp - 0x3c], edx
call fcn.004103b0
mov edx, dword [ebp - 0x3c]
jmp 0x432c73