Function at 0x1006cc80
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101839eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x101ab040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x105b0978], 0
mov eax, dword [ebx + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xa0], eax
jle 0x1006d357
mov esi, 2
nop dword [eax + eax]
push esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x9c], esi
push str.ID__d
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
add esp, 0xc
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006cd46
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d2c0
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006cdd3
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x90]
push edi
cmova ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006ce07
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006cdfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006ce57
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006ce4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
push esi
lea eax, [ebp - 0x48]
push str.PW__d
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
add esp, 0xc
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006cea7
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d2c0
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006cf38
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x90]
push edi
cmova ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmova eax, dword [ebp - 0x60]
push ecx
push 1
push 0
push eax
push dword [ebp - 0x98]
call edi
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1006cf3e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006cf72
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006cf68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006cfc2
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006cfb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
inc esi
cmp dword [ebp - 0x9c], 5
jl 0x1006ccf0
mov esi, dword [0x105b0978]
mov dword [ebp - 0x9c], 0
test esi, esi
jle 0x1006d357
mov eax, 2
mov edi, 0x105b097c
mov dword [ebp - 0x98], eax
nop dword [eax + eax]
dec eax
cmp eax, 5
jge 0x1006d351
mov eax, dword [ebp - 0xa8]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006d032
test dl, dl
je 0x1006d02e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006d032
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006d012
xor eax, eax
jmp 0x1006d037
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006d333
push dword [ebp - 0x98]
lea eax, [ebp - 0x48]
push str.ID__d
push eax
call sym.Main.dll_sprintf
mov ecx, edi
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
add esp, 0xc
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d070
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x78]
call fcn.1000d2c0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d0a5
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d2c0
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d12c
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006d160
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d156
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006d1ad
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d1a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
push dword [ebp - 0x98]
lea eax, [ebp - 0x48]
push str.PW__d
push eax
call sym.Main.dll_sprintf
lea edx, [edi + 0xb]
mov dword [ebp - 0x68], 0
mov ecx, edx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebp - 0x78], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d1e1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.1000d2c0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d216
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d2c0
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d29d
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006d2d1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d2c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006d31e
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d314
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov eax, dword [ebp - 0x98]
mov esi, dword [0x105b0978]
inc eax
mov dword [ebp - 0x98], eax
jmp 0x1006d339
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
add edi, 0x1c
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, esi
jl 0x1006d000
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [ebp - 0xa8]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d377
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.1000d2c0
mov dword [ebp - 4], 4
xorps xmm0, xmm0
mov esi, dword [ebp - 0x68]
mov eax, 0x4449
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x60], ax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x50], 2
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x5e], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d420
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call edi
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006d454
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d44a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006d4a1
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d497
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6df
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov esi, dword [ebp - 0xa0]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d4c1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.1000d2c0
mov esi, dword [ebp - 0x68]
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov eax, 0x5750
mov dword [ebp - 0x50], 2
mov word [ebp - 0x60], ax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x4c], 0xf
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
mov byte [ebp - 0x5e], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d567
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call edi
push dword [ebp - 0x94]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x1006d56d
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006d5a1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d597
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6e4
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006d5e7
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d5dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6e4
push ecx
push edx
call fcn.100f2fc8
add esp, 8
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x80], 8
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x7c], 0xf
push eax
push 0
push 0xf003f
push 0
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 1
movups xmmword [ebp - 0x90], xmm0
push str.SOFTWAREWebzenMuConfig
push connect
mov dword [ebp - 0x90], 0x65766153
mov dword [ebp - 0x8c], 0x73736150
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d68c
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0xa0]
push 4
push ecx
push 4
lea eax, [ebp - 0x90]
cmova eax, dword [ebp - 0x90]
push 0
push eax
push dword [ebp - 0x94]
call edi
push dword [ebp - 0x94]
call esi
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x1006d6bf
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d6b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d6e9
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.1014b33a
call fcn.1014b33a
call fcn.1014b33a
int3