Function at 0x4458e7
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
push ecx
lea ecx, [ebp - 0x54]
call fcn.0042e48d
mov eax, dword [ebp + 8]
xor edi, edi
mov byte [ebp - 4], 0xff
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], edi
lea eax, [ebp + 8]
push eax
call fcn.00427312
mov esi, dword [ebp + 8]
mov ax, word [esi]
cmp ax, 0x2d
pop ecx
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
mov dword [ebp - 0x28], edi
mov cl, 0x2a
jne 0x445937
mov cl, al
movsx ebx, cl
movzx eax, ax
jmp 0x4459f3
movzx eax, word [esi + 2]
cmp ebx, eax
jne 0x4459fb
xor eax, eax
lea ecx, [esi + 4]
mov ax, word [ecx]
mov edx, eax
and dx, 0xffdf
cmp dx, 0x48
je 0x4459fb
call fcn.00402a89
test al, al
jne 0x4459fb
mov esi, ecx
push 1
push esi
push 0x4875a4
mov dword [ebp + 8], esi
call fcn.00428263
add esp, 0xc
test al, al
lea eax, [ebp + 8]
je 0x4459c9
push eax
add esi, 2
call fcn.00403cc8
cmp word [esi], 0x3a
pop ecx
je 0x4459a6
or dword [ebp - 0x28], 7
jmp 0x4459ed
lea eax, [ebp - 0x38]
push eax
inc esi
lea eax, [ebp - 0x40]
inc esi
push eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], esi
call fcn.0042f0d0
test eax, eax
pop ecx
pop ecx
jle 0x4459ed
mov eax, dword [ebp - 0x38]
or dword [ebp - 0x28], eax
jmp 0x4459ed
push 2
push eax
push 0x4875a0
call fcn.0042e2da
add esp, 0xc
test al, al
je 0x4459e3
mov byte [ebp - 3], 1
jmp 0x4459ed
lea eax, [ebp + 8]
push eax
call fcn.00403cc8
pop ecx
mov esi, dword [ebp + 8]
movzx eax, word [esi]
cmp ebx, eax
je 0x445942
lea ecx, [ebp - 0x10]
call fcn.0042c809
lea ecx, [ebp - 0x48]
call fcn.0042c809
lea ecx, [ebp - 0x20]
call fcn.0042c809
lea ecx, [ebp - 0x30]
call fcn.0042c809
lea ecx, [ebp - 0x2c]
call fcn.0042c809
mov ax, word [esi]
cmp ax, 0x2b
je 0x445a56
cmp ax, 0x23
je 0x445a56
cmp ax, 0x40
je 0x445a56
cmp ax, 0x24
je 0x445a56
cmp ax, 0x2a
je 0x445a56
cmp ax, 0x7e
je 0x445a56
cmp ax, 0x2e
je 0x445a56
cmp ax, 0x3f
jne 0x445a6f
mov al, byte [esi]
inc esi
inc esi
test al, al
mov byte [ebp - 1], al
mov dword [ebp + 8], esi
je 0x445a6f
movzx eax, word [esi]
movsx ecx, byte [ebp - 1]
cmp ecx, eax
je 0x445a75
cmp word [esi], 0x24
jne 0x445a7f
mov al, byte [esi]
inc esi
inc esi
mov byte [ebp - 2], al
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
push eax
call fcn.00427312
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov esi, eax
movzx eax, word [eax]
pop ecx
jmp 0x445aad
cmp ax, 0x2c
je 0x445ab2
cmp ax, 0x3d
je 0x445ab2
cmp ax, 0x21
je 0x445ab2
inc esi
inc esi
mov ax, word [esi]
cmp ax, di
jne 0x445a96
mov ax, word [esi]
cmp ax, 0x2c
je 0x445ac7
cmp ax, 0x3d
je 0x445ac7
cmp ax, 0x21
jne 0x445ad8
mov al, byte [esi]
mov word [esi], di
inc esi
inc esi
test al, al
mov byte [ebp + 0xb], al
mov dword [ebp - 0x1c], esi
jne 0x445b2a
inc byte [ebp - 4]
cmp byte [ebp - 4], 0
jg 0x445f5b
mov ecx, dword [ebp - 0x24]
push 1
push edi
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
call fcn.0043d8d6
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], eax
call fcn.00427365
lea ecx, [ebp - 0x30]
call fcn.00427365
lea ecx, [ebp - 0x20]
call fcn.00427365
lea ecx, [ebp - 0x48]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
jmp 0x44590e
push 1
push 0x2c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440941
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0042ec20
add esp, 0xc
push 0x5c
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov ebx, eax
cmp ebx, edi
je 0x445f5b
mov word [ebx], di
inc ebx
inc ebx
push 0x487598
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, edi
jne 0x445b87
push 0x5c
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, edi
je 0x445f5b
mov word [eax], di
inc eax
inc eax
cmp word [eax], 0x5c
mov dword [ebp - 0x14], eax
jne 0x445ba0
add eax, 2
cmp word [eax], di
jne 0x445ba0
mov dword [ebp - 0x14], eax
cmp byte [ebp + 0xb], 0x2c
jne 0x445ced
push 1
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440941
push edi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0042ec20
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.00402b15
cmp byte [ebp - 1], 0x2e
jne 0x445c13
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x2c
jne 0x445c13
add dword [ebp - 0x1c], 2
push 1
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00440941
push edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0042ec20
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.00402b15
mov eax, dword [ebp - 0x20]
cmp word [eax], di
jne 0x445c28
push str.RegDat
lea ecx, [ebp - 0x20]
call fcn.00436622
mov ebx, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.HKLM
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445dfb
push str.HKEY_LOCAL_MACHINE
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445dfb
push str.HKCU
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445df2
push str.HKEY_CURRENT_USER
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445df2
push str.HKCR
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445de9
push str.HKEY_CLASSES_ROOT
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445de9
push 0x4874ec
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445de0
push str.HKEY_USERS
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445de0
push str.HKCC
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x445ce1
push str.HKEY_CURRENT_CONFIG
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x445f5b
mov dword [ebp - 0xc], 0x80000005
jmp 0x445e02
cmp byte [ebp + 0xb], 0x21
je 0x445c28
cmp word [esi], di
jne 0x445d12
cmp byte [ebp - 1], 0x24
je 0x445d31
cmp byte [ebp - 1], 0x2a
je 0x445d12
cmp byte [ebp - 1], 0x7e
jne 0x445c28
cmp byte [ebp - 1], 0x24
je 0x445d31
cmp byte [ebp - 1], 0x2a
je 0x445d31
cmp byte [ebp - 1], 0x7e
je 0x445d31
lea eax, [ebp - 0x1c]
push eax
call fcn.00427312
mov esi, dword [ebp - 0x1c]
pop ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.004365ba
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], edx
call fcn.00427312
cmp byte [ebp + 0xc], 0
pop ecx
je 0x445d5b
push edx
lea ecx, [ebp - 0x30]
call fcn.00436622
jmp 0x445d6b
mov ecx, dword [ebp - 0x24]
push 1
push edi
lea eax, [ebp - 0x30]
push eax
push edx
call fcn.0043c527
mov eax, dword [ebp - 0x30]
mov ebx, eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 8], ebx
call fcn.00427312
cmp byte [ebp - 1], 0
pop ecx
jne 0x445db5
push dword [ebp - 0x38]
push 0x487498
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x445d9f
mov ebx, 0x480934
jmp 0x445dd0
mov ecx, dword [ebp + 0xc]
mov ax, word [ecx]
cmp ax, 0x23
je 0x445db1
cmp ax, 0x40
jne 0x445dd3
mov ebx, ecx
jmp 0x445dd0
cmp byte [ebp - 1], 0x23
je 0x445dc1
cmp byte [ebp - 1], 0x40
jne 0x445dd3
mov eax, dword [ebp + 0xc]
cmp word [eax], di
mov ebx, eax
mov dword [ebp - 8], ebx
jne 0x445dd3
xor ebx, ebx
mov dword [ebp - 8], ebx
lea ecx, [ebp - 0x34]
call fcn.00427365
jmp 0x445c2b
mov dword [ebp - 0xc], 0x80000003
jmp 0x445e02
mov dword [ebp - 0xc], 0x80000000
jmp 0x445e02
mov dword [ebp - 0xc], 0x80000001
jmp 0x445e02
mov dword [ebp - 0xc], 0x80000002
mov eax, dword [ebp - 0x20]
cmp word [eax], di
je 0x446257
cmp byte [ebp - 1], 0x2e
je 0x445e1d
cmp byte [ebp - 1], 0x3f
mov dword [ebp - 8], edi
jne 0x445e2a
cmp byte [ebp - 1], 0x3f
mov dword [ebp - 8], 1
je 0x445e38
cmp dword [ebp - 8], edi
je 0x445e34
cmp word [eax], di
je 0x445e38
xor ebx, ebx
jmp 0x445e3b
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x64
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x38], edi
call fcn.0042c827
lea ecx, [ebp - 0x1c]
call fcn.0042c809
cmp byte [ebp - 1], 0x2e
lea edi, [ebp - 0x1c]
je 0x445e63
lea edi, [ebp + 0xc]
push 0x1000
lea ecx, [ebp + 8]
mov dword [ebp - 0x40], edi
call fcn.0042c6b0
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x28], 0xfff
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0042fcaf
mov esi, eax
add esp, 0x18
test esi, esi
jge 0x445f0e
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp word [eax], bx
jne 0x445eca
cmp dword [ebp - 0x34], 2
jne 0x445eca
cmp esi, 0xfffffffe
jne 0x445eca
cmp dword [ebp - 8], ebx
je 0x446210
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x487494
jmp 0x445ee5
mov esi, dword [ebp - 0x34]
cmp esi, ebx
jne 0x445ed4
xor esi, esi
inc esi
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x38], esi
je 0x445ef1
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.ERROR
mov ecx, edi
call fcn.0042c8c6
jmp 0x446210
lea ecx, [ebp + 8]
call fcn.00427365
lea ecx, [ebp - 0x1c]
call fcn.00427365
lea ecx, [ebp + 0xc]
call fcn.00427365
jmp 0x44665c
cmp esi, 1
jne 0x445f76
cmp dword [ebp - 8], 0
je 0x445f31
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.REG_SZ
mov ecx, edi
call fcn.0042c8c6
test ebx, ebx
jne 0x44620e
cmp byte [ebp - 1], 0x24
je 0x445f65
cmp byte [ebp - 1], 0x2e
je 0x445f65
cmp byte [ebp - 1], 0
je 0x445f65
lea ecx, [ebp + 8]
call fcn.00427365
lea ecx, [ebp - 0x1c]
call fcn.00427365
lea ecx, [ebp + 0xc]
call fcn.00427365
mov esi, 0x80070057
jmp 0x44665c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
jmp 0x44620b
cmp esi, 0xb
jne 0x445fc2
cmp dword [ebp - 8], 0
je 0x445f99
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.REG_QWORD
mov ecx, edi
call fcn.0042c8c6
test ebx, ebx
jne 0x44620e
cmp byte [ebp - 1], 0x2b
je 0x445fa5
cmp byte [ebp - 1], 0x2e
jne 0x445f43
mov eax, dword [ebp + 8]
push str.0x_I64x
push dword [eax + 4]
push dword [eax]
push dword [ebp + 0xc]
call fcn.00436238
add esp, 0x10
jmp 0x44620b
cmp esi, 4
jne 0x446010
cmp dword [ebp - 8], 0
je 0x445fe5
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.REG_DWORD
mov ecx, edi
call fcn.0042c8c6
test ebx, ebx
jne 0x44620e
cmp byte [ebp - 1], 0x23
je 0x445ff5
cmp byte [ebp - 1], 0x2e
jne 0x445f43
mov eax, dword [ebp + 8]
push dword [eax]
push str.0x_x
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x44620b
cmp esi, 3
jne 0x4460b3
cmp dword [ebp - 8], 0
je 0x446037
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.REG_BINARY
mov ecx, edi
call fcn.0042c8c6
test ebx, ebx
jne 0x44620e
cmp byte [ebp - 1], 0x40
je 0x446047
cmp byte [ebp - 1], 0x2e
jne 0x445f43
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*4 + 6]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042c850
mov eax, dword [ebp + 0xc]
and word [eax], 0
cmp dword [ebp - 0x28], 0
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jle 0x44607d
movzx ecx, byte [esi]
push ecx
push str.0x_02X
push eax
call edi
add esp, 0xc
inc esi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
add eax, 8
inc ebx
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], eax
jle 0x44620b
movzx eax, byte [esi]
push eax
push str._0x_02X
push dword [ebp - 0x34]
call edi
add dword [ebp - 0x34], 0xa
add esp, 0xc
inc esi
inc ebx
cmp ebx, dword [ebp - 0x28]
jl 0x446092
jmp 0x44620b
cmp esi, 2
jne 0x446108
cmp dword [ebp - 8], 0
je 0x4460d6
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.REG_EXPAND_SZ
mov ecx, edi
call fcn.0042c8c6
test ebx, ebx
jne 0x44620e
cmp byte [ebp - 1], 0x7e
je 0x4460e6
cmp byte [ebp - 1], 0x2e
jne 0x445f43
cmp byte [ebp - 2], 0
je 0x445f65
mov ecx, dword [ebp - 0x24]
push 1
push 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0043d8d6
jmp 0x44620b
cmp esi, 7
jne 0x4461d9
cmp dword [ebp - 8], 0
je 0x44612f
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.REG_MULTI_SZ
mov ecx, edi
call fcn.0042c8c6
test ebx, ebx
jne 0x44620e
cmp byte [ebp - 1], 0x2a
je 0x44613f
cmp byte [ebp - 1], 0x2e
jne 0x445f43
mov esi, dword [ebp - 0x28]
shr esi, 1
lea eax, [esi*4 + 6]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042c850
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [ecx + esi*2]
jmp 0x4461cf
cmp byte [ebp - 2], 0x2a
jne 0x446190
cmp word [ecx], 0x5c
jne 0x446190
lea edx, [ecx + 2]
mov bx, word [edx]
cmp bx, 0x30
je 0x446182
cmp bx, 0x5c
je 0x446182
test bx, bx
jne 0x446190
mov word [eax], 0x5c
mov ecx, edx
mov dx, word [ecx]
inc eax
inc eax
jmp 0x446198
mov dx, word [ecx]
test dx, dx
je 0x4461a1
mov word [eax], dx
inc eax
inc eax
inc ecx
inc ecx
jmp 0x4461cf
inc ecx
inc ecx
cmp byte [ebp - 2], 0x24
jne 0x4461c1
cmp ecx, esi
jae 0x4461d3
cmp word [ecx], 0
je 0x4461d3
mov word [eax], 0xd
inc eax
inc eax
mov word [eax], 0xa
jmp 0x4461cd
mov word [eax], 0x5c
inc eax
inc eax
mov word [eax], 0x30
inc eax
inc eax
cmp ecx, esi
jb 0x44615f
and word [eax], 0
jmp 0x44620b
cmp dword [ebp - 8], 0
je 0x4461fd
push 0x32
mov ecx, edi
call fcn.0042c850
push esi
push 0x486184
push dword [edi]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test ebx, ebx
jne 0x44620e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x446208
inc eax
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x40]
xor ebx, ebx
mov eax, dword [ebp - 0x20]
cmp word [eax], bx
je 0x446224
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0042b2cd
mov eax, dword [ebp - 0x2c]
cmp word [eax], bx
je 0x446237
push dword [edi]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0042b2cd
lea ecx, [ebp + 8]
call fcn.00427365
lea ecx, [ebp - 0x1c]
call fcn.00427365
lea ecx, [ebp + 0xc]
call fcn.00427365
mov esi, dword [ebp - 0x38]
jmp 0x44665c
cmp ebx, edi
je 0x4465d4
mov al, byte [ebp - 1]
cmp al, 0x2b
je 0x44627c
test al, al
jne 0x4462e4
mov ax, word [ebx]
cmp ax, 0x2b
jne 0x44630f
inc ebx
inc ebx
mov dword [ebp - 8], ebx
cmp byte [ebp - 3], 0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
je 0x4465b4
xor ecx, ecx
mov cx, word [ebx]
mov eax, ecx
call fcn.0042c301
test al, al
je 0x445f5b
cmp cx, 0x30
jne 0x4462b7
mov ax, word [ebx + 2]
or ax, 0x20
cmp ax, 0x78
jne 0x4462b7
add ebx, 4
push ebx
call fcn.0042d18b
pop ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push 8
lea eax, [ebp - 0x44]
push eax
push 0xb
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004280f8
add esp, 0x18
mov esi, eax
jmp 0x44665c
cmp al, 0x23
je 0x44631a
cmp al, 0x40
je 0x446370
cmp al, 0x2a
je 0x446405
cmp al, 0x7e
je 0x4464a3
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push ebx
push 1
jmp 0x4462cc
cmp ax, 0x23
jne 0x446361
inc ebx
inc ebx
mov dword [ebp - 8], ebx
cmp byte [ebp - 3], 0
mov dword [ebp + 0xc], edi
je 0x446593
xor ecx, ecx
mov cx, word [ebx]
mov eax, ecx
call fcn.0042c301
test al, al
je 0x445f5b
cmp cx, 0x30
jne 0x446352
mov ax, word [ebx + 2]
or ax, 0x20
cmp ax, 0x78
jne 0x446352
add ebx, 4
push ebx
call fcn.0042d18b
pop ecx
mov dword [ebp + 0xc], eax
jmp 0x4465a7
cmp ax, 0x40
jne 0x4463f6
inc ebx
inc ebx
mov dword [ebp - 8], ebx
push dword [ebp - 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
lea ecx, [ebp + 0xc]
call fcn.0042c6b0
lea eax, [ebp - 8]
push eax
call fcn.00427312
test edi, edi
mov ebx, dword [ebp + 0xc]
pop ecx
jle 0x44656f
mov eax, dword [ebp - 8]
mov cx, word [eax]
test cx, cx
je 0x44656f
and dword [ebp - 0x44], 0
and dword [ebp - 0x40], 0
cmp byte [ebp - 3], 0
je 0x446551
cmp cx, 0x30
jne 0x4463d6
mov cx, word [eax + 2]
or cx, 0x20
cmp cx, 0x78
jne 0x4463d6
add eax, 4
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042d250
lea eax, [ebp - 8]
push eax
call fcn.00427312
add esp, 0x10
jmp 0x446560
cmp ax, 0x2a
jne 0x446497
inc ebx
inc ebx
mov dword [ebp - 8], ebx
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0xc]
xor ebx, ebx
call fcn.0042c827
mov edx, dword [ebp + 0xc]
lea esi, [edi + esi*2]
cmp edi, esi
mov eax, edi
jae 0x446467
and word [edx], 0
cmp byte [ebp - 2], 0x2a
jne 0x44650c
cmp word [eax], 0x5c
jne 0x44652e
lea ecx, [eax + 2]
cmp word [ecx], 0x5c
jne 0x44652e
mov eax, ecx
mov cx, word [eax]
mov word [edx], cx
inc edx
inc edx
inc eax
inc eax
xor ebx, ebx
cmp eax, esi
jb 0x44642b
cmp ebx, 2
jge 0x446480
push 2
pop esi
sub esi, ebx
xor eax, eax
mov ecx, esi
shr ecx, 1
mov edi, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
add ebx, esi
lea edx, [edx + esi*2]
push 2
pop eax
sub eax, ebx
lea eax, [edx + eax*2]
and word [eax], 0
sub eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push 7
jmp 0x4464f4
cmp ax, 0x7e
jne 0x446300
inc ebx
inc ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
lea ecx, [ebp + 0xc]
call fcn.0042c827
cmp word [ebx], di
mov eax, dword [ebp + 0xc]
mov ecx, ebx
je 0x4464e4
mov dx, word [ecx]
cmp dx, 0x5c
jne 0x4464d8
cmp word [ecx + 2], 0x30
jne 0x4464d8
mov word [eax], di
inc eax
inc eax
add ecx, 4
jmp 0x4464df
mov word [eax], dx
inc eax
inc eax
inc ecx
inc ecx
cmp word [ecx], di
jne 0x4464be
mov word [eax], di
sub eax, dword [ebp + 0xc]
sar eax, 1
shl eax, 1
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004280f8
add esp, 0x18
mov esi, eax
jmp 0x445f01
cmp byte [ebp - 2], 0x24
jne 0x44652e
cmp word [eax], 0xd
jne 0x44652e
cmp word [eax + 2], 0xa
jne 0x44652e
and word [edx], 0
add eax, 4
inc edx
inc edx
inc ebx
jmp 0x44645e
mov cx, word [eax]
cmp cx, 0x5c
jne 0x446455
cmp word [eax + 2], 0x30
jne 0x446455
and word [edx], 0
inc edx
inc edx
add eax, 4
jmp 0x446528
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042eff2
pop ecx
pop ecx
mov al, byte [ebp - 0x44]
mov byte [ebx + esi], al
inc esi
cmp esi, edi
jl 0x44639b
push esi
push ebx
push 3
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004280f8
add esp, 0x18
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.00427365
jmp 0x44665c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042f0d0
cmp eax, 1
pop ecx
pop ecx
jl 0x4465cc
push 4
lea eax, [ebp + 0xc]
push eax
push 4
jmp 0x4462cc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042eff2
cmp eax, 1
pop ecx
pop ecx
jge 0x4462c4
xor esi, esi
inc esi
jmp 0x44665c
cmp byte [ebp + 0xb], 0x21
jne 0x446606
mov eax, dword [ebp - 0x14]
cmp word [eax], di
jne 0x446606
cmp dword [ebp - 0x28], edi
je 0x4465f7
push dword [ebp - 0x28]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0042e184
jmp 0x446650
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004379f3
pop ecx
pop ecx
jmp 0x446653
cmp dword [ebp - 0x28], edi
je 0x446642
push edi
lea eax, [ebp + 0xc]
push eax
movzx eax, word [0x496b68]
push edi
or eax, 0x2001b
push eax
push edi
push edi
push edi
push dword [ebp - 0x18]
mov dword [ebp + 0xc], edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp + 0xc], edi
mov esi, eax
je 0x446655
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x446655
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0042816f
add esp, 0xc
mov esi, eax
cmp esi, 2
jne 0x44665c
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.00427365
lea ecx, [ebp - 0x30]
call fcn.00427365
lea ecx, [ebp - 0x20]
call fcn.00427365
lea ecx, [ebp - 0x48]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
lea ecx, [ebp - 0x3c]
call fcn.00427365
lea ecx, [ebp - 0x54]
call fcn.00427365
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8