Function at 0x100071c0
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 0x10121bb7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x10144040]
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 [0x10310608], 0
mov eax, dword [ebx + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x50], eax
jle 0x10007882
mov esi, 2
nop dword [eax + eax]
push esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x90], esi
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x8c]
movups xmmword [ebp - 0x8c], xmm0
push 0
push 0x101351c8
call fcn.10008540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007294
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008540
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10007312
cmp dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
push edi
cmova ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
push ecx
cmova eax, dword [ebp - 0x74]
push 1
push 0
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10007346
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000733c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x10007396
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000738c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
push esi
lea eax, [ebp - 0x48]
push str.PW__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x8c]
movups xmmword [ebp - 0x8c], xmm0
push 0
push 0x101351c8
call fcn.10008540
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100073f4
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008540
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10007476
cmp dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
push edi
cmova ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmova eax, dword [ebp - 0x74]
push ecx
push 1
push 0
push eax
push dword [ebp - 0x5c]
call edi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000747c
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x100074b0
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100074a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x10007500
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100074f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
inc esi
cmp dword [ebp - 0x90], 5
jl 0x10007230
mov esi, dword [0x10310608]
mov dword [ebp - 0x90], 0
test esi, esi
jle 0x10007882
mov eax, 2
mov edi, 0x1031060c
mov dword [ebp - 0x5c], eax
dec eax
cmp eax, 5
jge 0x1000787c
mov eax, dword [ebp - 0x94]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10007565
test dl, dl
je 0x10007561
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10007565
add eax, 2
add ecx, 2
test dl, dl
jne 0x10007545
xor eax, eax
jmp 0x1000756a
sbb eax, eax
or eax, 1
test eax, eax
je 0x10007861
push dword [ebp - 0x5c]
lea eax, [ebp - 0x48]
push str.ID__d
push eax
call sym.Main.dll_sprintf
mov ecx, edi
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
add esp, 0xc
movups xmmword [ebp - 0x8c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100075a3
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x8c]
call fcn.10008540
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100075e0
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008540
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000765e
cmp dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
push esi
cmova ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
push ecx
cmova eax, dword [ebp - 0x74]
push 1
push 0
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10007692
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007688
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x100076e2
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100076d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
push dword [ebp - 0x5c]
lea eax, [ebp - 0x48]
push str.PW__d
push eax
call sym.Main.dll_sprintf
lea edx, [edi + 0xb]
mov dword [ebp - 0x7c], 0
mov ecx, edx
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebp - 0x8c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007716
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10008540
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007750
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008540
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100077ce
cmp dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
push esi
cmova ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
push ecx
cmova eax, dword [ebp - 0x74]
push 1
push 0
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10007802
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100077f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x10007852
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007848
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov eax, dword [ebp - 0x5c]
mov esi, dword [0x10310608]
inc eax
mov dword [ebp - 0x5c], eax
jmp 0x10007864
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x90]
add edi, 0x1c
inc ecx
mov dword [ebp - 0x90], ecx
cmp ecx, esi
jl 0x10007533
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [ebp - 0x94]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100078a5
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.10008540
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x74]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 0x101350d4
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
call fcn.10008540
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000794a
cmp dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
push esi
cmova ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
push ecx
cmova eax, dword [ebp - 0x74]
push 1
push 0
push eax
push dword [ebp - 0x4c]
call edi
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1000797e
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007974
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x100079ce
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100079c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c09
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov esi, dword [ebp - 0x50]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100079f0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.10008540
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x74]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 0x101351dc
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
call fcn.10008540
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10007a99
cmp dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
push esi
cmova ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
push ecx
cmova eax, dword [ebp - 0x74]
push 1
push 0
push eax
push dword [ebp - 0x4c]
call edi
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x10007a9f
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10007ad3
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007ac9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c0e
push ecx
push edx
call fcn.1007c3b1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x10007b23
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007b19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c0e
push ecx
push edx
call fcn.1007c3b1
add esp, 8
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
push str.SavePass
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
call fcn.10008540
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 1
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10007bb3
cmp dword [ebp - 0x98], 0xf
lea ecx, [ebp - 0x50]
push 4
push ecx
push 4
lea eax, [ebp - 0xac]
cmova eax, dword [ebp - 0xac]
push 0
push eax
push dword [ebp - 0x4c]
call edi
push dword [ebp - 0x4c]
call esi
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x10007be9
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007bdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007c13
push ecx
push edx
call fcn.1007c3b1
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.1007c089
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.100f64bd
call fcn.100f64bd
call fcn.100f64bd
int3