Function at 0x4b9c80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618bd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x63fb7c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0x1d
cmp ebx, dword [esi + 0x51c]
jge 0x4b9d62
mov eax, dword [esi + 0x518]
mov edi, dword [eax + ebx*8 + 4]
mov eax, dword [edi + 0x478]
test eax, eax
jne 0x4b9d5c
mov eax, dword [edi + 0x8d0]
test eax, eax
je 0x4b9d2a
mov ecx, dword [edi + 0x8c8]
test ecx, ecx
je 0x4b9cf4
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4b9cfe
mov dword [edi + 0xa44], 1
mov al, byte [esi + 0x47b]
test al, al
jne 0x4b9d15
push ebx
lea ecx, [esi + 8]
call fcn.005d0840
test al, al
jne 0x4b9d1c
mov ecx, edi
call fcn.005ab960
push edi
mov ecx, 0x6ec7d0
call fcn.00435b90
inc ebx
jmp 0x4b9cb5
mov al, byte [esi + 0x47b]
test al, al
jne 0x4b9d41
push ebx
lea ecx, [esi + 8]
call fcn.005d0840
test al, al
jne 0x4b9d48
mov ecx, edi
call fcn.005ab960
test edi, edi
je 0x4b9d5c
mov ecx, edi
call fcn.005a1de0
push edi
call fcn.005f6c85
add esp, 4
inc ebx
jmp 0x4b9cb5
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x514]
call fcn.004d05f0
lea eax, [esi + 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.004cbac0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x190]
call fcn.0044d580
mov eax, dword [esi + 0x3f0]
test eax, eax
je 0x4b9de9
xor edi, edi
cmp edi, dword [esi + 0x3e8]
jge 0x4b9dda
mov ecx, dword [esi + 0x3f0]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x4b9dd7
mov eax, dword [eax + 8]
test eax, eax
je 0x4b9dc5
push eax
call fcn.005f6c85
add esp, 4
mov edx, dword [esi + 0x3f0]
mov eax, dword [edx + edi*4]
push eax
call fcn.005f6c85
add esp, 4
inc edi
jmp 0x4b9da0
mov eax, dword [esi + 0x3f0]
push eax
call fcn.005f6c85
add esp, 4
push 0xfa0
mov dword [esi + 0x3e8], 0
mov dword [esi + 0x3ec], 0x3e8
call fcn.005f6c5c
mov ecx, dword [esi + 0x3ec]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3f0], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3f0]
test eax, eax
jne 0x4b9e4a
lea eax, [ebp - 0x18]
push 0x68af10
push eax
mov dword [ebp - 0x18], 0xc0000017
call fcn.005dfc6d
mov eax, dword [esi + 0x460]
test eax, eax
jne 0x4b9e5a
lea eax, [esi + 0x464]
push eax
call fcn.005dfbfe
mov al, byte [esi + 0x4cc]
add esp, 4
test al, al
jne 0x4b9e74
mov ecx, esi
call fcn.004ccd70
mov ecx, esi
call fcn.004b7bb0
mov al, byte [esi + 0x47b]
test al, al
je 0x4b9e94
mov ecx, dword [esi + 0x4b0]
push ecx
call fcn.004c9b00
add esp, 4
lea ecx, [esi + 0x300]
call fcn.005ce6c0
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4b9eaf
lea eax, [esi + 0x420]
push eax
call fcn.005de123
add esp, 4
test eax, eax
je 0x4b9ed5
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4b9ecc
lea eax, [esi + 0x420]
push eax
call fcn.004cd9a0
add esp, 4
mov al, byte [esi + 0x4cc]
test al, al
jne 0x4b9f38
mov edx, dword [esi + 0x418]
push 3
push 0x1438
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 8]
call fcn.005d0a20
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4b9f10
lea eax, [esi + 0x420]
push eax
call fcn.005de123
add esp, 4
test eax, eax
je 0x4b9f63
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4b9f2d
lea eax, [esi + 0x420]
push eax
call fcn.005e0a04
add esp, 4
jmp 0x4b9f63
mov al, byte [esi + 0x4cd]
test al, al
je 0x4b9f63
mov eax, dword [esi + 0x418]
push 2
push 0x1438
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 8]
call fcn.005d27f0
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push 0x6c4d74
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b9fa7
lea edx, [esi + 0x588]
push 4
push edx
push 4
push eax
mov eax, dword [ebp - 0x14]
push 0x6c4d6c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esi + 0x418]
push 0
push 0x1437
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x494]
test eax, eax
je 0x4ba010
xor edi, edi
cmp edi, dword [esi + 0x498]
jae 0x4ba010
mov eax, dword [esi + 0x494]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4ba00d
mov edx, 1
lea ecx, [eax + 0xc]
mov ebx, edx
dec edx
test ebx, ebx
je 0x4b9ff5
add ecx, 4
jmp 0x4b9fe9
mov edx, 1
lea ecx, [eax + 8]
mov ebx, edx
dec edx
test ebx, ebx
je 0x4ba009
add ecx, 4
jmp 0x4b9ffd
mov eax, dword [eax]
jmp 0x4b9fdd
inc edi
jmp 0x4b9fcc
mov eax, dword [esi + 0x494]
push eax
call fcn.005f6c85
mov ecx, dword [esi + 0x4a4]
add esp, 4
mov dword [esi + 0x494], 0
mov dword [esi + 0x49c], 0
mov dword [esi + 0x4a0], 0
call fcn.005f57a4
mov dword [esi + 0x4a4], 0
jmp 0x4ba073
lea eax, [esi + 0x528]
xor ebx, ebx
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x20], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x1f
cmp eax, ebx
je 0x4ba09f
push eax
call fcn.005f6c85
add esp, 4
lea eax, [esi + 0x514]
mov dword [ebp - 0x20], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x20
cmp eax, ebx
je 0x4ba0c2
push eax
call fcn.005f6c85
add esp, 4
lea ecx, [esi + 0x4f0]
mov byte [ebp - 4], 0x19
call fcn.005fa859
lea ecx, [esi + 0x4c0]
mov byte [ebp - 4], 0x18
call fcn.00401070
lea ecx, [esi + 0x4b8]
mov byte [ebp - 4], 0x17
call fcn.005fa859
lea ecx, [esi + 0x4b4]
mov byte [ebp - 4], 0x16
call fcn.005fa859
lea edi, [esi + 0x490]
mov dword [ebp - 0x20], edi
mov dword [edi], method.CCommandLineInfo.virtual_0
mov edx, dword [edi + 4]
mov byte [ebp - 4], 0x21
cmp edx, ebx
je 0x4ba137
mov eax, dword [edi + 8]
cmp eax, ebx
jbe 0x4ba137
mov ecx, edx
mov ebx, eax
mov eax, dword [ecx]
test eax, eax
je 0x4ba12f
mov eax, dword [eax]
test eax, eax
jne 0x4ba129
add ecx, 4
dec ebx
jne 0x4ba123
xor ebx, ebx
push edx
call fcn.005f6c85
mov ecx, dword [edi + 0x14]
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.005f57a4
lea ecx, [esi + 0x474]
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 0x14
call fcn.005fa859
lea ecx, [esi + 0x46c]
mov byte [ebp - 4], 0x13
call fcn.005fa859
lea ecx, [esi + 0x460]
mov byte [ebp - 4], 0x12
call fcn.00401070
mov eax, dword [esi + 0x45c]
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x4ba1cb
mov eax, dword [esi + 0x454]
xor edi, edi
cmp eax, ebx
jle 0x4ba1bc
mov ecx, dword [esi + 0x45c]
mov eax, dword [ecx + edi*4]
cmp eax, ebx
je 0x4ba1b1
push eax
call fcn.005f6c85
add esp, 4
mov eax, dword [esi + 0x454]
inc edi
cmp edi, eax
jl 0x4ba19b
mov eax, dword [esi + 0x45c]
push eax
call fcn.005f6c85
add esp, 4
lea ecx, [esi + 0x44c]
mov dword [esi + 0x45c], ebx
mov dword [esi + 0x454], ebx
mov dword [esi + 0x458], ebx
mov byte [ebp - 4], 0x10
call fcn.005fa859
lea ecx, [esi + 0x448]
mov byte [ebp - 4], 0xf
call fcn.005fa859
lea ecx, [esi + 0x440]
mov byte [ebp - 4], 0xe
call fcn.005fa859
lea ecx, [esi + 0x43c]
mov byte [ebp - 4], 0xd
call fcn.005fa859
lea ecx, [esi + 0x434]
mov byte [ebp - 4], 0xc
call fcn.005fa859
lea ecx, [esi + 0x430]
mov byte [ebp - 4], 0xb
call fcn.005fa859
lea ecx, [esi + 0x42c]
mov byte [ebp - 4], 0xa
call fcn.005fa859
lea ecx, [esi + 0x428]
mov byte [ebp - 4], 9
call fcn.005fa859
lea ecx, [esi + 0x41c]
mov byte [ebp - 4], 8
call fcn.00401070
mov eax, dword [esi + 0x3f0]
mov byte [ebp - 4], 7
cmp eax, ebx
mov dword [esi + 0x3e4], 0x63fba4
je 0x4ba2d1
mov eax, dword [esi + 0x3e8]
xor edi, edi
cmp eax, ebx
jle 0x4ba2c2
mov edx, dword [esi + 0x3f0]
mov eax, dword [edx + edi*4]
cmp eax, ebx
je 0x4ba2b7
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4ba2a5
push eax
call fcn.005f6c85
add esp, 4
mov eax, dword [esi + 0x3f0]
mov eax, dword [eax + edi*4]
push eax
call fcn.005f6c85
add esp, 4
mov eax, dword [esi + 0x3e8]
inc edi
cmp edi, eax
jl 0x4ba288
mov eax, dword [esi + 0x3f0]
push eax
call fcn.005f6c85
add esp, 4
mov eax, dword [esi + 0x3e0]
mov byte [ebp - 4], 6
cmp eax, ebx
mov dword [esi + 0x3d4], 0x63fba8
je 0x4ba2f2
push eax
call fcn.005f6c85
add esp, 4
lea ecx, [esi + 0x398]
mov byte [ebp - 4], 5
call fcn.004feb90
lea ecx, [esi + 0x2f8]
mov byte [ebp - 4], 4
call fcn.004201c0
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 3
call fcn.00521890
lea eax, [esi + 0x190]
mov dword [ebp - 0x20], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x22
cmp eax, ebx
je 0x4ba342
push eax
call fcn.005f6c85
add esp, 4
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 1
call fcn.0050a810
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0
call fcn.004324d0
lea ecx, [esi + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.005ceab0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret