Function at 0x4a54b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579bdf
mov eax, dword fs:[0]
push eax
sub esp, 0x99c
mov eax, dword [0x5c4680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x984], ecx
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x988], ecx
cmp dword [ebp - 0x988], 4
ja case.0x4a5503.1
mov edx, dword [ebp - 0x988]
jmp dword [edx*4 + 0x4a5dcc]
push 0
push 0
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
add ecx, 8
call fcn.004101d0
mov ecx, eax
call fcn.004af9a0
jmp case.0x4a5503.1
mov ecx, dword [ebp - 0x984]
cmp dword [ecx + 0x4c], 0
jne 0x4a5542
mov dword [ebp - 0x98c], 0
jmp 0x4a555d
mov edx, dword [ebp - 0x984]
imul eax, dword [edx + 0x50], 0x64
mov ecx, dword [ebp - 0x984]
xor edx, edx
div dword [ecx + 0x4c]
mov dword [ebp - 0x98c], eax
mov edx, dword [ebp - 0x98c]
mov dword [ebp - 0x998], edx
mov eax, dword [ebp - 0x998]
push eax
push 2
mov ecx, dword [ebp - 0x984]
mov ecx, dword [ecx]
add ecx, 8
call fcn.004101d0
mov ecx, eax
call fcn.004af9a0
jmp case.0x4a5503.1
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.005339f0
add esp, 0xc
push 0x58111c
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
add ecx, 0x1c
call fcn.00403d90
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x984]
mov eax, dword [edx]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4a5642
push 0
lea edx, [ebp - 0x890]
push edx
call fcn.0048e680
add esp, 8
mov dword [ebp - 4], 0
push 0x5a85ac
lea ecx, [ebp - 0x890]
call fcn.0041e110
push str.b...
lea ecx, [ebp - 0x890]
call fcn.0041e110
push 1
push 0
push 0
lea ecx, [ebp - 0x890]
call fcn.00403d90
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0048e260
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.00403c70
push str.b...
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a6160
add esp, 8
push 0
lea edx, [ebp - 0x878]
push edx
call fcn.00403730
add esp, 8
mov dword [ebp - 4], 1
push 0x581148
lea ecx, [ebp - 0x878]
call fcn.0041e110
mov ecx, eax
call fcn.00403d90
push eax
call fcn.004039f0
add esp, 4
push str.data.ini
lea ecx, [ebp - 0x878]
call fcn.0041e110
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
movzx edx, byte [ecx + 0x19]
test edx, edx
je 0x4a56ba
mov dword [ebp - 0x990], 0x581174
jmp 0x4a56c4
mov dword [ebp - 0x990], 0x581178
lea ecx, [ebp - 0x878]
call fcn.00403d90
push eax
mov eax, dword [ebp - 0x990]
push eax
push 0x58117c
push str.upgrade
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
lea ecx, [ebp - 0x8f0]
push ecx
call fcn.00403730
add esp, 8
mov byte [ebp - 4], 2
push str.jiebangbangconfig.ini
lea ecx, [ebp - 0x8f0]
call fcn.0041e110
lea ecx, [ebp - 0x8f0]
call fcn.00403d90
push eax
push 0x581174
push str.first
push str.install
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [ebp - 0x920]
push edx
call fcn.0048e5d0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x920]
call fcn.00403d90
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.0049ee90
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x984]
mov edx, dword [ecx]
add edx, 0x1c
push edx
lea ecx, [ebp - 0x860]
call fcn.00418510
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
add ecx, 0x1c
call fcn.0041a9b0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x984]
mov ecx, dword [ecx]
add ecx, 0x1c
call fcn.00403c20
movzx edx, word [eax]
cmp edx, 0x5c
je 0x4a57d2
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
add ecx, 0x1c
call fcn.0041a9b0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x984]
mov ecx, dword [ecx]
add ecx, 0x1c
call fcn.00403c20
movzx edx, word [eax]
cmp edx, 0x2f
jne 0x4a57e6
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x860]
call fcn.00408180
jmp 0x4a5838
lea ecx, [ebp - 0x848]
push ecx
push 0x5a85ac
lea edx, [ebp - 0x968]
push edx
call fcn.00484e10
add esp, 0xc
mov dword [ebp - 0x99c], eax
mov eax, dword [ebp - 0x99c]
mov dword [ebp - 0x9a0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x9a0]
push ecx
lea ecx, [ebp - 0x860]
call fcn.00408180
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x968]
call fcn.00403c70
push str.jiebangbang.exe
push 0x5a85ac
lea edx, [ebp - 0x860]
push edx
lea eax, [ebp - 0x980]
push eax
call fcn.00471d60
add esp, 0xc
mov dword [ebp - 0x9a4], eax
mov ecx, dword [ebp - 0x9a4]
mov dword [ebp - 0x9a8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x9a8]
push edx
lea eax, [ebp - 0x8d8]
push eax
call fcn.0041db00
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x980]
call fcn.00403c70
mov ecx, dword [ebp - 0x984]
mov ecx, dword [ecx]
add ecx, 0x1c
call fcn.0041a9b0
shl eax, 1
push eax
mov edx, dword [ebp - 0x984]
mov ecx, dword [edx]
add ecx, 0x1c
call fcn.00403d90
push eax
push 1
push 0x581204
push 0x58121c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
add ecx, 0x34
call fcn.0041a9b0
shl eax, 1
push eax
mov ecx, dword [ebp - 0x984]
mov ecx, dword [ecx]
add ecx, 0x34
call fcn.00403d90
push eax
push 1
push 0x581248
push 0x58121c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x8d8]
call fcn.0041a9b0
shl eax, 1
push eax
lea ecx, [ebp - 0x8d8]
call fcn.00403d90
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalljiebangbang
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x5812e8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push 0x5812e8
push 1
push str.DisplayName
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalljiebangbang
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x848]
call fcn.0041a9b0
shl eax, 1
push eax
lea ecx, [ebp - 0x848]
call fcn.00403d90
push eax
push 1
push str.DisplayVersion
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalljiebangbang
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x984]
mov ecx, dword [edx]
add ecx, 0x1c
call fcn.0041a9b0
shl eax, 1
push eax
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
add ecx, 0x1c
call fcn.00403d90
push eax
push 1
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalljiebangbang
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x5a6998
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push 0x5a6998
push 1
push str.Publisher
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalljiebangbang
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
push 0
lea ecx, [ebp - 0x628]
push ecx
call fcn.005339f0
add esp, 0xc
push str.Uninstall.exe
lea ecx, [ebp - 0x860]
call fcn.00403d90
push eax
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea ecx, [ebp - 0x628]
push ecx
push 1
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalljiebangbang
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x984]
mov eax, dword [edx]
movzx ecx, byte [eax + 0x1a]
test ecx, ecx
je 0x4a5a78
mov dword [ebp - 0x994], 0x581174
jmp 0x4a5a82
mov dword [ebp - 0x994], 0x581178
lea ecx, [ebp - 0x878]
call fcn.00403d90
push eax
mov edx, dword [ebp - 0x994]
push edx
push 0x581380
push str.login_run
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
movzx edx, byte [ecx + 0x1a]
test edx, edx
je 0x4a5b94
push 0x208
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.005339f0
add esp, 0xc
push 0x58111c
mov ecx, dword [ebp - 0x984]
mov ecx, dword [ecx]
add ecx, 0x1c
call fcn.00403d90
push eax
lea edx, [ebp - 0x830]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str._auto
lea eax, [ebp - 0x830]
push eax
push 0x581148
call fcn.0047a670
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.005339f0
add esp, 0xc
lea ecx, [ebp - 0x848]
call fcn.00403d90
push eax
mov edx, dword [ebp - 0x984]
mov ecx, dword [edx]
add ecx, 0x1c
call fcn.00403d90
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.Service.exe
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.JiebangbangService
call fcn.00478570
push str.JiebangbangService
call fcn.004784e0
push 0x10
push 1
push 2
lea eax, [ebp - 0x218]
push eax
push 0x5812e8
push str.JiebangbangService
call fcn.00478800
lea ecx, [ebp - 0x8c0]
call fcn.0042b2d0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8a8]
call fcn.0042b2d0
mov byte [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x8c0]
push ecx
mov edx, dword [ebp - 0x984]
mov eax, dword [edx]
add eax, 0x34
push eax
call fcn.00404330
add esp, 0xc
push 0
lea ecx, [ebp - 0x8a8]
push ecx
lea edx, [ebp - 0x848]
push edx
call fcn.00404330
add esp, 0xc
lea ecx, [ebp - 0x908]
call fcn.0042b2d0
mov byte [ebp - 4], 0xc
push 0x5813e8
lea ecx, [ebp - 0x938]
call fcn.004022c0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x908]
push eax
lea ecx, [ebp - 0x938]
push ecx
lea edx, [ebp - 0x8a8]
push edx
lea eax, [ebp - 0x8c0]
push eax
lea ecx, [ebp - 0x950]
push ecx
call fcn.0048eeb0
add esp, 0x14
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x938]
call fcn.00402270
push 0x64
push 3
mov edx, dword [ebp - 0x984]
mov ecx, dword [edx]
add ecx, 8
call fcn.004101d0
mov ecx, eax
call fcn.004af9a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x950]
call fcn.00402270
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x908]
call fcn.00402270
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8a8]
call fcn.00402270
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c0]
call fcn.00402270
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8d8]
call fcn.00403c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x860]
call fcn.00403c70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x848]
call fcn.00403c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x920]
call fcn.00403c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8f0]
call fcn.00403c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x878]
call fcn.00403c70
jmp case.0x4a5503.1
push 0
push 4
mov eax, dword [ebp - 0x984]
mov ecx, dword [eax]
add ecx, 8
call fcn.004101d0
mov ecx, eax
call fcn.004af9a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005313f0
mov esp, ebp
pop ebp
ret