Function at 0x40fc50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487fd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
call fcn.004834fa
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [0x4b20c8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x18]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00410190
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0047c22c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0047c0f3
mov ecx, 0x4b61a8
call fcn.00457300
mov eax, dword [ebp - 0x1c]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x40fcf5
push str.FFFFFFFFFFFF
lea ecx, [ebp - 0x1c]
call fcn.0047c27c
mov ecx, dword [0x4b20c8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x28]
push str.sn_smc_s
push ecx
mov byte [ebp - 4], 6
call fcn.0047617b
mov edx, dword [0x4b20c8]
add esp, 0x10
mov dword [ebp - 0x24], edx
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0047c161
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.00481c50
push 0
push 0
push 0
push str.www.pcclear.co.kr
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
call fcn.00481d4b
push 0x20000000
push 0
push 0
push 1
mov ebx, eax
mov edi, 9
push 0
push str._app_change.php
mov dword [ebp - 4], edi
push 0
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0xd
call fcn.00482933
mov esi, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], edi
mov byte [ebp - 4], 0x10
mov ecx, dword [eax - 8]
push ecx
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00482b4c
mov dword [ebp - 4], edi
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x257]
mov byte [ebp - 0x258], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x258]
test esi, esi
rep stosd dword es:[edi], eax
je 0x40fe39
mov edx, dword [esi]
lea eax, [ebp - 0x258]
push 0x200
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edi, eax
test edi, edi
jbe 0x40fe39
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0047c161
lea edx, [ebp - 0x18]
push edi
push edx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.00475d5b
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
call fcn.0047c22c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x13
call fcn.0047c0f3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0047c0f3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
test esi, esi
je 0x40fe4d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
je 0x40fe5a
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00481cf5
mov eax, dword [0x4b20c8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x24]
push 0x2c
push 0
lea edx, [ebp - 0x20]
push ecx
push edx
mov byte [ebp - 4], 0x16
call fcn.0047c72f
mov eax, dword [ebp - 0x24]
push 0x2c
push 1
lea ecx, [ebp - 0x3c]
push eax
push ecx
call fcn.0047c72f
lea ecx, [ebp - 0x3c]
call fcn.0047c5f5
mov edx, dword [ebp - 0x3c]
push 0x4aeac0
push edx
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x40ff22
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], 0x28
jge 0x40ff1c
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x14]
push ecx
mov eax, dword [esi + 0xdc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40feec
mov eax, dword [esi + 0xdc]
lea edx, [ebp - 0x14]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.0047c523
mov ecx, dword [ebp - 0x14]
push eax
push 3
push 0
push str.lic_code
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ff2e
lea eax, [ebp + 0xc]
push eax
jmp 0x40ff26
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0047c22c
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.0047be68
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 0x15
call fcn.0047c0f3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.0047c0f3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.00481c0b
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0047c0f3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0047c0f3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0047c0f3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0047c0f3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0047c0f3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0047c0f3
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.0047c0f3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8