Function at 0x10001b80
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1004dbdb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
call fcn.10025867
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10001bdd
push 0x80004005
call fcn.10002d80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x103
lea ecx, [esp + 0x129]
push ebx
mov dword [esp + 0x23c], ebx
push ecx
mov byte [esp + 0x130], bl
call fcn.10037cf0
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x10001c49
push str.ProcessIdToSessionId_Fail__n
push 4
push 0x117
push str.CEdpEDiskCtrlApp::InitSelfMutex
mov ecx, str..EdpEDiskCtrl.cpp
call fcn.10010760
add esp, 0x10
call fcn.1001f600
cmp byte [0x1006b55d], bl
jne 0x10001c7a
mov eax, dword [esp + 0x18]
movsx ecx, byte [edi + 0xa4]
push eax
push ecx
push str.196280BE_5EEA_4e8e_8E78_10167B700B84__c__u
push 0x104
lea edx, [esp + 0x134]
push edx
jmp 0x10001d08
push 0x103
lea eax, [esp + 0x25]
push ebx
push eax
mov byte [esp + 0x2c], bl
call fcn.10037cf0
push 0x1e
push 0x1006b55d
call fcn.10032996
mov ecx, dword [0x1006b34c]
push ecx
push 0x1006b55d
push 0x10055704
lea edx, [esp + 0x40]
push 0x104
push edx
call fcn.10032b06
lea eax, [esp + 0x48]
add esp, 0x28
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10001cc4
sub eax, edx
mov ecx, ebx
mov edx, ebx
je 0x10001cf0
movzx edi, byte [esp + edx + 0x20]
movzx ebp, cl
xor edi, ebp
shr ecx, 8
xor ecx, dword [edi*4 + 0x100676c0]
inc edx
cmp edx, eax
jb 0x10001cd3
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push eax
push ecx
push str.196280BE_5EEA_4e8e_8E78_10167B700B84__u__u
push 0x104
lea ecx, [esp + 0x134]
push ecx
call fcn.10032b06
add esp, 0x14
lea edx, [esp + 0x124]
push edx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0xac], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x10001d5c
lea eax, [esi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001d58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x10001dcc
push eax
lea ecx, [esp + 0x18]
push str.Init_Mutex_Fail__ErrorCode:__u
push ecx
call fcn.100027b0
mov esi, dword [esp + 0x20]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x10001d8a
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.10002a10
mov esi, dword [esp + 0x14]
push esi
push ebx
push 0x133
push str.CEdpEDiskCtrlApp::InitSelfMutex
mov ecx, str..EdpEDiskCtrl.cpp
call fcn.10010760
lea eax, [esi - 0x10]
add esp, 0x10
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001dca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10032551
add esp, 0x224
ret