Function at 0x4d7b90
Capabilities:
Set registry value

Disassembly:
mov eax, 0x7265bf
call fcn.006db31c
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x18
pop ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
cdq
idiv ebx
test eax, eax
je 0x4d7dd7
xor edx, edx
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x58], edx
push edi
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x58], dl
mov dword [ebp - 4], edx
mov ebx, edx
test eax, eax
je 0x4d7c2e
mov eax, edx
mov dword [ebp - 0x10], eax
add eax, ecx
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4d7be7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00451c32
mov edi, dword [esi + 4]
mov eax, edi
mov ecx, dword [esi]
sub eax, ecx
cdq
idiv dword [ebp - 0x14]
dec eax
cmp ebx, eax
jae 0x4d7c14
push 0x2c
lea ecx, [ebp - 0x58]
call fcn.00452544
mov edi, dword [esi + 4]
mov ecx, dword [esi]
push 0x18
pop eax
add dword [ebp - 0x10], eax
sub edi, ecx
mov eax, edi
inc ebx
push 0x18
cdq
pop edi
idiv edi
cmp ebx, eax
mov eax, dword [ebp - 0x10]
jb 0x4d7bdb
xor edx, edx
push 0x7edbb0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
call fcn.004525b8
mov edi, dword [ebp - 0x48]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4d7d5a
push 0x7af994
push edi
call fcn.006db311
mov ebx, eax
mov dword [ebp - 0x1c], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x4d7d5a
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push edi
cmovae ecx, dword [ebp - 0x58]
push ecx
push ebx
call fcn.006dccc0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
add esp, 0xc
lea ecx, [ebp - 0x40]
cmp edx, 0x10
lea esi, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
add eax, dword [ebp - 0x30]
cmp edx, 0x10
cmovae esi, dword [ebp - 0x40]
cmp esi, eax
je 0x4d7ccc
sub ecx, esi
mov ebx, eax
mov edi, ecx
movzx eax, byte [esi]
push eax
call fcn.004d8bfa
mov byte [edi + esi], al
inc esi
pop ecx
cmp esi, ebx
jne 0x4d7cb1
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
push edi
cmp edx, 0x10
lea eax, [ebp - 0x40]
push ebx
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00453f8e
and dword [ebp + 8], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.004ccf31
add esp, 0x14
test eax, eax
jne 0x4d7d51
push str.ConfigOSSProxySettings
lea ecx, [ebp + 8]
call fcn.004c5e08
push 0x2001f
push dword [ebp + 8]
xor eax, eax
lea ecx, [ebp - 0x28]
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call fcn.004c8ab0
mov esi, dword [ebp - 0x28]
test eax, eax
jne 0x4d7d46
push edi
push ebx
push 3
push 0
push 0x72f0e8
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call fcn.006db30c
pop ecx
test esi, esi
je 0x4d7d51
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x2c]
mov esi, 0x1000
pop edi
cmp eax, 0x10
jb 0x4d7d94
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, esi
jb 0x4d7d8b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00450606
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.006db2db
pop ecx
pop ecx
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x4d7dd7
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, esi
jb 0x4d7dce
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00450606
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006db2db
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret