Function at 0x10007550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c8e7
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1012800c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x102ebe58], 0
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
jle 0x10007c0f
mov esi, 2
nop dword [eax + eax]
push esi
lea eax, [ebp - 0x48]
mov ebx, esi
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
push 0
push 0x1011cb9d
call fcn.10008a30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007617
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008a30
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 0x10007695
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
push edi
cmovae ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae 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 edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x100076c9
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100076bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x10007719
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000770f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
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 - 0x8c], 0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
push 0
push 0x1011cb9d
call fcn.10008a30
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007780
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008a30
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 0x10007802
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
push edi
cmovae ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmovae 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 0x10007808
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x1000783c
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x1000788c
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007882
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
inc esi
cmp ebx, 5
jl 0x100075b0
mov esi, dword [0x102ebe58]
mov dword [ebp - 0x4c], 0
test esi, esi
jle 0x10007c09
mov ebx, 2
mov edi, 0x102ebe5c
nop word [eax + eax]
lea eax, [ebx - 1]
cmp eax, 5
jge 0x10007c03
mov eax, dword [ebp - 0x90]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100078f4
test dl, dl
je 0x100078f0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100078f4
add eax, 2
add ecx, 2
test dl, dl
jne 0x100078d4
xor eax, eax
jmp 0x100078f9
sbb eax, eax
or eax, 1
test eax, eax
je 0x10007bf1
push ebx
lea eax, [ebp - 0x48]
push str.ID__d
push eax
call sym.Main.dll_sprintf
mov ecx, edi
mov dword [ebp - 0x8c], 0
add esp, 0xc
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007937
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x8c]
call fcn.10008a30
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007970
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008a30
mov esi, 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 0x100079ee
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
push esi
cmovae ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae 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 edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10007a22
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007a18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x10007a72
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007a68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
push ebx
lea eax, [ebp - 0x48]
push str.PW__d
push eax
call sym.Main.dll_sprintf
lea edx, [edi + 0xb]
mov dword [ebp - 0x8c], 0
mov ecx, edx
mov dword [ebp - 0x7c], 0
add esp, 0xc
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007ab0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10008a30
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007ae8
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.10008a30
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
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 0x10007b66
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
push esi
cmovae ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae 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 edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10007b9a
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007b90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x10007bea
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007be0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
mov esi, dword [0x102ebe58]
inc ebx
mov ecx, dword [ebp - 0x4c]
add edi, 0x1c
inc ecx
mov dword [ebp - 0x4c], ecx
cmp ecx, esi
jl 0x100078c0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [ebp - 0x90]
mov ecx, esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007c40
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.10008a30
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x74]
push 2
push 0x1011cabc
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
call fcn.10008a30
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
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 ebx
test eax, eax
jne 0x10007ce1
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
push esi
cmovae ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae eax, dword [ebp - 0x74]
push 1
push 0
push eax
push dword [ebp - 0x5c]
call edi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10007d15
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007d0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x10007d65
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007d5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007f9f
push edx
push ecx
call fcn.1008025d
add esp, 8
mov esi, dword [ebp - 0x50]
mov ecx, esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007d90
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.10008a30
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x74]
push 2
push 0x1011cb90
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
call fcn.10008a30
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
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 ebx
test eax, eax
jne 0x10007e35
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
push esi
cmovae ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae eax, dword [ebp - 0x74]
push 1
push 0
push eax
push dword [ebp - 0x5c]
call edi
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x10007e3b
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x10007e6f
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007e65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007fa4
push edx
push ecx
call fcn.1008025d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x10007ebf
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007eb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007fa4
push edx
push ecx
call fcn.1008025d
add esp, 8
push 8
push str.SavePass
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
call fcn.10008a30
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 1
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 ebx
test eax, eax
jne 0x10007f4b
cmp dword [ebp - 0x94], 0x10
lea ecx, [ebp - 0x50]
push 4
push ecx
push 4
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
push 0
push eax
push dword [ebp - 0x5c]
call edi
push dword [ebp - 0x5c]
call esi
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x10007f81
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007f77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007fa9
push edx
push ecx
call fcn.1008025d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007ff35
mov esp, ebp
pop ebp
ret 0xc
call fcn.100e1d1d
call fcn.100e1d1d
call fcn.100e1d1d
int3