Function at 0x100538e
Capabilities:
Check mutex on windows
Create thread
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1015494]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
inc edi
xor ebx, ebx
push 0x1001b4c
mov dword [ebp - 4], eax
mov dword [ebp - 0x3d8], esi
mov dword [0x1015e28], esi
mov dword [ebp - 0x3d4], edi
mov dword [ebp - 0x3e0], ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10014c0
push edi
push ebx
mov dword [0x1015e10], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [0x1015e14], eax
mov edi, 0x2710
je 0x1005409
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1005409
push edi
push dword [0x1015e14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1015e98
push 0x1015e94
push 0x1015e90
call fcn.01003dc9
cmp dword [0x1015e90], ebx
je 0x1005437
push 0x1015e9c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0x104
lea eax, [ebp - 0x3d0]
push eax
push 0x2713
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
call esi
test eax, eax
je 0x10054bf
lea eax, [ebp - 0x3d0]
push eax
push 0x8002
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
mov dword [ebp - 0x3ec], eax
je 0x10054bf
lea ecx, [ebp - 0x3e4]
push ecx
push eax
mov dword [ebp - 0x3e4], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x3e4]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea eax, [ebp - 0x3e8]
push eax
push edi
push 2
push ebx
push ebx
mov edi, 0x40b
push edi
push dword [ebp - 0x3ec]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x10054bf
cmp dword [ebp - 0x3e8], edi
je 0x10057ba
lea eax, [ebp - 0x3dc]
push eax
push 0x20019
push ebx
push 0x1001ad8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1005574
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x3f4]
push eax
push ebx
push 0x1001ab8
push dword [ebp - 0x3dc]
mov dword [ebp - 0x3f0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x3dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x3e0], ebx
je 0x1005574
push 0x19
lea eax, [ebp - 0x38]
push eax
push 0x2729
push dword [ebp - 0x3d8]
call esi
push 0xc8
lea eax, [ebp - 0x1c8]
push eax
push 0x272a
push dword [ebp - 0x3d8]
call esi
push 0x10
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c8]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x3d4], ebx
jmp 0x10057ba
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.0100285d
push 0x1015e40
push ebx
push ebx
push 0x100f4e1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4c
mov dword [0x1015e44], eax
mov dword [0x1015e74], 5
call fcn.01002665
cmp eax, ebx
pop ecx
je 0x10055b7
mov ecx, eax
call fcn.0100394f
jmp 0x10055b9
xor eax, eax
cmp eax, ebx
mov dword [0x1015e78], eax
je 0x1005569
push 0x50
call fcn.01002665
cmp eax, ebx
pop ecx
je 0x10055d7
mov ecx, eax
call fcn.010038ef
jmp 0x10055d9
xor eax, eax
cmp eax, ebx
mov dword [0x1015e7c], eax
je 0x1005569
call fcn.01003f03
test al, al
jne 0x100568c
push 0x54
call fcn.01002665
mov edx, eax
cmp edx, ebx
pop ecx
je 0x100560f
push 9
pop ecx
xor eax, eax
lea edi, [edx + 0x20]
mov dword [edx], 0x1001a54
rep stosd dword es:[edi], eax
jmp 0x1005611
xor edx, edx
cmp edx, ebx
mov dword [0x1015e80], edx
je 0x1005569
push 0x74
call fcn.01002665
cmp eax, ebx
pop ecx
je 0x1005634
mov ecx, eax
call fcn.010094a4
jmp 0x1005636
xor eax, eax
cmp eax, ebx
mov dword [0x1015e84], eax
je 0x1005569
cmp dword [0x1015e90], ebx
je 0x1005684
cmp dword [0x1015e94], ebx
jne 0x1005684
push 0x26
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x1005684
push 0x48
call fcn.01002665
cmp eax, ebx
pop ecx
je 0x1005674
mov ecx, eax
call fcn.010039bb
jmp 0x1005676
xor eax, eax
cmp eax, ebx
mov dword [0x1015e88], eax
jne 0x1005696
jmp 0x1005569
dec dword [0x1015e74]
jmp 0x1005696
mov dword [0x1015e74], 2
call fcn.01003d3f
test eax, eax
je 0x1005569
call fcn.0100661c
test al, al
je 0x1005569
call fcn.01007c0d
test al, al
je 0x1005569
push ebx
push 0x1004e57
push ebx
push 0x69
push dword [ebp - 0x3d8]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
cmp eax, ebx
mov dword [0x1015e1c], eax
je 0x1005569
call fcn.01003ccc
mov eax, dword [0x1015ec0]
mov ecx, dword [0x1015ec8]
mov edx, dword [0x1015ec4]
push 4
sub ecx, eax
push ecx
mov ecx, dword [0x1015ebc]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push dword [0x1015e1c]
xor esi, esi
inc esi
mov dword [0x1015e6c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp + 0x14]
push dword [0x1015e1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x1015e14]
cmp eax, ebx
je 0x100574c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x1015e14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1015e14], ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x10057aa
lea eax, [ebp - 0x410]
push eax
push dword [0x1015e2c]
push dword [0x1015e1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x10057aa
lea eax, [ebp - 0x410]
push eax
push dword [0x1015e1c]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x10057aa
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x410]
push ebx
push eax
call esi
test eax, eax
jne 0x100575c
mov eax, dword [0x1015e14]
cmp eax, ebx
je 0x10057dc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x1015e14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1015e14], ebx
mov ecx, dword [0x1015e78]
cmp ecx, ebx
je 0x10057ed
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
mov ecx, dword [0x1015e7c]
cmp ecx, ebx
je 0x10057fe
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
mov ecx, dword [0x1015e80]
cmp ecx, ebx
je 0x100580f
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
mov ecx, dword [0x1015e84]
cmp ecx, ebx
je 0x1005820
push 1
call fcn.01003f71
cmp dword [0x1015e90], ebx
je 0x1005839
mov ecx, dword [0x1015e88]
cmp ecx, ebx
je 0x1005839
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
call fcn.01006780
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3d4]
pop edi
pop esi
pop ebx
call fcn.010120da
leave
ret 0x10