Function at 0x10077430
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101455de
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x830], edx
mov dword [ebp - 0x834], ecx
push str.LoginAgent::OOBESetEmail
lea ecx, [ebp - 0x80c]
mov dword [ebp - 0x814], 0
call fcn.1000ab60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x82c]
push 0x2b
push str.Global0C5354C6_381F_4AED_A3BA_8DB8B9D7AB51
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
call fcn.10002060
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmovae eax, dword [ebp - 0x82c]
push eax
push 0
push 0
mov dword [ebp - 0x1c], 0
call edi
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 1
call fcn.10002400
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077e57
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push eax
call esi
test eax, eax
jne 0x10077e57
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x844], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x82c]
push 0x2b
push str.Global0C5354C6_381F_4AED_A3BA_8DB8B9D7AB51
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
call fcn.10002060
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x82c]
push eax
push 0
push 0
call edi
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x82c]
call fcn.10002400
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100775ab
lea esi, [eax + 0x1f]
jmp 0x100775b7
push 0xffffffffffffffff
push eax
call esi
neg eax
sbb esi, esi
and esi, 0x1f
test esi, esi
sete byte [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.10069b30
test al, al
jne 0x1007763a
push str.LoginAgent::OOBESetEmail
mov edx, 0x10
lea ecx, [ebp - 0x158]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 6
cmp byte [eax + 0x48], 0
je 0x100775f8
mov edx, str.not_an_OOBE_kit___exit
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x158]
call fcn.1000ad70
test esi, esi
jne 0x10077615
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10077623
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10077623
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077ea7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x10077e99
lea ecx, [ebp - 0x14c]
call fcn.1006e6e0
mov byte [ebp - 4], 7
call fcn.100e9270
test al, al
je 0x10077663
cmp dword [ebp - 0x11c], 0
je 0x10077663
mov edi, dword [ebp - 0x830]
jmp 0x100776cd
push str.LoginAgent::OOBESetEmail
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 8
cmp byte [eax + 0x48], 0
je 0x10077691
mov edx, str.no_oobe_account___try_to_create_it
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 7
call fcn.1000ad70
mov edi, dword [ebp - 0x830]
mov ecx, edi
call fcn.100765a0
lea ecx, [ebp - 0x14c]
call fcn.100e9270
test al, al
je 0x10077e1c
cmp dword [ebp - 0x11c], 0
je 0x10077e1c
lea ecx, [ebp - 0x3f8]
call fcn.10074f90
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.100feb80
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
mov dword [ebp - 0x814], 1
call fcn.100fec80
test al, al
je 0x10077714
cmp dword [ebp - 0x3e8], 0
mov byte [ebp - 0x80d], 1
jne 0x1007771b
mov byte [ebp - 0x80d], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xa
call fcn.10002400
lea ecx, [ebp - 0x6c]
call fcn.10002400
cmp byte [ebp - 0x80d], 0
je 0x10077830
push str.LoginAgent::OOBESetEmail
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xc
mov al, byte [esi + 0x48]
test al, al
je 0x100777a4
mov edx, str.email
mov ecx, esi
call fcn.100205a0
mov al, byte [esi + 0x48]
test al, al
je 0x100777a4
cmp dword [ebp - 0x3e4], 0x10
lea edx, [ebp - 0x3f8]
mov ecx, esi
cmovae edx, dword [ebp - 0x3f8]
call fcn.10020800
cmp byte [esi + 0x48], 0
je 0x100777a4
mov edx, str.___run_set_password
mov ecx, esi
call fcn.100205a0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
call fcn.1000ad70
mov ecx, dword [ebp - 0x834]
mov edx, edi
call fcn.100787a0
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 0x80d], al
call fcn.10071e10
lea ecx, [ebp - 0x14c]
call fcn.10069330
cmp byte [ebp - 0x20], 0
je 0x100777f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100777fe
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100777fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007781a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007781a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x80c]
call fcn.1000ac70
mov al, byte [ebp - 0x80d]
jmp 0x10077eb4
call fcn.100deed0
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.10039d00
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x814], 5
push eax
lea ecx, [esi + 0x68]
call fcn.100e1770
mov edx, dword [ebp - 0x818]
cmp byte [edx + 0xd], 0
jne 0x10077875
cmp dword [edx + 0x10], 5
jle 0x10077878
mov edx, dword [esi + 0x68]
cmp edx, dword [esi + 0x68]
je 0x1007788a
add edx, 0x14
cmp dword [edx + 0x14], 0x10
jb 0x1007788f
mov edx, dword [edx]
jmp 0x1007788f
mov edx, 0x10164d88
mov ecx, edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100778b0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.10002c70
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x814], 4
push eax
lea ecx, [esi + 0x68]
call fcn.100e1770
mov edx, dword [ebp - 0x818]
cmp byte [edx + 0xd], 0
jne 0x100778f9
cmp dword [edx + 0x10], 4
jle 0x100778fc
mov edx, dword [esi + 0x68]
cmp edx, dword [esi + 0x68]
je 0x1007790e
add edx, 0x14
cmp dword [edx + 0x14], 0x10
jb 0x10077913
mov edx, dword [edx]
jmp 0x10077913
mov edx, 0x10164d88
mov ecx, edx
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10077936
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x82c]
call fcn.10002c70
movups xmm0, xmmword [ebp - 0x82c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
mov al, byte [ebp - 0x40]
movups xmmword [ebp - 0xb0], xmm0
mov byte [ebp - 0x94], al
movq xmm0, qword [ebp - 0x81c]
mov eax, dword [ebp - 0x44]
movq qword [ebp - 0xa0], xmm0
movups xmm0, xmmword [ebp - 0x54]
mov dword [ebp - 0x78], eax
mov al, byte [ebp - 0x40]
movups xmmword [ebp - 0x90], xmm0
mov byte [ebp - 0x74], al
movq xmm0, qword [ebp - 0x44]
movq qword [ebp - 0x80], xmm0
mov edi, dword [ebp - 0x830]
lea eax, [ebp - 0x3c]
push edi
push dword [ebp - 0x834]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x28], 0x10
push 0
cmovae eax, dword [ebp - 0x3c]
push eax
sub esp, 0x20
lea eax, [ebp - 0x14c]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x814], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0xb0]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x130]
push 0
mov byte [esi + 0x1c], al
lea eax, [ebp - 0x314]
push 6
push eax
call fcn.1007f410
cmp byte [ebp - 0x278], 0
jne 0x10077aea
cmp byte [ebp - 0x190], 0
je 0x10077a32
lea ecx, [ebp - 0x274]
call fcn.10071e10
cmp byte [ebp - 0x278], 0
je 0x10077a32
lea ecx, [ebp - 0x314]
call fcn.10069330
lea ecx, [ebp - 0xb0]
call fcn.1002e900
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x10077a71
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077a67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077ed0
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10071e10
lea ecx, [ebp - 0x14c]
call fcn.10069330
cmp byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
je 0x10077ab0
test eax, eax
je 0x10077abf
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10077abf
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
jmp 0x10077ac5
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077ea7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077ea7
push eax
call esi
jmp 0x10077ea7
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x14c]
call fcn.100694a0
cmp byte [ebp - 0x190], 0
je 0x10077b2b
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x3f8]
call fcn.10077ee0
cmp byte [ebp - 0x190], 0
je 0x10077b2b
lea ecx, [ebp - 0x274]
call fcn.10071e10
cmp byte [ebp - 0x278], 0
je 0x10077b3f
lea ecx, [ebp - 0x314]
call fcn.10069330
lea ecx, [ebp - 0xb0]
call fcn.1002e900
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0xd
call fcn.100e9540
test al, al
jne 0x10077c08
push str.LoginAgent::OOBESetEmail
mov edx, 4
lea ecx, [ebp - 0x234]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0x14
cmp byte [eax + 0x48], 0
je 0x10077b92
mov edx, str.SaveUserInfo_failed
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x234]
call fcn.1000ad70
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x10077bd1
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077bc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077ed5
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10071e10
lea ecx, [ebp - 0x14c]
call fcn.10069330
cmp byte [ebp - 0x20], 0
je 0x10077615
jmp 0x10077607
push 0x34
lea eax, [ebp - 0x18c]
push 0
push eax
call fcn.10117ff0
add esp, 0xc
lea ecx, [ebp - 0x18c]
call fcn.100feb80
lea eax, [ebp - 0x3f8]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x18c]
call fcn.100ff2b0
test al, al
jne 0x10077c7d
push str.LoginAgent::OOBESetEmail
mov edx, 8
lea ecx, [ebp - 0x234]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0x16
cmp byte [eax + 0x48], 0
je 0x10077c6e
mov edx, str.save_UserInfoEx_failed
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x15
call fcn.1000ad70
cmp dword [ebp - 0x10c], 0
jne 0x10077ccb
lea ecx, [ebp - 0x60]
call fcn.1006a1c0
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x40]
test al, al
jne 0x10077ca6
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x60]
jmp 0x10077cab
mov ecx, 0x10164d88
push edi
push ecx
mov edx, str.account_fully_registered
call fcn.1006b870
add esp, 8
call fcn.10069ba0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x15
call fcn.10010b80
call fcn.1006d9e0
lea ecx, [ebp - 0x170]
call fcn.10002400
lea ecx, [ebp - 0x188]
call fcn.10002400
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x10077d1a
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077d10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077ed5
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10071e10
lea ecx, [ebp - 0x14c]
call fcn.10069330
cmp byte [ebp - 0x20], 0
je 0x10077d56
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10077d64
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10077d64
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077d80
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077d80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x80c]
call fcn.1000ac70
mov al, 1
jmp 0x10077eb4
lea ecx, [ebp - 0x14c]
call fcn.10069330
cmp byte [ebp - 0x20], 0
je 0x10077615
jmp 0x10077607
push str.LoginAgent::OOBESetEmail
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 9
cmp byte [eax + 0x48], 0
je 0x10077e4a
mov edx, str.create_oobe_account_failed___exit
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x234]
call fcn.1000ad70
jmp 0x10077e02
push str.LoginAgent::OOBESetEmail
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 2
cmp byte [eax + 0x48], 0
je 0x10077e85
mov edx, str.allready_in_login_exit_this_instance
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.1000ad70
call fcn.10070130
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077ea7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x80c]
call fcn.1000ac70
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
call fcn.1011a6bf
call fcn.1011a6bf
int3