Function at 0x4badf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61fea3
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], 0x647bc4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0x1d
cmp ebx, dword [esi + 0x51c]
jge 0x4baed2
mov eax, dword [esi + 0x518]
mov edi, dword [eax + ebx*8 + 4]
mov eax, dword [edi + 0x480]
test eax, eax
jne 0x4baecc
mov eax, dword [edi + 0x8d8]
test eax, eax
je 0x4bae9a
mov ecx, dword [edi + 0x8d0]
test ecx, ecx
je 0x4bae64
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4bae6e
mov dword [edi + 0xa5c], 1
mov al, byte [esi + 0x47b]
test al, al
jne 0x4bae85
push ebx
lea ecx, [esi + 8]
call fcn.005d78a0
test al, al
jne 0x4bae8c
mov ecx, edi
call fcn.005b24c0
push edi
mov ecx, 0x6f6390
call fcn.00435f80
inc ebx
jmp 0x4bae25
mov al, byte [esi + 0x47b]
test al, al
jne 0x4baeb1
push ebx
lea ecx, [esi + 8]
call fcn.005d78a0
test al, al
jne 0x4baeb8
mov ecx, edi
call fcn.005b24c0
test edi, edi
je 0x4baecc
mov ecx, edi
call fcn.005a8880
push edi
call fcn.005fdcf6
add esp, 4
inc ebx
jmp 0x4bae25
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x514]
call fcn.004d1be0
lea eax, [esi + 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.004cceb0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x190]
call fcn.0044db50
mov eax, dword [esi + 0x3f0]
test eax, eax
je 0x4baf59
xor edi, edi
cmp edi, dword [esi + 0x3e8]
jge 0x4baf4a
mov ecx, dword [esi + 0x3f0]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x4baf47
mov eax, dword [eax + 8]
test eax, eax
je 0x4baf35
push eax
call fcn.005fdcf6
add esp, 4
mov edx, dword [esi + 0x3f0]
mov eax, dword [edx + edi*4]
push eax
call fcn.005fdcf6
add esp, 4
inc edi
jmp 0x4baf10
mov eax, dword [esi + 0x3f0]
push eax
call fcn.005fdcf6
add esp, 4
push 0xfa0
mov dword [esi + 0x3e8], 0
mov dword [esi + 0x3ec], 0x3e8
call fcn.005fdccd
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 0x4bafba
lea eax, [ebp - 0x18]
push 0x6937d0
push eax
mov dword [ebp - 0x18], 0xc0000017
call fcn.005e6ced
mov eax, dword [esi + 0x460]
test eax, eax
jne 0x4bafca
lea eax, [esi + 0x464]
push eax
call fcn.005e6c7e
mov al, byte [esi + 0x4cc]
add esp, 4
test al, al
jne 0x4bafe4
mov ecx, esi
call fcn.004ce160
mov ecx, esi
call fcn.004b8d20
mov al, byte [esi + 0x47b]
test al, al
je 0x4bb004
mov ecx, dword [esi + 0x4b0]
push ecx
call fcn.004cae90
add esp, 4
lea ecx, [esi + 0x300]
call fcn.005d5720
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4bb01f
lea eax, [esi + 0x420]
push eax
call fcn.005e519b
add esp, 4
test eax, eax
je 0x4bb045
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4bb03c
lea eax, [esi + 0x420]
push eax
call fcn.004ced90
add esp, 4
mov al, byte [esi + 0x4cc]
test al, al
jne 0x4bb0a8
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.005d7a80
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4bb080
lea eax, [esi + 0x420]
push eax
call fcn.005e519b
add esp, 4
test eax, eax
je 0x4bb0d3
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4bb09d
lea eax, [esi + 0x420]
push eax
call fcn.005e7a84
add esp, 4
jmp 0x4bb0d3
mov al, byte [esi + 0x4cd]
test al, al
je 0x4bb0d3
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.005d9850
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerInternational
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4bb117
lea edx, [esi + 0x588]
push 4
push edx
push 4
push eax
mov eax, dword [ebp - 0x14]
push str.W2KLpk
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 0x4bb180
xor edi, edi
cmp edi, dword [esi + 0x498]
jae 0x4bb180
mov eax, dword [esi + 0x494]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4bb17d
mov edx, 1
lea ecx, [eax + 0xc]
mov ebx, edx
dec edx
test ebx, ebx
je 0x4bb165
add ecx, 4
jmp 0x4bb159
mov edx, 1
lea ecx, [eax + 8]
mov ebx, edx
dec edx
test ebx, ebx
je 0x4bb179
add ecx, 4
jmp 0x4bb16d
mov eax, dword [eax]
jmp 0x4bb14d
inc edi
jmp 0x4bb13c
mov eax, dword [esi + 0x494]
push eax
call fcn.005fdcf6
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.005fc814
mov dword [esi + 0x4a4], 0
jmp 0x4bb1e3
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 0x4bb20f
push eax
call fcn.005fdcf6
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 0x4bb232
push eax
call fcn.005fdcf6
add esp, 4
lea ecx, [esi + 0x4f0]
mov byte [ebp - 4], 0x19
call fcn.006018cc
lea ecx, [esi + 0x4c0]
mov byte [ebp - 4], 0x18
call fcn.00401070
lea ecx, [esi + 0x4b8]
mov byte [ebp - 4], 0x17
call fcn.006018cc
lea ecx, [esi + 0x4b4]
mov byte [ebp - 4], 0x16
call fcn.006018cc
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 0x4bb2a7
mov eax, dword [edi + 8]
cmp eax, ebx
jbe 0x4bb2a7
mov ecx, edx
mov ebx, eax
mov eax, dword [ecx]
test eax, eax
je 0x4bb29f
mov eax, dword [eax]
test eax, eax
jne 0x4bb299
add ecx, 4
dec ebx
jne 0x4bb293
xor ebx, ebx
push edx
call fcn.005fdcf6
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.005fc814
lea ecx, [esi + 0x474]
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 0x14
call fcn.006018cc
lea ecx, [esi + 0x46c]
mov byte [ebp - 4], 0x13
call fcn.006018cc
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 0x4bb33b
mov eax, dword [esi + 0x454]
xor edi, edi
cmp eax, ebx
jle 0x4bb32c
mov ecx, dword [esi + 0x45c]
mov eax, dword [ecx + edi*4]
cmp eax, ebx
je 0x4bb321
push eax
call fcn.005fdcf6
add esp, 4
mov eax, dword [esi + 0x454]
inc edi
cmp edi, eax
jl 0x4bb30b
mov eax, dword [esi + 0x45c]
push eax
call fcn.005fdcf6
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.006018cc
lea ecx, [esi + 0x448]
mov byte [ebp - 4], 0xf
call fcn.006018cc
lea ecx, [esi + 0x440]
mov byte [ebp - 4], 0xe
call fcn.006018cc
lea ecx, [esi + 0x43c]
mov byte [ebp - 4], 0xd
call fcn.006018cc
lea ecx, [esi + 0x434]
mov byte [ebp - 4], 0xc
call fcn.006018cc
lea ecx, [esi + 0x430]
mov byte [ebp - 4], 0xb
call fcn.006018cc
lea ecx, [esi + 0x42c]
mov byte [ebp - 4], 0xa
call fcn.006018cc
lea ecx, [esi + 0x428]
mov byte [ebp - 4], 9
call fcn.006018cc
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], 0x647bec
je 0x4bb441
mov eax, dword [esi + 0x3e8]
xor edi, edi
cmp eax, ebx
jle 0x4bb432
mov edx, dword [esi + 0x3f0]
mov eax, dword [edx + edi*4]
cmp eax, ebx
je 0x4bb427
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4bb415
push eax
call fcn.005fdcf6
add esp, 4
mov eax, dword [esi + 0x3f0]
mov eax, dword [eax + edi*4]
push eax
call fcn.005fdcf6
add esp, 4
mov eax, dword [esi + 0x3e8]
inc edi
cmp edi, eax
jl 0x4bb3f8
mov eax, dword [esi + 0x3f0]
push eax
call fcn.005fdcf6
add esp, 4
mov eax, dword [esi + 0x3e0]
mov byte [ebp - 4], 6
cmp eax, ebx
mov dword [esi + 0x3d4], 0x647bf0
je 0x4bb462
push eax
call fcn.005fdcf6
add esp, 4
lea ecx, [esi + 0x398]
mov byte [ebp - 4], 5
call fcn.00500c20
lea ecx, [esi + 0x2f8]
mov byte [ebp - 4], 4
call fcn.004203c0
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 3
call fcn.00523f20
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 0x4bb4b2
push eax
call fcn.005fdcf6
add esp, 4
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 1
call fcn.0050c8f0
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0
call fcn.004328c0
lea ecx, [esi + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.005d5b10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret