Function at 0x48c7e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b67d3
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], 0x5d9560
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0x1d
cmp ebx, dword [esi + 0x534]
jge 0x48c8b3
mov eax, dword [esi + 0x530]
mov edi, dword [eax + ebx*8 + 4]
mov eax, dword [edi + 0x400]
test eax, eax
jne 0x48c8ad
mov eax, dword [edi + 0x84c]
test eax, eax
je 0x48c87b
mov eax, dword [edi + 0x844]
mov ecx, 1
test eax, eax
je 0x48c851
mov dword [eax + 0x38], ecx
mov dword [edi + 0x97c], ecx
mov dword [edi + 0xc], ecx
mov al, byte [esi + 0x493]
test al, al
jne 0x48c871
push ebx
lea ecx, [esi + 8]
call fcn.00570e60
test al, al
jne 0x48c8ad
mov ecx, edi
call fcn.005516e0
inc ebx
jmp 0x48c815
mov al, byte [esi + 0x493]
test al, al
jne 0x48c892
push ebx
lea ecx, [esi + 8]
call fcn.00570e60
test al, al
jne 0x48c899
mov ecx, edi
call fcn.005516e0
test edi, edi
je 0x48c8ad
mov ecx, edi
call fcn.0054a0f0
push edi
call fcn.00597102
add esp, 4
inc ebx
jmp 0x48c815
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x52c]
call fcn.004a2ce0
lea ecx, [esi + 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.0049e4b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x190]
call fcn.0043b660
mov eax, dword [esi + 0x408]
test eax, eax
je 0x48c93a
xor edi, edi
cmp edi, dword [esi + 0x400]
jge 0x48c92b
mov edx, dword [esi + 0x408]
mov eax, dword [edx + edi*4]
test eax, eax
je 0x48c928
mov eax, dword [eax + 8]
test eax, eax
je 0x48c916
push eax
call fcn.00597102
add esp, 4
mov eax, dword [esi + 0x408]
mov eax, dword [eax + edi*4]
push eax
call fcn.00597102
add esp, 4
inc edi
jmp 0x48c8f1
mov eax, dword [esi + 0x408]
push eax
call fcn.00597102
add esp, 4
push 0xfa0
mov dword [esi + 0x400], 0
mov dword [esi + 0x404], 0x3e8
call fcn.005970d9
mov ecx, dword [esi + 0x404]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x408], 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 + 0x408]
test eax, eax
jne 0x48c99b
lea eax, [ebp - 0x18]
push 0x622bf0
push eax
mov dword [ebp - 0x18], 0xc0000017
call fcn.00580382
mov eax, dword [esi + 0x478]
test eax, eax
jne 0x48c9ab
lea eax, [esi + 0x47c]
push eax
call fcn.00580313
mov al, byte [esi + 0x4e4]
add esp, 4
test al, al
jne 0x48c9c5
mov ecx, esi
call fcn.0049f470
mov ecx, esi
call fcn.0048a720
mov al, byte [esi + 0x493]
test al, al
je 0x48c9e5
mov ecx, dword [esi + 0x4c8]
push ecx
call fcn.0049c510
add esp, 4
lea ecx, [esi + 0x300]
call fcn.0056ece0
mov eax, dword [esi + 0x434]
test eax, eax
jne 0x48ca00
lea eax, [esi + 0x438]
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x48ca26
mov eax, dword [esi + 0x434]
test eax, eax
jne 0x48ca1d
lea eax, [esi + 0x438]
push eax
call fcn.004a00a0
add esp, 4
mov al, byte [esi + 0x4e4]
test al, al
jne 0x48ca89
mov edx, dword [esi + 0x430]
push 3
push 0x1438
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 8]
call fcn.00571040
mov eax, dword [esi + 0x434]
test eax, eax
jne 0x48ca61
lea eax, [esi + 0x438]
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x48cab4
mov eax, dword [esi + 0x434]
test eax, eax
jne 0x48ca7e
lea eax, [esi + 0x438]
push eax
call fcn.00580fbb
add esp, 4
jmp 0x48cab4
mov al, byte [esi + 0x4e5]
test al, al
je 0x48cab4
mov eax, dword [esi + 0x430]
push 2
push 0x1438
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esi + 8]
call fcn.005730c0
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push 0x656ce8
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48caf8
lea edx, [esi + 0x5a0]
push 4
push edx
push 4
push eax
mov eax, dword [ebp - 0x14]
push 0x656ce0
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 + 0x430]
push 0
push 0x1437
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x48cb61
xor edi, edi
cmp edi, dword [esi + 0x4b0]
jae 0x48cb61
mov eax, dword [esi + 0x4ac]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x48cb5e
mov edx, 1
lea ecx, [eax + 0xc]
mov ebx, edx
dec edx
test ebx, ebx
je 0x48cb46
add ecx, 4
jmp 0x48cb3a
mov edx, 1
lea ecx, [eax + 8]
mov ebx, edx
dec edx
test ebx, ebx
je 0x48cb5a
add ecx, 4
jmp 0x48cb4e
mov eax, dword [eax]
jmp 0x48cb2e
inc edi
jmp 0x48cb1d
mov eax, dword [esi + 0x4ac]
push eax
call fcn.00597102
mov ecx, dword [esi + 0x4bc]
add esp, 4
mov dword [esi + 0x4ac], 0
mov dword [esi + 0x4b4], 0
mov dword [esi + 0x4b8], 0
call fcn.00595c21
mov dword [esi + 0x4bc], 0
jmp 0x48cbc4
lea eax, [esi + 0x540]
xor ebx, ebx
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x20], eax
mov dword [eax], 0x5d9564
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x1f
cmp eax, ebx
je 0x48cbf0
push eax
call fcn.00597102
add esp, 4
lea eax, [esi + 0x52c]
mov dword [ebp - 0x20], eax
mov dword [eax], 0x5d9570
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x20
cmp eax, ebx
je 0x48cc13
push eax
call fcn.00597102
add esp, 4
lea ecx, [esi + 0x508]
mov byte [ebp - 4], 0x19
call fcn.0059ad3d
lea ecx, [esi + 0x4d8]
mov byte [ebp - 4], 0x18
call fcn.00401070
lea ecx, [esi + 0x4d0]
mov byte [ebp - 4], 0x17
call fcn.0059ad3d
lea ecx, [esi + 0x4cc]
mov byte [ebp - 4], 0x16
call fcn.0059ad3d
lea edi, [esi + 0x4a8]
mov dword [ebp - 0x20], edi
mov dword [edi], 0x5d957c
mov edx, dword [edi + 4]
mov byte [ebp - 4], 0x21
cmp edx, ebx
je 0x48cc88
mov eax, dword [edi + 8]
cmp eax, ebx
jbe 0x48cc88
mov ecx, edx
mov ebx, eax
mov eax, dword [ecx]
test eax, eax
je 0x48cc80
mov eax, dword [eax]
test eax, eax
jne 0x48cc7a
add ecx, 4
dec ebx
jne 0x48cc74
xor ebx, ebx
push edx
call fcn.00597102
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.00595c21
lea ecx, [esi + 0x48c]
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 0x14
call fcn.0059ad3d
lea ecx, [esi + 0x484]
mov byte [ebp - 4], 0x13
call fcn.0059ad3d
lea ecx, [esi + 0x478]
mov byte [ebp - 4], 0x12
call fcn.00401070
mov eax, dword [esi + 0x474]
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x48cd1c
mov eax, dword [esi + 0x46c]
xor edi, edi
cmp eax, ebx
jle 0x48cd0d
mov ecx, dword [esi + 0x474]
mov eax, dword [ecx + edi*4]
cmp eax, ebx
je 0x48cd02
push eax
call fcn.00597102
add esp, 4
mov eax, dword [esi + 0x46c]
inc edi
cmp edi, eax
jl 0x48ccec
mov eax, dword [esi + 0x474]
push eax
call fcn.00597102
add esp, 4
lea ecx, [esi + 0x464]
mov dword [esi + 0x474], ebx
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x470], ebx
mov byte [ebp - 4], 0x10
call fcn.0059ad3d
lea ecx, [esi + 0x460]
mov byte [ebp - 4], 0xf
call fcn.0059ad3d
lea ecx, [esi + 0x458]
mov byte [ebp - 4], 0xe
call fcn.0059ad3d
lea ecx, [esi + 0x454]
mov byte [ebp - 4], 0xd
call fcn.0059ad3d
lea ecx, [esi + 0x44c]
mov byte [ebp - 4], 0xc
call fcn.0059ad3d
lea ecx, [esi + 0x448]
mov byte [ebp - 4], 0xb
call fcn.0059ad3d
lea ecx, [esi + 0x444]
mov byte [ebp - 4], 0xa
call fcn.0059ad3d
lea ecx, [esi + 0x440]
mov byte [ebp - 4], 9
call fcn.0059ad3d
lea ecx, [esi + 0x434]
mov byte [ebp - 4], 8
call fcn.00401070
mov eax, dword [esi + 0x408]
mov byte [ebp - 4], 7
cmp eax, ebx
mov dword [esi + 0x3fc], 0x5d9588
je 0x48ce22
mov eax, dword [esi + 0x400]
xor edi, edi
cmp eax, ebx
jle 0x48ce13
mov edx, dword [esi + 0x408]
mov eax, dword [edx + edi*4]
cmp eax, ebx
je 0x48ce08
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x48cdf6
push eax
call fcn.00597102
add esp, 4
mov eax, dword [esi + 0x408]
mov eax, dword [eax + edi*4]
push eax
call fcn.00597102
add esp, 4
mov eax, dword [esi + 0x400]
inc edi
cmp edi, eax
jl 0x48cdd9
mov eax, dword [esi + 0x408]
push eax
call fcn.00597102
add esp, 4
mov eax, dword [esi + 0x3f8]
mov byte [ebp - 4], 6
cmp eax, ebx
mov dword [esi + 0x3ec], 0x5d958c
je 0x48ce43
push eax
call fcn.00597102
add esp, 4
lea ecx, [esi + 0x3b0]
mov byte [ebp - 4], 5
call fcn.004cc0b0
lea ecx, [esi + 0x2f8]
mov byte [ebp - 4], 4
call fcn.004180d0
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 3
call fcn.004e9550
lea eax, [esi + 0x190]
mov dword [ebp - 0x20], eax
mov dword [eax], 0x5ca7e8
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x22
cmp eax, ebx
je 0x48ce93
push eax
call fcn.00597102
add esp, 4
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 1
call fcn.004d6a50
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0
call fcn.00426260
lea ecx, [esi + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0056f0d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret