Function at 0x47a560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584d53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x5a4648
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0x1d
cmp ebx, dword [esi + 0x514]
jge 0x47a633
mov eax, dword [esi + 0x510]
mov edi, dword [eax + ebx*8 + 4]
mov eax, dword [edi + 0x390]
test eax, eax
jne 0x47a62d
mov eax, dword [edi + 0x5d0]
test eax, eax
je 0x47a5fb
mov eax, dword [edi + 0x5c8]
mov ecx, 1
test eax, eax
je 0x47a5d1
mov dword [eax + 0x38], ecx
mov dword [edi + 0x700], ecx
mov dword [edi + 0xc], ecx
mov al, byte [esi + 0x47b]
test al, al
jne 0x47a5f1
push ebx
lea ecx, [esi + 8]
call fcn.005411d0
test al, al
jne 0x47a62d
mov ecx, edi
call fcn.005245b0
inc ebx
jmp 0x47a595
mov al, byte [esi + 0x47b]
test al, al
jne 0x47a612
push ebx
lea ecx, [esi + 8]
call fcn.005411d0
test al, al
jne 0x47a619
mov ecx, edi
call fcn.005245b0
test edi, edi
je 0x47a62d
mov ecx, edi
call fcn.0051e0a0
push edi
call fcn.005664c5
add esp, 4
inc ebx
jmp 0x47a595
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x50c]
call fcn.0048d640
lea ecx, [esi + 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.00489ab0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x188]
call fcn.00430b40
mov eax, dword [esi + 0x3f8]
test eax, eax
je 0x47a6ba
xor edi, edi
cmp edi, dword [esi + 0x3f0]
jge 0x47a6ab
mov edx, dword [esi + 0x3f8]
mov eax, dword [edx + edi*4]
test eax, eax
je 0x47a6a8
mov eax, dword [eax + 8]
test eax, eax
je 0x47a696
push eax
call fcn.005664c5
add esp, 4
mov eax, dword [esi + 0x3f8]
mov eax, dword [eax + edi*4]
push eax
call fcn.005664c5
add esp, 4
inc edi
jmp 0x47a671
mov eax, dword [esi + 0x3f8]
push eax
call fcn.005664c5
add esp, 4
push 0xfa0
mov dword [esi + 0x3f0], 0
mov dword [esi + 0x3f4], 0x3e8
call fcn.0056649c
mov ecx, dword [esi + 0x3f4]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3f8], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3f8]
test eax, eax
jne 0x47a71b
lea eax, [ebp - 0x18]
push 0x5ed408
push eax
mov dword [ebp - 0x18], 0xc0000017
call fcn.0054f80c
mov eax, dword [esi + 0x460]
test eax, eax
jne 0x47a72b
lea eax, [esi + 0x464]
push eax
call fcn.0054f79d
mov al, byte [esi + 0x4c4]
add esp, 4
test al, al
jne 0x47a745
mov ecx, esi
call fcn.0048a920
mov ecx, esi
call fcn.00478630
mov al, byte [esi + 0x47b]
test al, al
je 0x47a765
mov ecx, dword [esi + 0x4b0]
push ecx
call fcn.00488130
add esp, 4
lea ecx, [esi + 0x2f8]
call fcn.0053f5c0
mov edx, dword [esi + 0x424]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47a78d
push edx
call fcn.0048b270
add esp, 4
mov al, byte [esi + 0x4c4]
test al, al
jne 0x47a7d7
mov edx, dword [esi + 0x420]
push 3
push 0x1438
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 8]
call fcn.00541380
mov edx, dword [esi + 0x424]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47a802
push edx
call fcn.0055062b
add esp, 4
jmp 0x47a802
mov al, byte [esi + 0x4c5]
test al, al
je 0x47a802
mov eax, dword [esi + 0x420]
push 2
push 0x1438
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 8]
call fcn.00542790
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerInternational
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47a846
lea edx, [esi + 0x580]
push 4
push edx
push 4
push eax
mov eax, dword [ebp - 0x14]
push str.W2KLpk
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esi + 0x420]
push 0
push 0x1437
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x494]
test eax, eax
je 0x47a8af
xor edi, edi
cmp edi, dword [esi + 0x498]
jae 0x47a8af
mov eax, dword [esi + 0x494]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x47a8ac
mov edx, 1
lea ecx, [eax + 0xc]
mov ebx, edx
dec edx
test ebx, ebx
je 0x47a894
add ecx, 4
jmp 0x47a888
mov edx, 1
lea ecx, [eax + 8]
mov ebx, edx
dec edx
test ebx, ebx
je 0x47a8a8
add ecx, 4
jmp 0x47a89c
mov eax, dword [eax]
jmp 0x47a87c
inc edi
jmp 0x47a86b
mov eax, dword [esi + 0x494]
push eax
call fcn.005664c5
mov ecx, dword [esi + 0x4a4]
add esp, 4
mov dword [esi + 0x494], 0
mov dword [esi + 0x49c], 0
mov dword [esi + 0x4a0], 0
call fcn.00564fe4
mov dword [esi + 0x4a4], 0
jmp 0x47a912
lea eax, [esi + 0x520]
xor ebx, ebx
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x20], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x1f
cmp eax, ebx
je 0x47a93e
push eax
call fcn.005664c5
add esp, 4
lea eax, [esi + 0x50c]
mov dword [ebp - 0x20], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x20
cmp eax, ebx
je 0x47a961
push eax
call fcn.005664c5
add esp, 4
lea ecx, [esi + 0x4e8]
mov byte [ebp - 4], 0x19
call fcn.0056a100
lea ecx, [esi + 0x4c0]
mov byte [ebp - 4], 0x18
call fcn.0056a100
lea ecx, [esi + 0x4b8]
mov byte [ebp - 4], 0x17
call fcn.0056a100
lea ecx, [esi + 0x4b4]
mov byte [ebp - 4], 0x16
call fcn.0056a100
lea edi, [esi + 0x490]
mov dword [ebp - 0x20], edi
mov dword [edi], method.CCommandLineInfo.virtual_0
mov edx, dword [edi + 4]
mov byte [ebp - 4], 0x21
cmp edx, ebx
je 0x47a9d6
mov eax, dword [edi + 8]
cmp eax, ebx
jbe 0x47a9d6
mov ecx, edx
mov ebx, eax
mov eax, dword [ecx]
test eax, eax
je 0x47a9ce
mov eax, dword [eax]
test eax, eax
jne 0x47a9c8
add ecx, 4
dec ebx
jne 0x47a9c2
xor ebx, ebx
push edx
call fcn.005664c5
mov ecx, dword [edi + 0x14]
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.00564fe4
lea ecx, [esi + 0x474]
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 0x14
call fcn.0056a100
lea ecx, [esi + 0x46c]
mov byte [ebp - 4], 0x13
call fcn.0056a100
lea ecx, [esi + 0x460]
mov byte [ebp - 4], 0x12
call fcn.00401070
mov eax, dword [esi + 0x45c]
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x47aa6a
mov eax, dword [esi + 0x454]
xor edi, edi
cmp eax, ebx
jle 0x47aa5b
mov ecx, dword [esi + 0x45c]
mov eax, dword [ecx + edi*4]
cmp eax, ebx
je 0x47aa50
push eax
call fcn.005664c5
add esp, 4
mov eax, dword [esi + 0x454]
inc edi
cmp edi, eax
jl 0x47aa3a
mov eax, dword [esi + 0x45c]
push eax
call fcn.005664c5
add esp, 4
lea ecx, [esi + 0x44c]
mov dword [esi + 0x45c], ebx
mov dword [esi + 0x454], ebx
mov dword [esi + 0x458], ebx
mov byte [ebp - 4], 0x10
call fcn.0056a100
lea ecx, [esi + 0x448]
mov byte [ebp - 4], 0xf
call fcn.0056a100
lea ecx, [esi + 0x440]
mov byte [ebp - 4], 0xe
call fcn.0056a100
lea ecx, [esi + 0x43c]
mov byte [ebp - 4], 0xd
call fcn.0056a100
lea ecx, [esi + 0x434]
mov byte [ebp - 4], 0xc
call fcn.0056a100
lea ecx, [esi + 0x430]
mov byte [ebp - 4], 0xb
call fcn.0056a100
lea ecx, [esi + 0x42c]
mov byte [ebp - 4], 0xa
call fcn.0056a100
lea ecx, [esi + 0x428]
mov byte [ebp - 4], 9
call fcn.0056a100
lea ecx, [esi + 0x424]
mov byte [ebp - 4], 8
call fcn.0056a100
mov eax, dword [esi + 0x3f8]
mov byte [ebp - 4], 7
cmp eax, ebx
mov dword [esi + 0x3ec], 0x5a4670
je 0x47ab70
mov eax, dword [esi + 0x3f0]
xor edi, edi
cmp eax, ebx
jle 0x47ab61
mov edx, dword [esi + 0x3f8]
mov eax, dword [edx + edi*4]
cmp eax, ebx
je 0x47ab56
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x47ab44
push eax
call fcn.005664c5
add esp, 4
mov eax, dword [esi + 0x3f8]
mov eax, dword [eax + edi*4]
push eax
call fcn.005664c5
add esp, 4
mov eax, dword [esi + 0x3f0]
inc edi
cmp edi, eax
jl 0x47ab27
mov eax, dword [esi + 0x3f8]
push eax
call fcn.005664c5
add esp, 4
mov eax, dword [esi + 0x3e8]
mov byte [ebp - 4], 6
cmp eax, ebx
mov dword [esi + 0x3dc], 0x5a4674
je 0x47ab91
push eax
call fcn.005664c5
add esp, 4
lea ecx, [esi + 0x3a0]
mov byte [ebp - 4], 5
call fcn.004b3250
lea ecx, [esi + 0x2f0]
mov byte [ebp - 4], 4
call fcn.00413d40
lea ecx, [esi + 0x1a0]
mov byte [ebp - 4], 3
call fcn.004d0d20
lea eax, [esi + 0x188]
mov dword [ebp - 0x20], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x22
cmp eax, ebx
je 0x47abe1
push eax
call fcn.005664c5
add esp, 4
lea ecx, [esi + 0x170]
mov byte [ebp - 4], 1
call fcn.004be930
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0
call fcn.00420440
lea ecx, [esi + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0053f840
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret