Function at 0x10070410
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10133735
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1054b960]
test eax, eax
jns 0x10070451
cmp eax, dword [0x1054b8c8]
jge 0x100708ca
test eax, eax
jne 0x10070675
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, 0x4449
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x4c], 2
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5a], 0
mov dword [ebp - 0x78], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100704f3
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push 0
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10070523
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070519
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007055b
push ecx
push edx
call fcn.10131b2c
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1007056b
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070561
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10070561
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10131b2c
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x5c], xmm0
mov eax, 0x5750
mov dword [ebp - 0x4c], 2
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x48], 0xf
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
mov byte [ebp - 0x5a], 0
mov dword [ebp - 0x78], 0
call esi
test eax, eax
jne 0x100705fb
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push 0
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1007062b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070621
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007066f
push ecx
push edx
call fcn.10131b2c
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x100708c5
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100708bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100708bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
inc eax
push eax
lea eax, [ebp - 0x44]
push str.ID__d
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
add esp, 0xc
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100706c0
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000d0f0
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1007073a
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push esi
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1007076a
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070760
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100707a9
push ecx
push edx
call fcn.10131b2c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x100707b9
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100707af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100707af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10131b2c
add esp, 8
mov eax, dword [0x1054b960]
inc eax
push eax
lea eax, [ebp - 0x44]
push str.PW__d
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
add esp, 0xc
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x48], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070810
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000d0f0
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10070884
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push esi
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1007062b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10070621
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007066f
jmp 0x10070621
push ecx
push edx
call fcn.10131b2c
add esp, 8
call fcn.10071b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret