Function at 0x10021945
Capabilities:
Delete registry key

Disassembly:
push 0x11c
mov eax, 0x10076d1a
call fcn.1004e336
xor edi, edi
lea esi, [ecx + 8]
mov ebx, edi
mov dword [ebp - 0xf4], ebx
cmp dword [esi + 0x14], 8
jb 0x1002196b
mov eax, dword [esi]
jmp 0x1002196d
mov eax, esi
push eax
lea ecx, [ebp - 0x110]
call fcn.10021687
pop ecx
mov dword [ebp - 4], edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x110]
mov eax, dword [ecx]
mov dword [ebp - 0x104], eax
cmp eax, ecx
je 0x10021fa1
add eax, 0x10
cmp dword [eax + 0x14], 8
jb 0x100219b2
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x100219bc
mov ecx, dword [esi]
jmp 0x100219be
mov ecx, esi
push eax
push ecx
lea eax, [ebp - 0x58]
push str._ls_ls
push eax
call fcn.100324b2
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.1000970b
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.100065b4
push 8
pop edi
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push str.filePath
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov edx, 0x80000002
call fcn.100327e4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0xf0]
push str.procName
cmovae eax, dword [ebp - 0x28]
mov edx, 0x80000002
push eax
call fcn.100327e4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0xd8]
push str.approach
cmovae eax, dword [ebp - 0x28]
mov edx, 0x80000002
push eax
call fcn.100327e4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0xc0]
push str.details
cmovae eax, dword [ebp - 0x28]
mov edx, 0x80000002
push eax
call fcn.100327e4
cmp dword [ebp - 0x14], edi
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add esp, 0x1c
push str.transferType
call fcn.10032725
cmp dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x108], eax
cmovae ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, eax
xor eax, eax
cmp word [edi], ax
je 0x10021f49
add edi, 2
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
call fcn.1002fef9
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0x128]
xor eax, eax
mov dword [ebp - 0xfc], edx
push eax
push eax
call fcn.10039ec1
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x90]
call fcn.1000587d
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10003a11
sub esp, 0x10
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.1003910e
push str.ft_name
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xa
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1003932a
xor eax, eax
lea ecx, [ebp - 0x58]
push eax
push 1
call fcn.10001805
xor eax, eax
mov byte [ebp - 4], 7
push eax
push 1
lea ecx, [ebp - 0x90]
call fcn.100065b4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10003a11
sub esp, 0x10
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.1003910e
push str.__ft_path
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xc
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.1003932a
xor eax, eax
lea ecx, [ebp - 0x58]
push eax
push 1
call fcn.10001805
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf8], esp
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
call fcn.10039075
push str.ft_size
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xd
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1003932a
push edi
lea ecx, [ebp - 0x90]
call fcn.1000587d
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10003a11
sub esp, 0x10
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.1003910e
push str.ft_ext
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x10
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.1003932a
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.10001805
push edi
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 7
call fcn.100065b4
cmp dword [ebp - 0x108], edi
jne 0x10021c9e
push str._nN_O
lea ecx, [ebp - 0x58]
call fcn.1000587d
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x78]
or ebx, 1
push eax
mov dword [ebp - 0xf4], ebx
call fcn.10003a11
pop ecx
pop ecx
mov dword [ebp - 4], 0x12
or ebx, 2
jmp 0x10021cdd
push 0x1008bfd4
lea ecx, [ebp - 0x90]
call fcn.1000587d
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xa8]
or ebx, 4
push eax
mov dword [ebp - 0xf4], ebx
call fcn.10003a11
pop ecx
pop ecx
mov dword [ebp - 4], 0x14
or ebx, 8
sub esp, 0x18
mov dword [ebp - 0xf4], ebx
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.1003910e
push str.ft_type
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0x15
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.1003932a
test bl, 8
je 0x10021d32
push edi
and ebx, 0xfffffff7
lea ecx, [ebp - 0xa8]
push 1
mov dword [ebp - 0xf4], ebx
call fcn.10001805
test bl, 4
je 0x10021d4e
push edi
and ebx, 0xfffffffb
lea ecx, [ebp - 0x90]
push 1
mov dword [ebp - 0xf4], ebx
call fcn.100065b4
test bl, 2
je 0x10021d67
push edi
and ebx, 0xfffffffd
lea ecx, [ebp - 0x78]
push 1
mov dword [ebp - 0xf4], ebx
call fcn.10001805
mov dword [ebp - 4], 7
test bl, 1
je 0x10021d87
push edi
and ebx, 0xfffffffe
lea ecx, [ebp - 0x58]
push 1
mov dword [ebp - 0xf4], ebx
call fcn.100065b4
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10021fd1
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.1003910e
push str.ft_approach
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x17
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.1003932a
push edi
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.10001805
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10003a11
sub esp, 0x10
mov byte [ebp - 4], 0x18
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.1003910e
push str.ft_details
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x19
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.1003932a
push edi
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
call fcn.10001805
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10003a11
sub esp, 0x10
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.1003910e
push str.ft_procname
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x1b
call fcn.1003a121
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.1003932a
push edi
push 1
lea ecx, [ebp - 0x78]
call fcn.10001805
xor eax, eax
mov edi, eax
cmp dword [ebp - 0xfc], eax
ja 0x10021ea1
jb 0x10021e96
cmp dword [ebp - 0x100], 0x3200000
jae 0x10021ea1
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
cmovae edi, dword [ebp - 0x40]
mov dword [ebp - 0x60], vtable.Json::FastWriter.0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x5c], al
mov word [ebp - 0x44], ax
mov byte [ebp - 0x42], al
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x60]
call fcn.1003ab75
push eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
push eax
call fcn.100039d4
pop ecx
pop ecx
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], 8
jb 0x10021ef2
mov eax, dword [eax]
push eax
push edi
push str.file:_ls__reporter:_ls
call fcn.10034d47
add esp, 0xc
lea ecx, [ebp - 0x78]
xor eax, eax
push eax
push 1
call fcn.100065b4
xor eax, eax
lea ecx, [ebp - 0xa8]
push eax
push 1
call fcn.10001805
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.100216c5
xor eax, eax
lea edx, [ebp - 0x128]
push eax
push edi
mov ecx, str.t_filetransfer_log
call fcn.1004555f
lea ecx, [ebp - 0x128]
call fcn.10039283
xor edi, edi
lea ecx, [ebp - 0xc0]
push edi
push 1
call fcn.100065b4
push edi
push 1
lea ecx, [ebp - 0xd8]
call fcn.100065b4
push edi
push 1
lea ecx, [ebp - 0xf0]
call fcn.100065b4
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.100065b4
lea ecx, [ebp - 0x104]
call fcn.1000657a
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x110]
jne 0x100219a7
cmp dword [esi + 0x14], 8
jb 0x10021fa9
mov esi, dword [esi]
push esi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.100065b4
lea ecx, [ebp - 0x110]
call fcn.1000d9c6
call fcn.1004e2e0
ret