Function at 0x47c250
Capabilities:
Set registry value

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebx, dword [esp + 0x68]
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov edi, dword [esi + 4]
cmp edi, ebp
je 0x47c275
cmp dword [edi + 8], ebx
je 0x47c32d
mov edi, dword [edi]
cmp edi, ebp
jne 0x47c266
cmp dword [esp + 0x74], ebp
je 0x47c323
push ebx
mov ecx, esi
call fcn.0047c4a0
cmp eax, ebp
je 0x47c291
mov dword [eax + 0x46c], ebp
push ebx
lea edx, [esp + 0x48]
push str.SoftwareDownloadManager_ld
push edx
call fcn.005c7c98
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push eax
push ecx
push ebp
push 0xf003f
push ebp
push 0x6d0ab8
push ebp
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x47c2fb
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push 4
push eax
push 4
push ebp
push str.queueID
push ecx
mov dword [esp + 0x8c], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6d12ac]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c323
mov ecx, dword [0x6d12ac]
push ebx
push 0x139b
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
mov eax, dword [0x6d12a8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c355
mov ecx, dword [0x6d12a8]
push ebx
push 0x1397
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, dword [esi + 4]
jne 0x47c361
mov edx, dword [edi]
mov dword [esi + 4], edx
jmp 0x47c368
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
cmp edi, dword [esi + 8]
jne 0x47c375
mov edx, dword [edi + 4]
mov dword [esi + 8], edx
jmp 0x47c37d
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov dword [edi], edx
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], eax
jne 0x47c3b2
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x47c39b
mov eax, dword [eax]
cmp eax, ebp
jne 0x47c395
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
call fcn.005de804
mov dword [esi + 0x14], ebp
mov ecx, esi
call fcn.0047bd10
push ebx
mov ecx, esi
call fcn.0047c4a0
cmp eax, ebp
je 0x47c3cb
mov dword [eax + 0x46c], ebp
push ebx
lea eax, [esp + 0x20]
push str.SoftwareDownloadManager_ld
push eax
call fcn.005c7c98
mov eax, dword [esp + 0x80]
add esp, 0xc
cmp eax, ebp
je 0x47c43c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x70]
push ecx
push edx
push ebp
push 0xf003f
push ebp
push 0x6d0ab8
lea eax, [esp + 0x34]
push ebp
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x47c487
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x74]
push 4
push ecx
push 4
push ebp
push str.queueID
push edx
mov dword [esp + 0x8c], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x70]
push eax
jmp 0x47c481
lea ecx, [esp + 0x70]
lea edx, [esp + 0x1c]
push ecx
push 0xf003f
push ebp
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47c487
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x74]
push 4
push eax
push 4
push ebp
push str.queueID
push ecx
mov dword [esp + 0x8c], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x70]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6d12ac]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c323
jmp 0x47c30b