Function at 0x100b68c
Capabilities:
Copy file
Delete registry value
Persist via app paths registry key
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1e10
call fcn.0100e440
mov eax, dword [0x10140d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1dd8], eax
mov eax, dword [ebp + 0x24]
lea ecx, [ebp - 0x15b4]
mov dword [ebp - 0x1de8], edi
mov dword [ebp - 0x1e0c], eax
call fcn.010103d7
xor esi, esi
push edi
lea ecx, [ebp - 0x1dd0]
mov dword [ebp - 0x1df4], esi
mov dword [ebp - 0x1e04], esi
mov dword [ebp - 0x1de0], esi
mov dword [ebp - 0x1dec], esi
mov dword [ebp - 0x1df8], esi
call fcn.0100f4f8
lea eax, [ebp - 0x1bbc]
push eax
lea eax, [ebp - 0x1bc6]
push eax
push 0x10028fc
push 0x900
push esi
push esi
mov edi, 0x105
push edi
push 0x1014470
call fcn.01011c3f
add esp, 0x20
cmp eax, esi
mov dword [ebp - 0x1dd4], eax
jl 0x100c2c6
push ebx
push edi
lea eax, [ebp - 0xc48]
push eax
push 0xd2
push dword [ebp - 0x1dd8]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [ebp - 0x1de8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
lea eax, [ebp - 0x210]
push eax
push 0x10017d4
push 0x1002c74
push 0x1002c64
call ebx
push dword [ebp - 0x1de8]
lea eax, [ebp - 0xa3c]
push edi
push eax
push 0x10017d4
push 0x1002c48
push 0x1002c64
call ebx
xor eax, eax
cmp ax, word [ebp - 0x210]
je 0x100c2bb
cmp ax, word [ebp - 0xa3c]
je 0x100c2bb
push dword [ebp - 0x1de8]
push esi
push 0x1002c18
push 0x1002c30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x15b4]
mov ebx, eax
call fcn.010104a6
test eax, eax
jne 0x100b7fb
cmp ebx, 5
jb 0x100b7fb
push edi
lea eax, [ebp - 0x830]
push eax
push 0x12c
push dword [ebp - 0x1dd8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x10
jmp 0x100c2a6
call fcn.01008f5a
test eax, eax
jne 0x100b815
call fcn.01008f48
test eax, eax
jne 0x100b815
mov dword [ebp - 0x1e00], esi
jmp 0x100b87e
lea eax, [ebp - 0x1de0]
push eax
push 0x20019
push esi
xor ebx, ebx
push 0x10036e8
inc ebx
push 0x80000001
mov dword [ebp - 0x1e00], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b876
lea eax, [ebp - 0x1e08]
push eax
lea eax, [ebp - 0x1e00]
push eax
push esi
push esi
push 0x10036b8
push dword [ebp - 0x1de0]
mov dword [ebp - 0x1e08], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1de0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1e00], esi
jne 0x100b8c0
push 0x209
lea eax, [ebp - 0x830]
push eax
push 0xea
push dword [ebp - 0x1dd8]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x1dd4], 0x80070005
jmp 0x100c2c5
push dword [ebp + 0x18]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1df0]
push dword [ebp - 0x1de8]
push eax
lea eax, [ebp - 0x1e10]
push eax
push dword [ebp - 0x1dd8]
call fcn.0100a971
test eax, eax
je 0x100c2bb
lea eax, [ebp - 0x15b4]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0xe54]
push edi
push eax
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x1dd8]
call fcn.0100a29e
mov dword [ebp - 0x1ddc], eax
cmp eax, 0xffffffff
jne 0x100b935
mov dword [ebp - 0x1dd4], ebx
jmp 0x100c2c5
lea eax, [ebp - 0xa3c]
push eax
push 0x1014470
push 0x1003194
push 0x900
push esi
push esi
mov ebx, 0x209
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.01011c3f
add esp, 0x20
cmp eax, esi
mov dword [ebp - 0x1dd4], eax
jl 0x100c2c5
push dword [ebp + 0x18]
lea eax, [ebp - 0x1df8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0x1dd8]
call fcn.0100b2e5
cmp eax, esi
mov dword [ebp - 0x1dd4], eax
jl 0x100c2c5
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x1e04]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp - 0x1ddc]
push eax
lea eax, [ebp - 0x1de4]
push eax
push dword [ebp - 0x1dd8]
call fcn.0100ae6e
test eax, eax
je 0x100bb1d
push 0x20a
lea eax, [ebp - 0x41c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x1dd8]
lea eax, [ebp - 0x41c]
push edi
push eax
cmp dword [ebp - 0x1de4], esi
je 0x100ba11
call fcn.01006852
test eax, eax
jne 0x100ba25
jmp 0x100c2bb
call fcn.01008064
xor eax, eax
cmp ax, word [ebp - 0x41c]
je 0x100c2bb
lea eax, [ebp - 0xa3c]
push eax
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x100369c
push 0x900
push esi
push esi
lea eax, [ebp - 0x1478]
push edi
push eax
call fcn.01011c3f
add esp, 0x24
cmp eax, esi
mov dword [ebp - 0x1dd4], eax
jl 0x100c2c5
push dword [ebp + 0x18]
lea eax, [ebp - 0xe54]
push eax
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x1478]
push eax
push dword [ebp - 0x1dd8]
call fcn.0100af5e
test eax, eax
je 0x100bb1d
cmp dword [ebp - 0x1df0], esi
je 0x100baa8
push 0x1014470
push dword [ebp - 0x1dd8]
call fcn.0100d004
cmp dword [ebp - 0x1ddc], esi
je 0x100baf6
cmp word [ebp - 0xe54], si
je 0x100bad8
lea eax, [ebp - 0xe54]
push eax
call fcn.01006cdb
push esi
lea eax, [ebp - 0xe54]
push eax
push dword [ebp - 0x1dd8]
call fcn.0100d9cb
cmp dword [ebp - 0x1de4], esi
je 0x100bb2c
mov dword [ebp - 0x1df0], 0x80000002
mov dword [ebp - 0x1dfc], 0x1001278
jmp 0x100bb40
push dword [ebp + 0x18]
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x1de4]
push dword [ebp - 0x1dd8]
call fcn.0100a044
cmp eax, 0xffffffff
jne 0x100bad8
mov dword [ebp - 0x1dd4], 1
jmp 0x100c2c5
mov dword [ebp - 0x1df0], 0x80000001
mov dword [ebp - 0x1dfc], 0x1002ba8
xor eax, eax
cmp ax, word [ebp - 0x41c]
je 0x100c28c
lea eax, [ebp - 0x41c]
push eax
push dword [0x1014680]
call fcn.010106ef
cmp dword [ebp - 0x1de4], esi
je 0x100bb84
lea ecx, [ebp - 0x15b4]
call fcn.010104a6
test eax, eax
jne 0x100bb84
lea eax, [ebp - 0x41c]
push eax
call fcn.01010b55
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x1003690
push 0x900
push esi
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.01011c3f
add esp, 0x20
cmp eax, esi
mov dword [ebp - 0x1dd4], eax
jl 0x100c2c5
lea eax, [ebp - 0x830]
push eax
push dword [0x1014680]
call fcn.010106ef
mov eax, dword [0x1014680]
cmp eax, esi
je 0x100bc17
mov ecx, dword [eax]
lea edx, [ebp - 0x41c]
push edx
xor edx, edx
cmp dword [ebp - 0x1df0], 0x80000002
push 0x1002b54
push dword [ebp - 0x1dfc]
sete dl
push edx
push eax
call dword [ecx + 0x28]
cmp eax, esi
mov dword [ebp - 0x1dd4], eax
jge 0x100bcb9
push 0x209
jmp 0x100c28d
lea eax, [ebp - 0x1de0]
push eax
push dword [ebp - 0x1dfc]
push dword [ebp - 0x1df0]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100c28c
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
mov dword [ebp - 0x1e08], eax
lea eax, [ebp - 0x41c]
push eax
push 1
push esi
push 0x1002b54
push dword [ebp - 0x1de0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100bcad
push ebx
lea eax, [ebp - 0x830]
push eax
push 0xd3
push dword [ebp - 0x1dd8]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x1de0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100c2bb
push dword [ebp - 0x1de0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
lea eax, [ebp - 0xc48]
push eax
cmp dword [ebp - 0x1de4], esi
je 0x100bd29
push 0x100315c
push dword [ebp - 0x1de8]
push dword [0x1014680]
call fcn.010107fe
cmp eax, 0xbc2
jne 0x100bcf2
mov dword [ebp - 0x1df4], 1
push dword [ebp + 0x18]
lea eax, [ebp - 0xc48]
push eax
push 0x1003670
push dword [ebp - 0x1de8]
push dword [0x1014680]
call fcn.010107fe
cmp eax, 0xbc2
jne 0x100bda3
mov dword [ebp - 0x1df4], 1
jmp 0x100bda3
push 0x100363c
push dword [ebp - 0x1de8]
push dword [0x1014680]
call fcn.010107fe
cmp eax, 0xbc2
jne 0x100bd50
mov dword [ebp - 0x1df4], 1
push dword [ebp + 0x18]
lea eax, [ebp - 0xc48]
push eax
push 0x100361c
push dword [ebp - 0x1de8]
push dword [0x1014680]
call fcn.010107fe
cmp eax, 0xbc2
jne 0x100bd81
mov dword [ebp - 0x1df4], 1
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.010097ce
test eax, eax
je 0x100c28c
cmp dword [ebp - 0x1e10], esi
je 0x100bf1c
push 0x1014470
push 0x1003608
push 0x900
push esi
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.01011c3f
add esp, 0x1c
cmp eax, esi
jl 0x100bf1c
lea eax, [ebp - 0x830]
push eax
push 0x1014470
push dword [0x1014680]
call fcn.01010949
cmp eax, esi
mov dword [ebp - 0x1ddc], eax
jl 0x100bf1c
xor eax, eax
push 0x208
mov word [ebp - 0x126c], ax
lea eax, [ebp - 0x126a]
push esi
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push 0x208
mov word [ebp - 0x1060], ax
lea eax, [ebp - 0x105e]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x15b4]
call fcn.01010473
test eax, eax
je 0x100bf06
push 0x10035ec
lea eax, [ebp - 0x830]
push eax
push 0x10028fc
push 0x900
push esi
push esi
lea eax, [ebp - 0x1060]
push edi
push eax
call fcn.01011c3f
push 0x10035ec
push 0x1014470
push 0x10028fc
push 0x900
push esi
push esi
lea eax, [ebp - 0x126c]
push edi
push eax
call fcn.01011c3f
add esp, 0x40
push esi
lea eax, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x126c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.0100a893
lea eax, [ebp - 0x830]
push eax
call fcn.01009c31
cmp eax, esi
mov dword [ebp - 0x1ddc], eax
jge 0x100befb
cmp dword [ebp + 0x18], esi
jne 0x100bf06
push ebx
lea eax, [ebp - 0x830]
push eax
push 0xec
push dword [ebp - 0x1dd8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x100bf06
call fcn.01009342
mov dword [ebp - 0x1ddc], eax
cmp dword [ebp - 0x1ddc], 0xbc2
jne 0x100bf1c
mov dword [ebp - 0x1df4], 1
mov edi, dword [ebp - 0x1de4]
push edi
lea eax, [ebp - 0x1dec]
push eax
lea eax, [ebp - 0x41c]
push eax
push dword [0x1014680]
call fcn.010065f8
test eax, eax
je 0x100c2bb
lea eax, [ebp - 0x1478]
push eax
push dword [ebp - 0x1dec]
lea eax, [ebp - 0x210]
push eax
push dword [0x1014680]
call fcn.0100894d
test eax, eax
je 0x100c2bb
cmp edi, esi
je 0x100bf94
call sub.cmutil.dll_GetOSVersion
cmp eax, 2
jne 0x100bf83
call sub.cmutil.dll_GetOSMajorVersion
cmp eax, 6
jae 0x100bf94
push dword [ebp - 0x1dec]
push dword [0x1014680]
call fcn.01010bdd
mov eax, edi
neg eax
sbb eax, eax
and eax, 9
add eax, 0x10
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x1dd8]
push dword [0x101467c]
call fcn.010087f4
cmp dword [ebp - 0x1e04], esi
je 0x100bfda
push edi
push dword [ebp - 0x1dec]
lea eax, [ebp - 0x210]
push eax
push dword [0x101467c]
call fcn.01007a9f
cmp dword [ebp + 0x20], esi
je 0x100bfeb
lea eax, [ebp - 0x210]
push eax
call fcn.0100b5af
cmp dword [ebp - 0x1df8], esi
je 0x100c0b6
lea ecx, [ebp - 0x15b4]
call fcn.01010455
test eax, eax
je 0x100c0b6
push dword [ebp - 0x1df8]
mov dword [ebp - 0x1dd4], 0x80004005
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x100
jg 0x100c2c5
push 0x42c
call sub.cmutil.dll_CmMalloc
mov edi, eax
cmp edi, esi
jne 0x100c04a
mov dword [ebp - 0x1dd4], 0x8007000e
jmp 0x100c2c5
push 0x900
push esi
push esi
push dword [ebp - 0x1df8]
mov dword [edi], 0x42c
mov dword [edi + 4], 0x10
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0x1df8]
lea eax, [edi + 0x20a]
push 0x101
push eax
call fcn.01011b73
push esi
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x1dec]
push dword [0x1014680]
call fcn.01009244
push edi
test eax, eax
je 0x100c0ab
call sub.cmutil.dll_CmFree
jmp 0x100c2c5
call sub.cmutil.dll_CmFree
mov dword [ebp - 0x1dd4], esi
mov eax, 0x10035d4
cmp dword [ebp - 0x1de4], esi
jne 0x100c0c8
mov eax, 0x10035ac
push dword [ebp + 0x18]
lea ecx, [ebp - 0xc48]
push ecx
push eax
push dword [ebp - 0x1de8]
push dword [0x1014680]
call fcn.010107fe
cmp eax, 0xbc2
jne 0x100c0f5
mov dword [ebp - 0x1df4], 1
mov eax, dword [0x1014680]
cmp eax, esi
je 0x100c121
mov ecx, dword [eax]
xor edx, edx
cmp dword [ebp - 0x1df0], 0x80000002
push 0x1002b54
push dword [ebp - 0x1dfc]
sete dl
push edx
push eax
call dword [ecx + 0x2c]
jmp 0x100c161
lea eax, [ebp - 0x1de0]
push eax
push 0xf003f
push esi
push dword [ebp - 0x1dfc]
push dword [ebp - 0x1df0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100c161
push 0x1002b54
push dword [ebp - 0x1de0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x1de0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.01006f3b
cmp dword [ebp - 0x1df4], esi
je 0x100c1cd
push ebx
lea eax, [ebp - 0x830]
push eax
push 0xdc
push dword [ebp - 0x1dd8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x400
push 0x10034
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxExW]
cmp eax, 6
jne 0x100c2c5
mov eax, dword [0x1014680]
cmp eax, esi
je 0x100c1c3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
jmp 0x100c2c5
call fcn.01009000
jmp 0x100c2c5
cmp dword [ebp + 0x18], esi
jne 0x100c2c5
mov ecx, dword [ebp - 0x1e0c]
call fcn.0100d536
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x1002fd0
push 0x900
push esi
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.01011c3f
add esp, 0x20
test eax, eax
jl 0x100c2c5
mov eax, dword [0x101467c]
cmp eax, esi
je 0x100c26b
lea edx, [ebp - 0x1ddc]
push edx
push 0x1002d38
mov dword [ebp - 0x1ddc], esi
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x100c26b
push dword [ebp - 0x1de4]
mov eax, dword [ebp - 0x1ddc]
push dword [ebp - 0x1dec]
mov ecx, dword [eax]
lea edx, [ebp - 0x210]
push edx
lea edx, [ebp - 0x830]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x1ddc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100c2c5
push dword [ebp - 0x1de4]
lea eax, [ebp - 0x210]
push dword [ebp - 0x1dec]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.010080aa
jmp 0x100c2c5
push ebx
lea eax, [ebp - 0x830]
push eax
push 0xd3
push dword [ebp - 0x1dd8]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x830]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x1dd4], 0x80004005
pop ebx
push dword [ebp - 0x1df8]
call sub.cmutil.dll_CmFree
push dword [ebp - 0x1dec]
call sub.cmutil.dll_CmFree
call fcn.010091d9
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1dd4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100e410
leave
ret 0x20