Function at 0x10073d10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144f7d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1110
call fcn.10116b00
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 edi, ecx
push str.LoginAgent::SwitchAccount
lea ecx, [ebp - 0x10bc]
call fcn.1000ab60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10dc]
push 0x2b
push str.Global0C5354C6_381F_4AED_A3BA_8DB8B9D7AB51
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10dc], 0
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10c8], 7
call fcn.10002060
cmp dword [ebp - 0x10c8], 8
lea eax, [ebp - 0x10dc]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x10dc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10dc]
mov byte [ebp - 4], 1
call fcn.10002400
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074ee4
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push eax
call esi
test eax, eax
jne 0x10074ee4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10e8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10dc]
push 0x2b
push str.Global0C5354C6_381F_4AED_A3BA_8DB8B9D7AB51
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10dc], 0
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10c8], 7
call fcn.10002060
cmp dword [ebp - 0x10c8], 8
lea eax, [ebp - 0x10dc]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x10dc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10dc]
call fcn.10002400
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10073e7e
lea esi, [eax + 0x1f]
jmp 0x10073e8a
push 0xffffffffffffffff
push eax
call esi
neg eax
sbb esi, esi
and esi, 0x1f
test esi, esi
sete byte [ebp - 0x2c]
lea ecx, [ebp - 0x124]
call fcn.1006e6e0
mov byte [ebp - 4], 6
call fcn.100e9270
test al, al
je 0x10074e54
cmp dword [ebp - 0xf4], 0
je 0x10074e54
call fcn.100deed0
mov dword [ebp - 0x10c4], 5
lea esi, [eax + 0x68]
lea eax, [ebp - 0x10c4]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100e1770
mov edx, dword [ebp - 0x20]
cmp byte [edx + 0xd], 0
jne 0x10073efd
cmp dword [edx + 0x10], 5
jg 0x10073efd
cmp edx, dword [esi]
je 0x10073efd
add edx, 0x14
cmp dword [edx + 0x14], 0x10
jb 0x10073f02
mov edx, dword [edx]
jmp 0x10073f02
mov edx, 0x10164d88
mov ecx, edx
mov dword [ebp - 0x10dc], 0
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10c8], 0xf
lea eax, [ecx + 1]
mov dword [ebp - 0x10c4], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10073f30
sub ecx, dword [ebp - 0x10c4]
push ecx
push edx
lea ecx, [ebp - 0x10dc]
call fcn.10002c70
movups xmm0, xmmword [ebp - 0x10dc]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [ebp - 0x10cc]
movq qword [ebp - 0x58], xmm0
lea eax, [ebp - 0x10c4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10c4], 4
push eax
mov ecx, esi
call fcn.100e1770
mov edx, dword [ebp - 0x20]
cmp byte [edx + 0xd], 0
jne 0x10073fa2
cmp dword [edx + 0x10], 4
jg 0x10073fa2
cmp edx, dword [esi]
je 0x10073fa2
add edx, 0x14
cmp dword [edx + 0x14], 0x10
jb 0x10073fa7
mov edx, dword [edx]
jmp 0x10073fa7
mov edx, 0x10164d88
mov ecx, edx
mov dword [ebp - 0x10dc], 0
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10c8], 0xf
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10073fd0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x10dc]
call fcn.10002c70
movups xmm0, xmmword [ebp - 0x10dc]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ebp - 0x10cc]
movq qword [ebp - 0x78], xmm0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0xe4], 1
sete byte [ebp - 0x10bd]
call fcn.10039d00
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10e4]
call fcn.10002780
mov al, byte [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x10cc], esi
mov byte [ebp - 0x10c8], al
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x110c]
call fcn.10002780
movups xmm0, xmmword [ebp - 0x110c]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14c], eax
mov al, byte [ebp - 0x6c]
movups xmmword [ebp - 0x164], xmm0
mov byte [ebp - 0x148], al
movq xmm0, qword [ebp - 0x10fc]
mov al, byte [ebp - 0x4c]
movq qword [ebp - 0x154], xmm0
movups xmm0, xmmword [ebp - 0x10e4]
mov dword [ebp - 0x12c], esi
mov byte [ebp - 0x128], al
movups xmmword [ebp - 0x144], xmm0
movq xmm0, qword [ebp - 0x10d4]
movq qword [ebp - 0x134], xmm0
movzx esi, byte [ebp - 0x10bd]
mov byte [ebp - 4], 0xd
add esi, 2
cmp byte [edi + 0x18], 0
je 0x10074127
mov edx, dword [edi + 0x14]
mov ecx, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10c4], eax
cmp edx, 8
jb 0x100740dc
mov ecx, dword [edi]
cmp eax, 6
jne 0x10074101
push eax
mov edx, str.signin
call fcn.10001f30
add esp, 4
test eax, eax
jne 0x100740f8
lea esi, [eax + 2]
jmp 0x10074127
mov eax, dword [ebp - 0x10c4]
mov edx, dword [edi + 0x14]
cmp edx, 8
jb 0x10074108
mov edi, dword [edi]
cmp eax, 6
jne 0x10074127
push eax
mov edx, str.signup
mov ecx, edi
call fcn.10001f30
add esp, 4
mov ecx, 3
test eax, eax
cmove esi, ecx
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push 0
cmovae eax, dword [ebp - 0x48]
push 0
push 0
push eax
sub esp, 0x20
lea eax, [ebp - 0x124]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x10c4], edi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x164]
mov dword [edi + 0x18], eax
mov al, byte [ebp - 0x108]
push 0
mov byte [edi + 0x1c], al
lea eax, [ebp - 0x3c0]
push esi
push eax
call fcn.1007f410
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x324], 0
jne 0x100742aa
cmp byte [ebp - 0x23c], 0
je 0x100741b2
lea ecx, [ebp - 0x320]
call fcn.10071e10
cmp byte [ebp - 0x324], 0
je 0x100741b2
lea ecx, [ebp - 0x3c0]
call fcn.10069330
lea ecx, [ebp - 0x164]
call fcn.1002e900
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x100741f1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100741e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x1007423a
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074230
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x1007426e
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.10069330
cmp byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
je 0x10074294
test eax, eax
je 0x100747fd
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100747fd
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
jmp 0x10074803
cmp dword [ebp - 0x110], 0x10
lea eax, [ebp - 0x124]
push dword [ebp - 0x114]
cmovae eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x3c0]
cmp dword [ebp - 0x3ac], 0x10
mov edx, dword [ebp - 0x3b0]
cmovae ecx, dword [ebp - 0x3c0]
push eax
call fcn.1001ff80
add esp, 8
test al, al
je 0x1007445b
cmp dword [ebp - 0xf0], 0x10
lea eax, [ebp - 0x104]
push dword [ebp - 0xf4]
cmovae eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x3a0]
cmp dword [ebp - 0x38c], 0x10
mov edx, dword [ebp - 0x390]
cmovae ecx, dword [ebp - 0x3a0]
push eax
call fcn.1001ff80
add esp, 8
test al, al
je 0x1007445b
xor cl, cl
call fcn.10073c70
cmp byte [ebp - 0x23c], 0
je 0x1007434f
lea ecx, [ebp - 0x320]
call fcn.10071e10
cmp byte [ebp - 0x324], 0
je 0x10074363
lea ecx, [ebp - 0x3c0]
call fcn.10069330
lea ecx, [ebp - 0x164]
call fcn.1002e900
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x100743a2
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x100743eb
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100743e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x1007441f
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074415
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.10069330
cmp byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
je 0x10074445
test eax, eax
je 0x10074d44
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10074d44
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
jmp 0x10074d4a
sub esp, 0x20
lea eax, [ebp - 0x124]
mov esi, esp
mov dword [ebp - 0x10c4], esp
mov ecx, esi
mov dword [ebp - 0x20], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x10c]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x108]
mov byte [esi + 0x1c], al
sub esp, 0x20
mov byte [ebp - 4], 0xf
mov esi, esp
lea eax, [ebp - 0x68]
mov ecx, esi
mov dword [ebp - 0x20], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x238]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x4c]
mov byte [esi + 0x1c], al
mov byte [ebp - 4], 0xe
call fcn.100eb630
sub esp, 0x20
mov byte [ebp - 4], 0x10
mov esi, esp
lea eax, [ebp - 0x104]
mov ecx, esi
mov dword [ebp - 0x20], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0x238]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0xe8]
mov byte [esi + 0x1c], al
lea eax, [ebp - 0x7b0]
push eax
call fcn.100edd90
sub esp, 0x20
mov byte [ebp - 4], 0x11
mov esi, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x3c0]
mov dword [ebp - 0x10c4], esi
mov ecx, esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x3a8]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x3a4]
mov byte [esi + 0x1c], al
sub esp, 0x20
mov byte [ebp - 4], 0x12
mov esi, esp
lea eax, [ebp - 0x68]
mov ecx, esi
mov dword [ebp - 0x10c4], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x400]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x4c]
mov byte [esi + 0x1c], al
mov byte [ebp - 4], 0x11
call fcn.100eb630
sub esp, 0x20
mov byte [ebp - 4], 0x13
mov esi, esp
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0x20], esi
push eax
mov ecx, esi
call fcn.10002780
mov eax, dword [ebp - 0x388]
lea ecx, [ebp - 0x400]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x384]
mov byte [esi + 0x1c], al
lea eax, [ebp - 0x5d8]
push eax
call fcn.100edd90
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0x14
call fcn.100e9540
test al, al
jne 0x10074828
push str.LoginAgent::SwitchAccount
mov edx, 4
lea ecx, [ebp - 0x93c]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0x15
cmp byte [eax + 0x48], 0
je 0x100745e3
mov edx, str.failed_SaveUserInfo
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x14
call fcn.1000ad70
push 0xe
mov dword [ebp - 0x10dc], 0
lea ecx, [ebp - 0x10dc]
push str.save_user_info
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10c8], 0xf
mov byte [ebp - 0x10dc], 0
call fcn.10002c70
push str.report_switch_account_fail
lea ecx, [ebp - 0xca8]
mov byte [ebp - 4], 0x16
call fcn.1000ab60
mov byte [ebp - 4], 0x17
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x10dc]
mov eax, esp
mov byte [ebp - 0x10c4], 0
mov byte [ebp - 0x10dc], 0
push dword [ebp - 0x10c4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x10cc]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x10cc], 0
mov dword [ebp - 0x10c8], 0xf
call fcn.1006d5a0
add esp, 0x1c
lea ecx, [ebp - 0xca8]
call fcn.1000ac70
movsx eax, byte [ebp - 0x404]
inc eax
sub eax, 0
je 0x100746b5
sub eax, 1
jne 0x100746b5
lea ecx, [ebp - 0x5d8]
call fcn.100417a0
lea ecx, [ebp - 0x400]
call fcn.1002e900
movsx eax, byte [ebp - 0x5dc]
inc eax
sub eax, 0
je 0x100746dd
sub eax, 1
jne 0x100746dd
lea ecx, [ebp - 0x7b0]
call fcn.100417a0
lea ecx, [ebp - 0x238]
call fcn.1002e900
cmp byte [ebp - 0x23c], 0
je 0x100746fc
lea ecx, [ebp - 0x320]
call fcn.10071e10
cmp byte [ebp - 0x324], 0
je 0x10074710
lea ecx, [ebp - 0x3c0]
call fcn.10069330
lea ecx, [ebp - 0x164]
call fcn.1002e900
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1007474f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074745
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x10074798
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007478e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x100747cc
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100747c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.10069330
cmp byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
je 0x100747ee
test eax, eax
je 0x100747fd
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100747fd
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
jmp 0x10074803
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074f34
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074f34
push eax
call esi
jmp 0x10074f34
lea ecx, [ebp - 0x894]
call fcn.10074f90
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
mov byte [ebp - 0x198], 0
mov byte [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov byte [ebp - 4], 0x19
cmp byte [ebp - 0x404], 0
jne 0x100748cb
lea eax, [ebp - 0x5d8]
push eax
lea edx, [ebp - 0x1f8]
call fcn.10073190
add esp, 4
lea ecx, [ebp - 0x1120]
call fcn.100feb80
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.100ff2b0
lea ecx, [ebp - 0x1104]
mov byte [ebp - 0x10bd], al
mov byte [ebp - 4], 0x19
call fcn.10002400
lea ecx, [ebp - 0x111c]
call fcn.10002400
cmp byte [ebp - 0x10bd], 0
jne 0x1007494e
push str.LoginAgent::SwitchAccount
mov edx, 8
lea ecx, [ebp - 0x93c]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0x1b
cmp byte [eax + 0x48], 0
je 0x1007493f
mov edx, str.failed_save_UserInfoEx
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x19
call fcn.1000ad70
lea edx, [ebp - 0x1f8]
lea ecx, [ebp - 0x1110]
call fcn.1006c7a0
lea ecx, [ebp - 0x1110]
mov al, byte [eax + 0x20]
mov byte [ebp - 0x10bd], al
call fcn.10010e20
cmp byte [ebp - 0x10bd], 0
je 0x100749b9
push str.LoginAgent::SwitchAccount
mov edx, 8
lea ecx, [ebp - 0x93c]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 0x1c
cmp byte [eax + 0x48], 0
je 0x100749aa
mov edx, str.failed_save_user_context
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x19
call fcn.1000ad70
push str.register_bootstrap_token.conf
call fcn.1012377b
add esp, 4
call fcn.1006d9e0
cmp byte [ebp - 0x5dc], 0
jne 0x10074bc2
cmp byte [ebp - 0x404], 0
jne 0x10074b59
mov al, byte [ebp - 0x790]
cmp al, byte [ebp - 0x5b8]
jne 0x10074b17
test al, al
je 0x10074a40
cmp dword [ebp - 0x5c4], 0x10
lea eax, [ebp - 0x5d8]
push dword [ebp - 0x5c8]
cmovae eax, dword [ebp - 0x5d8]
lea ecx, [ebp - 0x7b0]
cmp dword [ebp - 0x79c], 0x10
mov edx, dword [ebp - 0x7a0]
cmovae ecx, dword [ebp - 0x7b0]
push eax
call fcn.1001ff80
add esp, 8
test al, al
je 0x10074b17
cmp dword [ebp - 0x464], 0x10
lea eax, [ebp - 0x478]
push dword [ebp - 0x468]
cmovae eax, dword [ebp - 0x478]
lea ecx, [ebp - 0x650]
cmp dword [ebp - 0x63c], 0x10
mov edx, dword [ebp - 0x640]
cmovae ecx, dword [ebp - 0x650]
push eax
call fcn.1001ff80
add esp, 8
test al, al
jne 0x10074b59
sub esp, 0x20
lea eax, [ebp - 0x104]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x20], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0x238]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0xe8]
mov byte [esi + 0x1c], al
lea eax, [ebp - 0x24]
push eax
call fcn.100ec3c0
cmp byte [ebp - 0x20], 0
je 0x10074b59
push str.LoginAgent::SwitchAccount
mov edx, 4
lea ecx, [ebp - 0x93c]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x1d
cmp byte [esi + 0x48], 0
je 0x10074b06
mov edx, str.failed_RemoveUserDevice_err
mov ecx, esi
call fcn.100205a0
cmp byte [esi + 0x48], 0
je 0x10074b06
push dword [ebp - 0x24]
mov ecx, esi
call fcn.10026c90
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 0x19
call fcn.1000ad70
jmp 0x10074b59
lea ecx, [ebp - 0x124]
call fcn.1007a440
sub esp, 0x20
lea eax, [ebp - 0x104]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x20], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0x238]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0xe8]
mov byte [esi + 0x1c], al
lea eax, [ebp - 0x24]
push eax
call fcn.100ec040
cmp byte [ebp - 0x5dc], 0
jne 0x10074bc2
cmp byte [ebp - 0x404], 0
jne 0x10074bc2
mov al, byte [ebp - 0x790]
cmp al, byte [ebp - 0x5b8]
jne 0x10074bc2
test al, al
je 0x10074bbe
cmp dword [ebp - 0x5c4], 0x10
lea eax, [ebp - 0x5d8]
push dword [ebp - 0x5c8]
cmovae eax, dword [ebp - 0x5d8]
lea ecx, [ebp - 0x7b0]
cmp dword [ebp - 0x79c], 0x10
mov edx, dword [ebp - 0x7a0]
cmovae ecx, dword [ebp - 0x7b0]
push eax
call fcn.1001ff80
add esp, 8
test al, al
je 0x10074bc2
xor cl, cl
jmp 0x10074bc4
mov cl, 1
call fcn.10073c70
lea ecx, [ebp - 0x1f8]
call fcn.1006a5c0
lea ecx, [ebp - 0x894]
call fcn.10071e10
movsx eax, byte [ebp - 0x404]
inc eax
sub eax, 0
je 0x10074bfc
sub eax, 1
jne 0x10074bfc
lea ecx, [ebp - 0x5d8]
call fcn.100417a0
lea ecx, [ebp - 0x400]
call fcn.1002e900
movsx eax, byte [ebp - 0x5dc]
inc eax
sub eax, 0
je 0x10074c24
sub eax, 1
jne 0x10074c24
lea ecx, [ebp - 0x7b0]
call fcn.100417a0
lea ecx, [ebp - 0x238]
call fcn.1002e900
cmp byte [ebp - 0x23c], 0
je 0x10074c43
lea ecx, [ebp - 0x320]
call fcn.10071e10
cmp byte [ebp - 0x324], 0
je 0x10074c57
lea ecx, [ebp - 0x3c0]
call fcn.10069330
lea ecx, [ebp - 0x164]
call fcn.1002e900
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x10074c96
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074c8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x10074cdf
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074cd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10074d13
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074d09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f5d
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.10069330
cmp byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
je 0x10074d35
test eax, eax
je 0x10074d44
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10074d44
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
jmp 0x10074d4a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074d62
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074d62
push eax
call esi
lea ecx, [ebp - 0x10bc]
call fcn.1000ac70
mov al, 1
jmp 0x10074f41
mov byte [ebp - 0x10c8], 0
push edi
lea edx, [ebp - 0x10e0]
mov byte [ebp - 4], 7
xor cl, cl
call fcn.100705c0
add esp, 4
mov byte [ebp - 0x10bd], al
cmp byte [ebp - 0x10c8], 0
je 0x10074e8a
lea ecx, [ebp - 0x10e0]
call fcn.10002400
lea ecx, [ebp - 0x124]
call fcn.10069330
test esi, esi
jne 0x10074ea7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10074eb5
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10074eb5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074ed1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074ed1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10bc]
call fcn.1000ac70
mov al, byte [ebp - 0x10bd]
jmp 0x10074f41
push str.LoginAgent::SwitchAccount
mov edx, 0x10
lea ecx, [ebp - 0x93c]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 2
cmp byte [eax + 0x48], 0
je 0x10074f12
mov edx, str.allready_in_login_exit_this_instance
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 1
call fcn.1000ad70
call fcn.10070130
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10074f34
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10bc]
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