Function at 0x436062
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41e556
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.0041b190
mov eax, dword [0x441008]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x441008]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2280], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x60], ecx
mov ecx, eax
jmp 0x436572
push 0x403934
push edi
mov dword [esp + 0x30], 1
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
neg eax
push 0x403908
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x436111
test ebx, ebx
je 0x4361d0
mov ecx, dword [esp + 0x14]
push edi
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
cmp dword [ebp + 0x10], 0
je 0x4361d0
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push 0x5c
pop edx
mov ecx, edi
mov byte [esp + 0x2280], 1
call fcn.0043696e
test eax, eax
jne 0x436592
push edi
call fcn.00434ac7
test eax, eax
je 0x43617b
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push edi
mov dword [esp + 0x30], eax
call fcn.00435cad
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x43617d
xor eax, eax
test ebx, ebx
je 0x4361c0
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push edi
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x43658c
push edi
mov ecx, ebx
call fcn.004368da
mov esi, eax
lea ecx, [esp + 0x2c]
test esi, esi
js 0x4365de
xor eax, eax
mov byte [esp + 0x2280], al
call fcn.00434bc2
jmp 0x43652f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2280], al
call fcn.00434bc2
push 0x403920
push edi
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x4361fa
push edi
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
push 0x403900
push edi
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
jne 0x4362fe
lea eax, [esp + 0x26c]
mov ecx, ebx
push eax
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
push edi
mov ecx, ebx
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x43659b
cmp dword [ebp + 0x10], 0
je 0x436293
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov byte [esp + 0x2280], 2
mov dword [esp + 0x54], eax
lea eax, [esp + 0x26c]
push edi
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0043451f
mov esi, eax
lea ecx, [esp + 0x54]
xor eax, eax
mov dword [esp + 0x54], eax
test esi, esi
js 0x4365de
jmp 0x4361af
cmp dword [ebp + 0x14], 0
jne 0x4362f1
cmp dword [esp + 0x28], 0
je 0x4362f1
xor eax, eax
lea ecx, [esp + 0x3c]
push 0x20006
push eax
push dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.0043576a
test eax, eax
jne 0x4365d1
lea eax, [esp + 0x26c]
push eax
push dword [esp + 0x40]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
je 0x4362e8
cmp eax, 2
jne 0x4365d1
lea ecx, [esp + 0x3c]
call fcn.00434bc2
push edi
mov ecx, ebx
call fcn.004368da
jmp 0x436578
push 0x5c
pop edx
mov ecx, edi
call fcn.0043696e
test eax, eax
jne 0x43659b
cmp dword [ebp + 0x10], eax
je 0x436394
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push 0x2001f
push edi
push esi
call fcn.0043576a
test eax, eax
je 0x436357
push 0x20019
push edi
push esi
lea ecx, [esp + 0x28]
call fcn.0043576a
test eax, eax
je 0x436357
sub esp, 0x14
lea ecx, [esp + 0x30]
push edi
push esi
call fcn.00434bdf
test eax, eax
jne 0x4365f2
push edi
mov ecx, ebx
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x43652f
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0043451f
mov esi, eax
test esi, esi
js 0x4365a0
jmp 0x43652f
cmp dword [ebp + 0x14], 0
jne 0x4363b1
push 0x20019
push edi
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0043576a
mov ebx, eax
jmp 0x4363b4
push 2
pop ebx
test ebx, ebx
je 0x4363bf
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x6c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
mov ecx, eax
call fcn.0042a70d
mov ecx, dword [esp + 0x14]
push edi
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
mov ecx, dword [esp + 0x14]
push edi
call fcn.004368da
mov esi, eax
test esi, esi
js 0x4365a0
push 0x7b
pop eax
cmp word [edi], ax
jne 0x43645f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x38]
jne 0x436411
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x43645f
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
xor eax, eax
push eax
push dword [esp + 0x24]
push edi
call fcn.00436062
mov esi, eax
test esi, esi
jns 0x43644b
cmp dword [ebp + 0x14], 0
je 0x4365a0
mov ecx, dword [esp + 0x14]
push edi
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x43657e
test ebx, ebx
je 0x436489
test eax, eax
jne 0x43657e
mov ecx, ebx
call fcn.00434ab2
mov esi, eax
jmp 0x4365a0
test eax, eax
je 0x4364ca
push dword [esp + 0x1c]
call fcn.004354ab
test eax, eax
je 0x4364ca
lea eax, [esp + 0x64]
push eax
call fcn.00434ac7
test eax, eax
je 0x43657e
cmp dword [esp + 0x28], 0
je 0x43657e
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.00435cad
jmp 0x43657e
push dword [esp + 0x1c]
call fcn.004354ab
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00434bc2
test eax, eax
jne 0x4365f2
cmp dword [esp + 0x28], eax
je 0x43657e
test ebx, ebx
jne 0x43657e
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004353a3
mov dword [esp + 0x48], ebx
test eax, eax
jne 0x4365e5
lea ecx, [esp + 0x48]
call fcn.00434bc2
mov ebx, dword [esp + 0x14]
cmp dword [ebp + 0x10], 0
je 0x43657e
push 0x7b
pop eax
cmp word [edi], ax
jne 0x43657e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x38]
jne 0x436542
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x43657e
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [esp + 0x24]
push edi
call fcn.00436062
mov esi, eax
test esi, esi
js 0x4365a0
mov ecx, ebx
push edi
call fcn.0043562f
mov esi, eax
test esi, esi
js 0x4365a0
push 0x7d
pop eax
cmp word [edi], ax
jne 0x4360e0
jmp 0x4365a0
lea ecx, [esp + 0x2c]
jmp 0x4365de
lea ecx, [esp + 0x2c]
call fcn.00434bc2
mov esi, 0x80020009
lea ecx, [esp + 0x1c]
call fcn.00434bc2
mov eax, esi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.0041a3d0
mov esp, ebp
pop ebp
ret 0x10
mov ecx, eax
call fcn.00434ab2
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.00434bc2
jmp 0x4365a0
mov ecx, eax
call fcn.00434ab2
lea ecx, [esp + 0x48]
jmp 0x4365dc
mov ecx, eax
jmp 0x43647d