Function at 0x410750
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58057e
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x5ed80c]
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
mov dword [ebp - 0x10], esp
mov ecx, 7
mov esi, str.SendMailRuStat
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0xc
mov esi, str.http:__xml.binupdate.mail.ru_internet_settings.xml
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ebx, ebx
movsb byte es:[edi], byte [esi]
push 8
mov esi, 0xf
push 0x59d428
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x191], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.00401850
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4107f4
sub eax, edx
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401850
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 2
call fcn.00508160
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00508a10
mov edi, 0x10
cmp dword [ebp - 0xec], edi
jb 0x410858
mov edx, dword [ebp - 0x100]
push edx
call fcn.0055ae44
add esp, 4
lea ecx, [ebp - 0x190]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xf0], ebx
mov byte [ebp - 0x100], bl
call fcn.0040a550
cmp dword [ebp - 0x8c], edi
jb 0x41088c
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0055ae44
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa8], edi
jb 0x4108b9
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.0055ae44
add esp, 4
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.004de440
push ebx
push 1
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 8
call fcn.004dda30
push ebx
lea ecx, [ebp - 0x1a0]
call fcn.004e2880
push ebx
push str.send_stat
mov ecx, eax
call fcn.004e12f0
cmp eax, ebx
je 0x410952
push ebx
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.0040e300
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x70], edi
jae 0x41092c
lea eax, [ebp - 0x84]
push eax
call fcn.0055d1d1
add esp, 4
test eax, eax
setne byte [ebp - 0x191]
cmp dword [ebp - 0x70], edi
jb 0x410952
mov edx, dword [ebp - 0x84]
push edx
call fcn.0055ae44
add esp, 4
mov dword [ebp - method.ticpp::NodeImp_class_TiXmlDocument_.virtual_0], vtable.ticpp::NodeImp_class_TiXmlDocument_.0
mov ecx, dword [ebp - 0x19c]
mov byte [ebp - 4], 9
call fcn.004dbe30
mov dword [ebp - method.ticpp::Base.virtual_0], vtable.ticpp::Base.0
cmp dword [ebp - 0xc4], edi
jb 0x41098c
mov eax, dword [ebp - 0xd8]
push eax
call fcn.0055ae44
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x410ad0
xor eax, eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410af0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00401c40
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x198], ebx
push 0x2001f
push reloc.WS2_32.dll_accept
push 0x5e696c
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0xd
call fcn.00407ea0
mov esi, dword [ebp - 0x1a0]
cmp esi, ebx
je 0x410b91
cmp dword [ebp - 0x70], 8
mov eax, dword [ebp - 0x84]
jae 0x410b62
lea eax, [ebp - 0x84]
movzx edx, byte [ebp - 0x191]
push 4
lea ecx, [ebp - 0x1a8]
push ecx
push 4
push ebx
push eax
push esi
mov dword [ebp - 0x1a8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], 8
jb 0x410ba6
mov edx, dword [ebp - 0x84]
push edx
call fcn.0055ae44
add esp, 4
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.0055bc32
mov esp, ebp
pop ebp
ret