Function at 0x41bdf5
Capabilities:
Delete file
Query or enumerate registry value

Disassembly:
mov eax, 0x432053
call fcn.0041e28c
mov eax, 0x1bd4c
call fcn.0041e360
cmp dword [ebp + 0xc], 0
je 0x41ca90
push 0x1000
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x3508]
push eax
lea eax, [ebp - 0xfd58]
push eax
push dword [ebp + 0xc]
call fcn.0041aa36
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x41ca90
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 6
lea eax, [ebp - 0x3508]
lea esi, [ebp - 0x1bd58]
pop edi
push 0x1000
push esi
push eax
call fcn.0041a6c7
add esi, 0x2000
sub edi, 1
jne 0x41be58
mov esi, edi
push dword [esi*4 + 0x43e618]
lea eax, [ebp - 0xfd58]
push eax
call fcn.004117ac
test eax, eax
je 0x41be93
inc esi
cmp esi, 0xe
jb 0x41be71
jmp case.default.0x41be9c
cmp esi, 0xd
ja case.default.0x41be9c
jmp dword [esi*4 + 0x41caa1]
cmp ebx, 2
jne case.default.0x41be9c
mov edi, 0x800
lea eax, [ebp - 0x7d50]
push edi
push eax
call fcn.00419da4
push edi
lea eax, [ebp - 0xdd58]
push eax
lea eax, [ebp - 0x3508]
push eax
lea eax, [ebp - 0x7d50]
push eax
call fcn.0040b965
lea ecx, [ebp - 0x8d58]
call fcn.0040a49d
lea eax, [ebp - 0xdd58]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x8d58]
mov dword [ebp - 4], ebx
call fcn.0040a5d7
lea ecx, [ebp - 0x5d50]
call fcn.004070bf
jmp 0x41c045
push ebx
lea eax, [ebp - 0x5d50]
push eax
call dword [fcn.00433058]
cmp byte [ebp - 0x4d44], bl
je 0x41bfc5
push edi
lea eax, [ebp - 0x1108]
push eax
lea eax, [ebp - 0x7d50]
push eax
call fcn.0040b4f7
push edi
lea eax, [ebp - 0x1108]
push eax
call fcn.0040b207
lea eax, [ebp - 0x7d50]
push eax
call fcn.004235b3
mov esi, eax
pop ecx
cmp esi, 4
jb 0x41bf6b
lea eax, [ebp - 0x1108]
push eax
call fcn.004235b3
pop ecx
cmp esi, eax
ja 0x41bf7f
lea eax, [ebp - 0x3508]
push eax
call fcn.0040b925
test al, al
jne 0x41c060
lea eax, [ebp - 0x5d50]
push eax
call fcn.004235b3
xor ecx, ecx
push 0x1e
push ebx
mov word [ebp + eax*2 - 0x5d4e], cx
lea eax, [ebp - 0x40]
push eax
call fcn.0041f350
add esp, 0x10
mov dword [ebp - 0x3c], 3
push 0x14
pop eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x5d50]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea eax, [ebp - 0x5d50]
push eax
call dword [fcn.0043305c]
cmp eax, 0xffffffff
je 0x41c045
lea eax, [ebp - 0x5d50]
push eax
call dword [fcn.00433028]
test eax, eax
jne 0x41c045
mov esi, ebx
push ebx
jmp 0x41bfef
inc esi
push esi
lea eax, [ebp - 0x5d50]
push eax
push 0x435208
lea eax, [ebp - 0x1108]
push edi
push eax
call fcn.0040400a
add esp, 0x14
lea eax, [ebp - 0x1108]
push eax
call dword [fcn.0043305c]
cmp eax, 0xffffffff
jne 0x41bfed
lea eax, [ebp - 0x1108]
push eax
lea eax, [ebp - 0x5d50]
push eax
call dword [0x433038]
test eax, eax
je 0x41c045
push 4
push ebx
lea eax, [ebp - 0x1108]
push eax
call dword [0x433168]
push ebx
lea eax, [ebp - 0x5d50]
push eax
lea ecx, [ebp - 0x8d58]
call fcn.0040a52a
test al, al
jne 0x41bf0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8d58]
call fcn.0040a4b3
jmp case.default.0x41be9c
test ebx, ebx
jne case.default.0x41be9c
mov eax, dword [0x45dc84]
test eax, eax
sete bl
test bl, bl
jne 0x41c09c
push 0x4345b4
push eax
call fcn.00427168
mov eax, dword [0x45dc84]
pop ecx
pop ecx
mov bh, byte [ebp - 0xd]
test bh, bh
je 0x41c0ab
lea esi, [ebp - 0x3508]
jmp 0x41c0bb
lea eax, [ebp + 0xc]
push eax
call fcn.0041ab9a
mov esi, eax
mov eax, dword [0x45dc84]
test bl, bl
jne 0x41c0c8
push eax
call fcn.004235b3
pop ecx
mov edi, eax
push esi
call fcn.004235b3
add eax, edi
lea eax, [eax*2 + 0xa]
push eax
push dword [0x45dc84]
call fcn.004235de
add esp, 0xc
test eax, eax
je 0x41c101
mov dword [0x45dc84], eax
test bl, bl
je 0x41c0f8
xor ecx, ecx
mov word [eax], cx
push esi
push eax
call fcn.00427168
pop ecx
pop ecx
test bh, bh
jne case.default.0x41be9c
push esi
call fcn.004235ce
pop ecx
jmp case.default.0x41be9c
test ebx, ebx
jne case.default.0x41be9c
lea eax, [ebp - 0x3508]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp case.default.0x41be9c
test ebx, ebx
jne case.default.0x41be9c
cmp word [0x44a472], di
jne case.default.0x41be9c
xor eax, eax
lea edi, [ebp - 0x3508]
push 0x22
mov word [ebp - 0x1108], ax
pop eax
cmp word [ebp - 0x3508], ax
jne 0x41c168
lea edi, [ebp - 0x3506]
push edi
call fcn.004235b3
mov esi, 0x800
pop ecx
cmp eax, esi
jae case.default.0x41be9c
movzx eax, word [edi]
push 0x5c
pop ecx
cmp eax, 0x2e
jne 0x41c1ae
cmp word [edi + 2], cx
jne 0x41c1ae
add edi, 4
xor ebx, ebx
cmp word [edi], bx
je case.default.0x41be9c
push esi
push edi
lea eax, [ebp - 0x1108]
push eax
call fcn.0040fe56
jmp 0x41c2a6
cmp ax, cx
je 0x41c296
test ax, ax
je 0x41c1c7
cmp word [edi + 2], 0x3a
je 0x41c296
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push 1
push ebx
push 0x435220
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c22c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1000
push eax
lea eax, [ebp - 0x1108]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x435274
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov ecx, 0x7ff
shr eax, 1
cmp eax, ecx
jb 0x41c222
mov eax, ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x1108], cx
cmp word [ebp - 0x1108], bx
je 0x41c261
lea eax, [ebp - 0x1108]
push eax
call fcn.004235b3
pop ecx
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x110a], cx
je 0x41c261
push esi
push 0x435294
lea eax, [ebp - 0x1108]
push eax
call fcn.0040fe2e
push edi
call fcn.004235b3
mov esi, eax
lea eax, [ebp - 0x1108]
push eax
call fcn.004235b3
add esi, eax
pop ecx
cmp esi, 0x7ff
mov esi, 0x800
pop ecx
jae 0x41c2a6
push esi
push edi
lea eax, [ebp - 0x1108]
push eax
call fcn.0040fe2e
jmp 0x41c2a6
push esi
push edi
lea eax, [ebp - 0x1108]
push eax
call fcn.0040fe56
xor ebx, ebx
push 0x22
pop eax
push eax
lea eax, [ebp - 0x1108]
push eax
call fcn.004217cb
pop ecx
pop ecx
test eax, eax
je 0x41c2c7
cmp word [eax + 2], bx
jne 0x41c2c7
xor ecx, ecx
mov word [eax], cx
push esi
lea eax, [ebp - 0x1108]
mov edi, 0x44a472
push eax
push edi
call fcn.0040fe56
push esi
lea eax, [ebp - 0x1108]
push eax
call fcn.0041a8d0
push 0x66
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x1108]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x1108]
push eax
push edi
call fcn.004235e9
pop ecx
pop ecx
test eax, eax
je case.default.0x41be9c
lea eax, [ebp - 0x1108]
push eax
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x41be9c
cmp dword [0x44a46c], 1
je case.default.0x41be9c
movzx eax, word [ebp - 0x3508]
push eax
call fcn.0040fcdf
test al, al
je 0x41c372
movzx eax, word [ebp - 0x3508]
sub eax, 0x30
mov dword [0x44a46c], eax
jmp case.default.0x41be9c
mov dword [0x44a46c], 2
jmp case.default.0x41be9c
movzx eax, word [ebp - 0x3508]
xor ecx, ecx
sub eax, ecx
je 0x41c3bb
sub eax, 0x30
je 0x41c3aa
sub eax, 1
je 0x41c3bb
sub eax, 1
jne case.default.0x41be9c
mov byte [0x448453], 1
jmp 0x41c3b0
mov byte [0x448453], cl
mov byte [0x448460], cl
jmp case.default.0x41be9c
mov byte [0x448453], cl
mov byte [0x448460], 1
jmp case.default.0x41be9c
movzx eax, word [ebp - 0x3508]
push eax
call fcn.00426420
pop ecx
cmp eax, 0x46
je 0x41c402
cmp eax, 0x55
je 0x41c3f6
xor eax, eax
mov byte [0x448461], al
mov byte [0x448462], al
jmp case.default.0x41be9c
mov byte [0x448462], 1
jmp case.default.0x41be9c
mov byte [0x448461], 1
jmp case.default.0x41be9c
xor edi, edi
mov byte [0x45ec98], 1
inc edi
lea ebx, [ebp - 0x3508]
cmp word [ebp - 0x3508], 0x3c
jne 0x41c4ca
lea eax, [ebp - 0x3506]
push 0x3e
push eax
call fcn.004215e8
pop ecx
pop ecx
test eax, eax
je 0x41c4ca
lea ecx, [eax + 2]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x108]
push 0x64
push eax
lea eax, [ebp - 0x3506]
push eax
call fcn.0041a6c7
mov ebx, eax
test ebx, ebx
je 0x41c4c7
cmp word [ebp - 0x108], 0
je 0x41c4c7
push 0x435298
lea eax, [ebp - 0x108]
push eax
call fcn.004117ac
neg eax
push 0x4352a4
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x108]
push eax
call fcn.004117ac
test eax, eax
jne 0x41c4a3
push 3
pop edi
push 0x4352ac
lea eax, [ebp - 0x108]
push eax
call fcn.004117ac
test eax, eax
jne 0x41c4bb
push 6
pop edi
push 0x64
lea eax, [ebp - 0x108]
push eax
push ebx
jmp 0x41c45f
mov ebx, dword [ebp - 0x14]
cmp dword [ebp + 0x10], 5
jne 0x41c4e5
cmp esi, 9
jne case.default.0x41be9c
push 1
push edi
push ebx
push dword [ebp + 8]
call fcn.0041ce22
cmp dword [ebp + 0x10], 4
jne case.default.0x41be9c
cmp esi, 6
jne case.default.0x41be9c
xor eax, eax
push eax
push edi
push ebx
push dword [ebp + 8]
call fcn.0041ce22
jmp case.default.0x41be9c
mov byte [0x45ec99], 1
cmp word [ebp - 0x3508], di
je case.default.0x41be9c
lea eax, [ebp - 0x3508]
push eax
call fcn.00411798
mov dword [0x43e5fc], eax
jmp case.default.0x41be9c
cmp ebx, 1
jne 0x41c6b8
lea eax, [ebp - 0x7d50]
mov edi, 0x800
push eax
push edi
call dword [0x433164]
push edi
lea eax, [ebp - 0x7d50]
push eax
call fcn.0040b207
xor eax, eax
mov esi, eax
push eax
jmp 0x41c566
inc esi
push esi
push dword [0x43e5f8]
lea eax, [ebp - 0x7d50]
push eax
push 0x4352b4
push edi
push 0x44946a
call fcn.0040400a
add esp, 0x18
push 0x44946a
call fcn.0040a180
test al, al
jne 0x41c564
push 0x44946a
push 0x66
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [ebp - 0x3508], 0
je case.default.0x41be9c
cmp byte [0x456b7a], 0
jne case.default.0x41be9c
xor eax, eax
mov word [ebp - 0x1508], ax
lea eax, [ebp - 0x3508]
push 0x2c
push eax
call fcn.004215e8
pop ecx
pop ecx
test eax, eax
jne 0x41c62e
xor edx, edx
mov esi, edx
cmp word [ebp - 0x3508], dx
je 0x41c62e
mov ecx, edx
lea eax, [ebp - 0x3508]
cmp word [eax], 0x40
je 0x41c60a
inc esi
lea eax, [ebp - 0x3508]
lea ecx, [esi + esi]
add eax, ecx
cmp word [eax], dx
jne 0x41c5f1
jmp 0x41c62e
push 0x200
lea eax, [ebp - 0x3506]
add eax, ecx
push eax
lea eax, [ebp - 0x1508]
push eax
call fcn.0040fe56
xor eax, eax
mov word [ebp + esi*2 - 0x3508], ax
cmp word [ebp - 0x1508], 0
jne 0x41c668
push 0x1000
lea eax, [ebp - 0x1bd58]
push eax
lea eax, [ebp - 0x3508]
push eax
call fcn.0040fe56
push 0x200
lea eax, [ebp - 0x19d58]
push eax
lea eax, [ebp - 0x1508]
push eax
call fcn.0040fe56
lea eax, [ebp - 0x3508]
push eax
call fcn.0041a4f2
xor eax, eax
mov word [ebp - 0x2508], ax
lea eax, [ebp - 0x1508]
push 0x24
push eax
lea eax, [ebp - 0x3508]
push eax
push dword [ebp + 8]
call fcn.00419f35
cmp eax, 6
je case.default.0x41be9c
push 1
push dword [ebp + 8]
xor eax, eax
mov byte [0x448450], 1
mov word [0x44946a], ax
call dword [sym.imp.USER32.dll_EndDialog]
cmp ebx, 7
jne case.default.0x41be9c
cmp dword [0x44a46c], 0
jne 0x41c6d4
mov dword [0x44a46c], 2
mov byte [0x449468], 1
jmp case.default.0x41be9c
cmp ebx, 3
jne 0x41c70e
cmp word [ebp - 0x3508], di
je 0x41c700
lea eax, [ebp - 0x3508]
push eax
call fcn.00427107
pop ecx
mov dword [0x45ec94], eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041ab9a
mov dword [0x45ec90], eax
mov byte [0x456b7b], 1
jmp case.default.0x41be9c
cmp ebx, 6
jne case.default.0x41be9c
xor eax, eax
mov word [ebp - 0x4d08], ax
movzx eax, word [ebp - 0x1bd58]
push eax
call fcn.00426420
pop ecx
push 0x800
cmp eax, 0x50
je 0x41c777
cmp eax, 0x54
lea eax, [ebp - 0x4d08]
je 0x41c763
push 0x45cb82
push eax
call fcn.0040fe56
mov dword [ebp - 0x14], 0x10
jmp 0x41c78f
push 0x45ab82
push eax
call fcn.0040fe56
mov dword [ebp - 0x14], 7
jmp 0x41c78f
push 0x45bb82
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040fe56
mov dword [ebp - 0x14], 2
xor eax, eax
mov word [ebp - 0x9d58], ax
mov word [ebp - 0x3d08], ax
lea eax, [ebp - 0x19d58]
push eax
lea eax, [ebp - 0x6d50]
push eax
call fcn.004257e6
pop ecx
pop ecx
push 0x22
pop ebx
cmp word [ebp - 0x6d50], bx
jne 0x41c807
lea eax, [ebp - 0x19d56]
push eax
lea eax, [ebp - 0x6d50]
push eax
call fcn.004257e6
lea eax, [ebp - 0x6d4e]
push ebx
push eax
call fcn.004215e8
add esp, 0x10
test eax, eax
je 0x41c8ab
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
lea eax, [ebp - 0x3d08]
push eax
call fcn.004257e6
pop ecx
pop ecx
jmp 0x41c8ab
lea eax, [ebp - 0x6d50]
push eax
call fcn.0040a180
test al, al
jne 0x41c8ab
mov ebx, edi
lea esi, [ebp - 0x6d50]
cmp word [ebp - 0x6d50], bx
je 0x41c8ab
push 0x20
pop ecx
movzx eax, word [esi]
cmp ax, cx
je 0x41c83f
push 0x2f
pop edx
cmp ax, dx
jne 0x41c89a
mov edi, eax
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x6d50]
push eax
call fcn.0040a180
test al, al
je 0x41c892
push 0x2f
pop eax
mov ebx, esi
cmp di, ax
jne 0x41c873
mov word [ebp - 0x3d08], ax
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x3d06]
jmp 0x41c885
push 0x20
pop eax
add esi, 2
cmp word [esi], ax
je 0x41c876
push esi
lea eax, [ebp - 0x3d08]
push eax
call fcn.004257e6
pop ecx
pop ecx
mov word [ebx], di
jmp 0x41c895
mov word [esi], di
push 0x20
pop ecx
xor edi, edi
add esi, 2
cmp word [esi], di
jne 0x41c82f
test ebx, ebx
je 0x41c8ab
xor eax, eax
mov word [ebx], ax
cmp word [ebp - 0x11d58], 0
mov ebx, 0x800
je 0x41c8ce
push ebx
lea eax, [ebp - 0x9d58]
push eax
lea eax, [ebp - 0x11d58]
push eax
call fcn.0040b239
push ebx
lea eax, [ebp - 0xbd58]
push eax
lea eax, [ebp - 0x6d50]
push eax
call fcn.0040b239
cmp word [ebp - 0x4d08], 0
jne 0x41c8fb
push dword [ebp - 0x14]
lea eax, [ebp - 0x4d08]
push eax
call fcn.0041ab2e
push ebx
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040b207
cmp word [ebp - 0x17d58], 0
je 0x41c933
push ebx
lea eax, [ebp - 0x17d58]
push eax
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040fe2e
push ebx
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040b207
lea eax, [ebp - 0x4d08]
push eax
lea eax, [ebp - 0xcd58]
push eax
call fcn.004257e6
cmp word [ebp - 0x13d58], 0
lea eax, [ebp - 0x13d58]
pop ecx
pop ecx
jne 0x41c95e
lea eax, [ebp - 0x19d58]
push ebx
push eax
call fcn.0040bc85
push eax
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040fe2e
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040b493
test eax, eax
je 0x41c991
push 0x4352c4
push eax
call fcn.004117ac
test eax, eax
je 0x41c9a3
push ebx
push 0x4352c4
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040fe2e
push 1
lea eax, [ebp - 0x4d08]
push eax
call fcn.0040a04f
lea eax, [ebp - 0xbd58]
push eax
lea eax, [ebp - 0xad58]
push eax
call fcn.004257e6
pop ecx
pop ecx
lea eax, [ebp - 0xad58]
push eax
call fcn.0040bccf
movzx ecx, word [ebp - 0x3d08]
lea eax, [ebp - 0x3d08]
neg ecx
lea edx, [ebp - 0x9d58]
lea esi, [ebp - 0xad58]
sbb ecx, ecx
and ecx, eax
movzx eax, word [ebp - 0x9d58]
neg eax
push ecx
sbb eax, eax
and eax, edx
movzx edx, word [ebp - 0xad58]
neg edx
push eax
lea eax, [ebp - 0x15d58]
sbb edx, edx
push eax
and edx, esi
call fcn.0041a5e4
push eax
push edx
lea eax, [ebp - 0x4d08]
push eax
lea eax, [ebp - 0xbd58]
push eax
push edi
call fcn.00419bdc
cmp word [ebp - 0xcd58], 0
je case.default.0x41be9c
push edi
lea eax, [ebp - 0xcd58]
push eax
push 5
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp case.default.0x41be9c
cmp ebx, 7
jne case.default.0x41be9c
mov byte [0x44a470], 1
push 0x1000
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x3508]
push eax
lea eax, [ebp - 0xfd58]
push eax
push dword [ebp + 0xc]
call fcn.0041aa36
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x41be49
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc