Function at 0x10006f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10135018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebx + 0x70], 0
je 0x10006f87
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006f7e
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 4
test eax, eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.AutoLoginLogged
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebx + 0x6c], 0
je 0x100072c3
cmp dword [ebx + 0x70], 0
je 0x100072c3
lea ecx, [ebx + 0x4e]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006fa1
sub ecx, edx
je 0x100072c3
lea eax, [ebx + 0x38]
mov ecx, eax
mov dword [ebp - 8], eax
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006fc0
sub ecx, edx
je 0x100072c3
lea ecx, [ebx + 0x43]
push esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006fd6
sub ecx, edx
je 0x100072c2
mov ecx, 0x10135e6f
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006ff0
sub ecx, edx
je 0x10007108
mov ecx, 0x10135e64
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007007
sub ecx, edx
je 0x10007108
mov ecx, 0x10135e7a
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007020
sub ecx, edx
je 0x10007108
cmp byte [ebx + 0x74], al
je 0x10007108
lea ecx, [ebx + 0x43]
lea eax, [ebx + 0xf]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10007060
test dl, dl
je 0x1000705c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10007060
add eax, 2
add ecx, 2
test dl, dl
jne 0x10007040
xor eax, eax
jmp 0x10007065
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10007108
lea ecx, [ebx + 0x38]
lea eax, [ebx + 4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10007093
test dl, dl
je 0x1000708f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10007093
add eax, 2
add ecx, 2
test dl, dl
jne 0x10007073
xor eax, eax
jmp 0x10007098
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10007108
lea ecx, [ebx + 0x4e]
lea eax, [ebx + 0x1a]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100070c2
test dl, dl
je 0x100070be
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100070c2
add eax, 2
add ecx, 2
test dl, dl
jne 0x100070a2
xor eax, eax
jmp 0x100070c7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10007108
lea ecx, [ebx + 0x59]
lea eax, [ebx + 0x25]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100070f1
test dl, dl
je 0x100070ed
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100070f1
add eax, 2
add ecx, 2
test dl, dl
jne 0x100070d1
xor eax, eax
jmp 0x100070f6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10007108
mov ax, word [ebx + 0x36]
cmp ax, word [ebx + 0x6a]
je 0x100072c2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100072b9
xor esi, esi
nop dword [eax]
mov eax, 0xaaaaaaab
mov ecx, esi
mul esi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
mov al, byte [ecx + 0x10127ad0]
xor byte [ebx + esi + 0x43], al
inc esi
cmp esi, 0xb
jl 0x10007130
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea esi, [ebx + 0x43]
push 0xb
push esi
push 1
push 0
push str.PassAccount
push dword [ebp - 0xc]
test eax, eax
call edi
xor esi, esi
mov eax, 0xaaaaaaab
mov ecx, esi
mul esi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
mov al, byte [ecx + 0x10127ad0]
xor byte [ebx + esi + 0x4e], al
inc esi
cmp esi, 0xb
jl 0x10007191
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
push 0xb
lea eax, [ebx + 0x4e]
push eax
push 1
push 0
push str.CharAccount
push dword [ebp - 0xc]
call edi
xor esi, esi
lea edi, [ebx + 0x59]
mov eax, 0xaaaaaaab
mov ecx, esi
mul esi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
mov al, byte [ecx + 0x10127ad0]
xor byte [edi + esi], al
inc esi
cmp esi, 0x11
jl 0x100071f5
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0x11
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push 0
push str.ServerIpAddress
push dword [ebp - 0xc]
call edi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
lea esi, [ebx + 0x6a]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push getpeername
call ebx
push 2
push esi
push 4
push 0
push str.ServerPORT
push dword [ebp - 0xc]
call edi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push getpeername
call ebx
push 0xb
push dword [ebp - 8]
push 1
push 0
push 0x10127a80
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008173f
mov esp, ebp
pop ebp
ret