Function at 0x472064
Capabilities:
Create process on windows
Get hostname
Initialize winsock library
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x47206c
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x472b2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48c13c]
add eax, 4
mov edx, 0x472b44
call fcn.00404a4c
lea edx, [ebp - 0xc]
mov eax, 0x472b54
call fcn.0043c278
test al, al
jne 0x4720bd
lea edx, [ebp - 0xc]
mov eax, 0x472b68
call fcn.0043c278
test al, al
jne 0x4720bd
xor eax, eax
jmp 0x4720bf
mov al, 1
mov edx, dword [0x48bf58]
mov byte [edx], al
mov eax, dword [0x48bf58]
cmp byte [eax], 0
je 0x47214d
lea ecx, [ebp - 0x230]
mov dl, 1
xor eax, eax
call fcn.0042cc4c
mov edx, dword [ebp - 0x230]
mov eax, dword [0x48c230]
call fcn.00404a4c
mov eax, dword [0x48becc]
mov edx, dword [0x48c230]
mov edx, dword [edx]
call fcn.00404a4c
lea edx, [ebp - 0x234]
mov eax, dword [0x48c228]
mov eax, dword [eax]
dec eax
call fcn.0043d12c
mov edx, dword [ebp - 0x234]
mov eax, dword [0x48c35c]
call fcn.00404a4c
mov eax, dword [0x48bfc0]
mov edx, dword [0x48c35c]
mov edx, dword [edx]
call fcn.00404a4c
mov eax, dword [0x48c1d0]
mov dword [eax], 0x7d9
mov eax, dword [0x48c1f4]
mov dword [eax], 0x7da
lea edx, [ebp - 0xc]
mov eax, 0x472b54
call fcn.0043c278
test al, al
je 0x472189
lea edx, [ebp - 0xc]
mov eax, 0x472b80
call fcn.0043c278
test al, al
jne 0x472189
mov edx, dword [0x48c1f4]
mov edx, dword [edx]
mov al, 1
call fcn.0046fb20
test al, al
jne 0x472189
xor eax, eax
call fcn.0043c370
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
jne 0x4721cf
mov eax, dword [0x48bf58]
cmp byte [eax], 0
je 0x472620
call fcn.00402a08
dec eax
je 0x4721cf
lea edx, [ebp - 0xc]
mov eax, 0x472b90
call fcn.0043c278
test al, al
jne 0x4721cf
lea edx, [ebp - 0xc]
mov eax, 0x472b68
call fcn.0043c278
test al, al
je 0x472620
cmp byte [ebp - 1], 0
je 0x4722df
lea edx, [ebp - 0x238]
mov eax, 1
call fcn.00402a68
mov eax, dword [ebp - 0x238]
mov edx, 0x472b90
call fcn.00404e04
jne 0x4722df
lea edx, [ebp - 0x23c]
xor eax, eax
call fcn.00402a68
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 8]
mov ecx, 0x472ba4
call fcn.00404d04
call fcn.0047d6bc
push ebp
lea eax, [ebp - 0x240]
call fcn.00471e3c
pop ecx
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x14]
call fcn.00404a90
push 0x472bb0
push dword [ebp - 0x10]
push 0x472bbc
lea eax, [ebp - 0x244]
mov edx, 3
call fcn.00404d78
mov eax, dword [ebp - 0x244]
call fcn.00404eb8
push eax
mov eax, dword [ebp - 8]
call fcn.00404eb8
lea ecx, [ebp - 0x14]
pop edx
call fcn.0047d874
mov byte [ebp - 0x16], al
cmp dword [ebp - 0x14], 0
je 0x4722d1
mov eax, dword [0x48c240]
mov eax, dword [eax]
call eax
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408c78
push 0x472bb0
push dword [ebp - 0x10]
push 0x472bbc
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.00404d78
mov eax, dword [ebp - 0x248]
call fcn.00404eb8
push eax
mov eax, dword [ebp - 8]
call fcn.00404eb8
lea ecx, [ebp - 0x14]
pop edx
call fcn.0047d874
call fcn.0047d844
mov byte [ebp - 2], 1
jmp 0x472b00
mov eax, dword [0x48bf58]
cmp byte [eax], 0
je 0x4723fc
lea edx, [ebp - 0x24c]
mov eax, dword [0x48c2d8]
call fcn.0040697c
mov eax, dword [ebp - 0x24c]
xor ecx, ecx
xor edx, edx
call fcn.00458280
lea edx, [ebp - 0x250]
mov eax, 1
call fcn.00402a68
mov eax, dword [ebp - 0x250]
mov edx, 0x472b90
call fcn.00404e04
jne 0x4723fc
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402a68
call fcn.0047d6bc
push ebp
lea eax, [ebp - 0x254]
call fcn.00471e3c
pop ecx
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x14]
call fcn.00404a90
push 0x472bb0
push dword [ebp - 8]
push 0x472bdc
lea eax, [ebp - 0x258]
mov edx, 3
call fcn.00404d78
mov eax, dword [ebp - 0x258]
call fcn.00404eb8
push eax
mov eax, dword [ebp - 8]
call fcn.00404eb8
lea ecx, [ebp - 0x14]
pop edx
call fcn.0047d874
mov byte [ebp - 0x16], al
cmp dword [ebp - 0x14], 0
je 0x4723ee
mov eax, dword [0x48c240]
mov eax, dword [eax]
call eax
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408c78
push 0x472bb0
push dword [ebp - 8]
push 0x472bdc
lea eax, [ebp - 0x25c]
mov edx, 3
call fcn.00404d78
mov eax, dword [ebp - 0x25c]
call fcn.00404eb8
push eax
mov eax, dword [ebp - 8]
call fcn.00404eb8
lea ecx, [ebp - 0x14]
pop edx
call fcn.0047d874
call fcn.0047d844
mov byte [ebp - 2], 1
jmp 0x472b00
cmp byte [ebp - 1], 0
je 0x4724b8
lea edx, [ebp - 0x264]
xor eax, eax
call fcn.00402a68
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
call fcn.004095e0
mov edx, dword [ebp - 0x260]
mov eax, 0x472bf4
call fcn.00404fa0
test eax, eax
jle 0x47243f
push ebp
call fcn.00471f40
pop ecx
mov eax, dword [0x48c13c]
call fcn.00472f98
test al, al
jne 0x4724b8
lea edx, [ebp - 0x268]
mov eax, dword [0x48c1d0]
mov eax, dword [eax]
call fcn.00409014
push dword [ebp - 0x268]
push 0x472c00
push 0x472ba4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404d78
lea eax, [ebp - 0x14]
mov edx, 0x472c10
call fcn.00404a90
push 0x200010
lea eax, [ebp - 8]
call fcn.00404f10
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404eb8
push eax
push 0
call sub.user32.dll_MessageBoxA_1
push 0x64
call sub.kernel32.dll_Sleep
mov eax, 1
call fcn.0043c370
xor eax, eax
push ebp
push 0x4724f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x48c1f4]
mov edx, dword [edx]
mov al, 1
call fcn.0046fb20
test al, al
jne 0x4724ea
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4724fe
mov byte [ebp - 0x16], 1
mov eax, dword [0x48bf58]
cmp byte [eax], 0
jne 0x472516
cmp byte [ebp - 1], 0
je 0x4725be
mov eax, dword [0x48bf58]
cmp byte [eax], 0
je 0x472539
call fcn.00402a08
dec eax
jne 0x472539
lea edx, [ebp - 0xc]
mov eax, 0x472b54
call fcn.0043c278
test al, al
jne 0x472548
cmp byte [ebp - 1], 0
je 0x4725be
call fcn.00402a08
test eax, eax
jne 0x4725be
call fcn.0043f2b0
test al, al
je 0x4725be
call fcn.0042caec
cmp al, 6
jbe 0x4725be
lea edx, [ebp - 0x26c]
xor eax, eax
call fcn.00402a68
mov edx, dword [ebp - 0x26c]
lea eax, [ebp - 8]
mov ecx, 0x472ba4
call fcn.00404d04
call fcn.0043f0fc
test al, al
je 0x47258b
call fcn.00471644
mov byte [ebp - 0x16], al
cmp byte [ebp - 0x16], 0
je 0x4725a0
push ebp
call fcn.00471c0c
pop ecx
call fcn.004711e8
mov byte [ebp - 0x16], al
push 0x3e8
call sub.kernel32.dll_Sleep
call fcn.00471644
cmp byte [ebp - 0x16], 0
je 0x4725be
mov byte [ebp - 2], 1
jmp 0x472b00
cmp byte [ebp - 1], 0
je 0x4725ed
lea edx, [ebp - 0xc]
mov eax, 0x472cb0
call fcn.0043c278
test al, al
jne 0x4725e4
call fcn.00402a08
test eax, eax
je 0x4725e4
cmp byte [ebp - 0x16], 0
jne 0x4725ed
mov byte [ebp - 2], 0
jmp 0x472b00
mov eax, dword [0x48bf58]
cmp byte [eax], 0
je 0x472632
lea edx, [ebp - 0xc]
mov eax, 0x472b68
call fcn.0043c278
test al, al
jne 0x472617
call fcn.00402a08
test eax, eax
je 0x472617
cmp byte [ebp - 0x16], 0
jne 0x472632
mov byte [ebp - 2], 0
jmp 0x472b00
call fcn.00402a08
test eax, eax
jne 0x472632
mov byte [ebp - 2], 0
jmp 0x472b00
lea edx, [ebp - 0xc]
mov eax, 0x472ccc
call fcn.0043c278
test al, al
je 0x472678
mov eax, dword [ebp - 0xc]
mov edx, 0x472ce0
call fcn.00404e04
jne 0x472664
push 2
push 0x472ce4
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
jmp 0x472671
push 2
push 0
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
xor eax, eax
call fcn.0043c370
lea edx, [ebp - 0xc]
mov eax, 0x472cf0
call fcn.0043c278
test al, al
je 0x4726e6
lea edx, [ebp - 0x274]
xor eax, eax
call fcn.00402a68
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.004094f8
push dword [ebp - 0x270]
push 0x472d0c
push 0x472d18
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404d78
push 1
push 0
push 0
lea eax, [ebp - 8]
call fcn.00404f10
push eax
push 0x472d2c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.0043c370
lea edx, [ebp - 0xc]
mov eax, 0x472b80
call fcn.0043c278
test al, al
je 0x47274d
mov eax, dword [0x48bf58]
cmp byte [eax], 0
jne 0x472719
lea edx, [ebp - 0xc]
mov eax, 0x472d3c
call fcn.0043c278
test al, al
je 0x472719
xor eax, eax
call fcn.0043c370
mov eax, dword [0x48bf58]
cmp byte [eax], 0
jne 0x47273f
call fcn.0043f2b0
test al, al
jne 0x47273f
call fcn.0043f0fc
test al, al
je 0x47273f
mov eax, 1
call fcn.0043c370
call fcn.00470c84
mov byte [ebp - 2], 1
jmp 0x472b00
lea edx, [ebp - 0xc]
mov eax, 0x472d4c
call fcn.0043c278
test al, al
je 0x47279c
cmp dword [ebp - 0xc], 0
je 0x47279c
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x278]
xor edx, edx
xor eax, eax
call fcn.0043c90c
lea eax, [ebp - 0x278]
mov edx, 0x472d60
call fcn.00404cc0
mov eax, dword [ebp - 0x278]
mov ecx, 0x472d7c
mov edx, 0x472d94
call fcn.0043f434
lea edx, [ebp - 0xc]
mov eax, 0x472da8
call fcn.0043c278
test al, al
je 0x472831
cmp dword [ebp - 0xc], 0
je 0x472831
mov eax, dword [0x48c23c]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0x40
lea eax, [ebp - 0x56]
push eax
call sub.wsock32.dll_gethostname
inc eax
je 0x4727f6
lea eax, [ebp - 0x27c]
lea edx, [ebp - 0x56]
mov ecx, 0x40
call fcn.00404c68
mov edx, dword [ebp - 0x27c]
lea eax, [ebp - 0xc]
call fcn.00404cc0
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x280]
xor edx, edx
xor eax, eax
call fcn.0043c90c
lea eax, [ebp - 0x280]
mov edx, dword [0x48c278]
mov edx, dword [edx]
call fcn.00404cc0
mov eax, dword [ebp - 0x280]
mov ecx, 0x472db8
mov edx, 0x472dcc
call fcn.0043f434
lea edx, [ebp - 0xc]
mov eax, 0x472de4
call fcn.0043c278
test al, al
je 0x47285c
xor ecx, ecx
mov edx, 0x472df8
mov eax, 0x80000001
call fcn.00470e20
mov byte [ebp - 2], 1
jmp 0x472b00
mov eax, dword [0x48c3c4]
cmp dword [eax], 1
jne 0x472885
lea edx, [ebp - 0xc]
mov eax, 0x472b90
call fcn.0043c278
test al, al
je 0x472885
call fcn.00470f6c
mov byte [ebp - 2], 0
jmp 0x472b00
lea edx, [ebp - 0xc]
mov eax, 0x472e30
call fcn.0043c278
test al, al
je 0x4728bd
mov eax, dword [0x48c3c4]
cmp dword [eax], 2
je 0x4728bd
mov ecx, 0x472e44
mov edx, 0x472e58
mov eax, 0x80000002
call fcn.00470e20
mov byte [ebp - 2], 1
jmp 0x472b00
lea edx, [ebp - 0xc]
mov eax, 0x472e30
call fcn.0043c278
test al, al
je 0x4728e6
mov eax, dword [0x48c3c4]
cmp dword [eax], 2
jne 0x4728e6
mov byte [ebp - 2], 1
call fcn.004711e8
jmp 0x472b00
lea edx, [ebp - 0xc]
mov eax, 0x472e98
call fcn.0043c278
test al, al
je 0x472a12
mov byte [ebp - 2], 1
lea edx, [ebp - 0x288]
mov eax, 0x7d0
call fcn.00409014
push dword [ebp - 0x288]
push 0x472eac
push 0x472eb8
lea eax, [ebp - 0x284]
mov edx, 3
call fcn.00404d78
mov edx, dword [ebp - 0x284]
xor eax, eax
call fcn.0043c384
call fcn.0043f2b0
test al, al
jne 0x472972
call fcn.0043f0fc
test al, al
je 0x472972
push 0x10
mov ecx, 0x472ecc
mov dl, 1
mov eax, dword [0x440d64]
call fcn.00440de8
push 0x64
call sub.kernel32.dll_Sleep
mov eax, 1
call fcn.0043c370
mov eax, dword [0x48bf58]
cmp byte [eax], 0
jne 0x4729f0
cmp byte [ebp - 1], 0
jne 0x4729f0
lea edx, [ebp - 0x28c]
mov eax, 0x7d4
call fcn.00409014
mov edx, dword [ebp - 0x28c]
lea eax, [ebp - 8]
mov ecx, 0x472ba4
call fcn.00404d04
push 0
push 0
push 0x408
push 0
lea eax, [ebp - 8]
call fcn.00404f10
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_PostMessageA
call fcn.0042caec
cmp al, 6
jb 0x4729eb
mov edx, 1
mov eax, 0x472f10
call fcn.0043cca8
mov edx, 1
mov eax, 0x472f40
call fcn.0043cca8
call fcn.004718a4
mov eax, dword [0x48c3c4]
cmp dword [eax], 2
jne 0x472b00
push 0x190
call sub.kernel32.dll_Sleep
call fcn.00471644
jmp 0x472b00
lea edx, [ebp - 0xc]
mov eax, 0x472f6c
call fcn.0043c278
mov byte [ebp - 0x15], al
lea edx, [ebp - 0xc]
mov eax, 0x472f7c
call fcn.0043c278
test al, al
je 0x472a8d
lea edx, [ebp - 0xc]
mov eax, 0x472d4c
call fcn.0043c278
test al, al
jne 0x472a7d
push 0x472f88
lea ecx, [ebp - 0x290]
xor edx, edx
xor eax, eax
call fcn.0043c90c
lea eax, [ebp - 0x290]
mov edx, 0x472d60
call fcn.00404cc0
mov eax, dword [ebp - 0x290]
mov edx, 0x472d94
mov ecx, 0x472d7c
call fcn.0043f434
mov dl, byte [ebp - 0x15]
mov al, 1
call fcn.00471a5c
mov byte [ebp - 2], 1
jmp 0x472b00
lea edx, [ebp - 0xc]
mov eax, 0x472f94
call fcn.0043c278
test al, al
je 0x472af8
lea edx, [ebp - 0xc]
mov eax, 0x472d4c
call fcn.0043c278
test al, al
jne 0x472ae8
push 0x472f88
lea ecx, [ebp - 0x294]
xor edx, edx
xor eax, eax
call fcn.0043c90c
lea eax, [ebp - 0x294]
mov edx, 0x472d60
call fcn.00404cc0
mov eax, dword [ebp - 0x294]
mov edx, 0x472d94
mov ecx, 0x472d7c
call fcn.0043f434
mov dl, byte [ebp - 0x15]
xor eax, eax
call fcn.00471a5c
mov byte [ebp - 2], 1
jmp 0x472b00
call fcn.0047e89c
mov byte [ebp - 2], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472b32
lea eax, [ebp - 0x294]
mov edx, 0x1a
call fcn.00404a1c
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404a1c
ret