Function at 0x411e20
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x437c41
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
push edi
call fcn.00411be0
mov esi, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, esi
cmp eax, 0x1388
jbe 0x411e61
call fcn.00411ad0
xor al, al
jmp 0x412187
call fcn.00411ad0
mov edi, dword [esp + 0x164]
xor ecx, ecx
mov byte [esp + 0x14], 0xc
mov byte [esp + 0x15], 7
mov eax, dword [edi + 8]
mov byte [esp + 0x16], 3
test eax, eax
mov byte [esp + 0x17], 0x13
jbe 0x411eb9
mov ebp, dword [edi + 4]
test ebp, ebp
mov esi, 0x439658
je 0x411e99
lea esi, [ecx + ebp]
mov edx, ecx
and edx, reloc.WS2_32.dll_closesocket
jns 0x411ea8
dec edx
or edx, 0xfffffffc
inc edx
mov dl, byte [esp + edx + 0x14]
mov bl, byte [esi]
add dl, bl
mov byte [esp + ecx + 0x54], dl
inc ecx
cmp ecx, eax
jb 0x411e8d
mov ecx, dword [edi + 0x10]
mov byte [esp + eax + 0x54], 0
and eax, 3
xor ebx, ebx
xor esi, esi
mov bl, byte [esp + eax + 0x14]
mov al, byte [esp + 0x13]
xor ebx, ecx
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
call fcn.00401040
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x160], esi
call fcn.00401040
mov edi, str.SOFTWAREWebzenMuConnection
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.SOFTWAREWebzenMuConnection
lea ecx, [esp + 0x20]
call fcn.004123a0
mov edx, dword [0x43b0f4]
lea eax, [esp + 0x18]
push edx
push esi
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x168], 1
mov dword [esp + 0x38], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004121a0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 0
call fcn.00401040
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.00401040
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004123a0
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x160], 2
mov byte [esp + 0x44], al
call fcn.00401040
mov edi, str.ParameterA
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ParameterA
lea ecx, [esp + 0x48]
call fcn.004123a0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x411fcc
mov eax, 0x439658
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x411ff7
xor al, al
jmp 0x412030
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x412004
mov ecx, 0x439658
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x412011
mov eax, 0x439658
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
test al, al
push 1
lea ecx, [esp + 0x44]
sete byte [esp + 0x17]
call fcn.00401040
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 0
call fcn.00401040
mov al, byte [esp + 0x13]
test al, al
jne 0x412141
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00401040
mov edi, str.ParameterB
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00412460
test al, al
je 0x4120b8
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, str.ParameterB
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00412440
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
test eax, eax
mov dword [esp + 0x14], 0
jne 0x4120d1
mov eax, 0x439658
lea ecx, [esp + 0x50]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4120fc
xor al, al
jmp 0x41212d
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x412109
mov eax, 0x439658
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push 4
push ecx
push 4
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
test al, al
push 1
lea ecx, [esp + 0x1c]
sete bl
call fcn.00401040
test bl, bl
je 0x41215b
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x160], 0xffffffff
call fcn.00401040
xor al, al
jmp 0x412187
call fcn.00411870
mov eax, dword [esp + 0x34]
test eax, eax
je 0x412185
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41217c
cmp al, 0xff
je 0x41217c
dec al
mov byte [ecx], al
jmp 0x412185
push ecx
call fcn.0042af98
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret