Function at 0x100382f
Capabilities:
Check mutex on windows
Delete registry key
Log keystrokes via application hook

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101852c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push ebx
push ebx
xor edi, edi
inc edi
push edi
push ebx
mov dword [ebp - 0xdc], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x64
lea eax, [ebp - 0xd4]
push eax
push 0x66
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xe8], ebx
cmp esi, ebx
je 0x1003a92
movzx eax, word [esi]
cmp ax, 0x2d
je 0x10038a8
cmp ax, 0x2f
jne 0x1003a92
mov eax, dword [0x1001a00]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1001a04]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcstok]
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
cmp eax, ebx
je 0x1003a9b
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0xffffffffffffffff
push 0x10019f4
push 0xffffffffffffffff
push dword [ebp - 0xd8]
push edi
push 0x7f
call esi
cmp eax, 2
jne 0x10038fd
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffffffffffffffff
push 0x10019e0
push 0xffffffffffffffff
push dword [ebp - 0xd8]
push edi
push 0x7f
call esi
cmp eax, 2
jne 0x100391c
mov dword [ebp - 0xf0], ebx
push 0xffffffffffffffff
push 0x10019c8
push 0xffffffffffffffff
push dword [ebp - 0xd8]
push edi
push 0x7f
call esi
cmp eax, 2
jne 0x100393f
mov dword [ebp - 0xe0], 3
push 0xffffffffffffffff
push 0x10019bc
push 0xffffffffffffffff
push dword [ebp - 0xd8]
push edi
push 0x7f
call esi
cmp eax, 2
jne 0x1003962
mov dword [ebp - 0xe0], 4
push 0xffffffffffffffff
push 0x10019ac
push 0xffffffffffffffff
push dword [ebp - 0xd8]
push edi
push 0x7f
call esi
push 2
pop ecx
cmp eax, ecx
jne 0x1003983
mov dword [ebp - 0xe0], ecx
push 0xffffffffffffffff
push 0x100199c
push 0xffffffffffffffff
push dword [ebp - 0xd8]
push edi
push 0x7f
call esi
cmp eax, 2
jne 0x10039d2
call fcn.0101395f
mov dword [0x1018594], eax
call fcn.0101395f
mov dword [0x1018598], eax
mov edx, dword [eax]
push 0xff00ff
mov ecx, eax
call dword [edx + 0xc]
call fcn.0101395f
mov dword [0x1018590], eax
mov edx, dword [eax]
push 0xffff00
mov ecx, eax
call dword [edx + 0xc]
push 0xffffffffffffffff
push 0x1001980
push 0xffffffffffffffff
push dword [ebp - 0xd8]
push edi
push 0x7f
call esi
cmp eax, 2
je 0x1003a0b
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.msvcrt.dll_wcstok]
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
cmp eax, ebx
jne 0x10038d9
jmp 0x1003a9b
push edi
push 0x1736
push ebx
call sub.ntdll.dll_WinSqmIncrementDWORD
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 0xe4], ebx
call fcn.01010cf9
test eax, eax
jge 0x1003a34
xor eax, eax
jmp 0x1003f57
push ebx
lea eax, [ebp - 0xd8]
push eax
push ebx
push 0x2001f
push edi
push ebx
push ebx
push 0x10017e8
push 0x80000001
mov dword [ebp - 0xd8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x1003a86
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1003a86
test byte [ecx + 0x1c], 4
je 0x1003a86
push eax
push 0x1001758
push 0xa
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010030c6
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.010036f1
test eax, eax
jne 0x1003a2d
lea eax, [ebp - 0xec]
push eax
push 0xf003f
push ebx
push 0x10017e8
mov esi, 0x80000001
push esi
mov dword [ebp - 0xec], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003ae3
push ebx
push ebx
push 0x10017e8
push esi
mov dword [ebp - 0xe8], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1001938
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0xd8], eax
cmp eax, ebx
jne 0x1003b02
or eax, 0xffffffff
jmp 0x1003f57
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1003b41
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xd4]
push eax
push 0x1001854
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x1003a2d
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1003a2d
mov esi, 0x10185a0
push esi
call fcn.010030f2
push 0x1001910
mov dword [0x101859c], 0x1001738
mov dword [section..data], esi
call fcn.010031c3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003b8a
test byte [eax + 0x1c], 0x10
je 0x1003b8a
push 0x1001758
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010030a0
push 0x1018558
push 0x1018560
push 0x100361c
push 0x1001684
call fcn.01003673
mov edi, 0x10000
mov esi, 0x80000000
cmp dword [0x1018584], ebx
je 0x1003c08
mov al, byte [0x1018588]
cmp al, 4
jae 0x1003bc2
cmp al, bl
jne 0x1003c08
mov eax, dword [0x1018570]
mov ecx, dword [0x1018574]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1003c08
mov eax, dword [0x1018578]
mov edx, dword [0x101857c]
mov ecx, eax
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x1003c08
cmp edx, dword [0x101857c]
jne 0x1003c08
push 0x1001698
push dword [0x101855c]
push dword [0x1018558]
call fcn.010036d0
push 1
push 0x64
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push ebx
push 0x100190c
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
mov eax, dword [ebp - 0xdc]
push ebx
mov dword [0x10185f8], eax
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jge 0x1003c78
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1003c5b
test byte [ecx + 0x1c], 4
je 0x1003c5b
push eax
push 0x1001758
push 0xc
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010030c6
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003a2d
push 1
push 8
call fcn.010035fc
cmp eax, ebx
mov dword [ebp - 0xdc], eax
jl 0x1003ca6
push 2
call sub.DUI70.dll_InitThread
cmp eax, ebx
mov dword [ebp - 0xdc], eax
jge 0x1003cf3
push 0x1000000
call sub.DUI70.dll_UnInitProcessPriv
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003cd0
test byte [eax + 0x1c], 4
je 0x1003cd0
push dword [ebp - 0xdc]
push 0x1001758
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010030c6
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1003a2d
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 0xfc], 8
mov dword [ebp - 0xf8], 0xc000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x1003d1e
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push ebx
push dword [0x10185f8]
push 0x1003575
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [ebp - 0xe4], eax
xor eax, eax
inc eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x100], eax
push ebx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x104], ebx
call sub.gdiplus.dll_GdiplusStartup
cmp eax, ebx
je 0x1003d9f
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1003c5b
test byte [ecx + 0x1c], 4
je 0x1003c5b
push eax
push 0x1001758
push 0xe
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010030c6
jmp 0x1003c5b
push ebx
push ebx
push 1
push 0x47
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebx
push 0x47
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push 0x1ab1
push ebx
call sub.ntdll.dll_WinSqmIncrementDWORD
cmp dword [0x1018584], ebx
je 0x1003e23
mov al, byte [0x1018588]
cmp al, 4
jae 0x1003ddd
cmp al, bl
jne 0x1003e23
mov eax, dword [0x1018570]
mov ecx, dword [0x1018574]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1003e23
mov eax, dword [0x1018578]
mov edx, dword [0x101857c]
mov ecx, eax
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x1003e23
cmp edx, dword [0x101857c]
jne 0x1003e23
push 0x10016a8
push dword [0x101855c]
push dword [0x1018558]
call fcn.010036d0
push dword [ebp - 0xe8]
push dword [ebp - 0xe0]
call fcn.01003ffb
mov dword [ebp - 0xdc], eax
cmp eax, ebx
je 0x1003ec7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0xdc]
lea eax, [ebp - 0xe0]
push eax
call fcn.010041d8
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
cmp dword [ebp - 8], ebx
je 0x1003ec7
cmp dword [0x1018584], ebx
je 0x1003e23
mov al, byte [0x1018588]
cmp al, 4
jae 0x1003e85
cmp al, bl
jne 0x1003e23
mov eax, dword [0x1018570]
mov ecx, dword [0x1018574]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1003e23
mov eax, dword [0x1018578]
mov edx, dword [0x101857c]
mov ecx, eax
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x1003e23
cmp edx, dword [0x101857c]
jne 0x1003e23
push 0x1001708
jmp 0x1003e12
call fcn.0100f656
cmp dword [ebp - 0xe4], ebx
je 0x1003ee0
push dword [ebp - 0xe4]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push ebx
push ebx
push ebx
push 0x47
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push ebx
push 0x47
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp - 0xf4]
call sub.gdiplus.dll_GdiplusShutdown
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xf0], ebx
je 0x1003f2b
call fcn.0100379f
call fcn.01010d43
call sub.DUI70.dll_UnInitThread
push 0x1000000
call sub.DUI70.dll_UnInitProcessPriv
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x1018558
call fcn.0100369f
call fcn.01003211
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010149a5
leave
ret 0x10