Function at 0x40282c
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.00429470
push 0xffffffffffffffff
push 0x435a81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x448630]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x1114]
mov ebx, dword [ebp + 0x1110]
and dword [ebp - 0x18], 0
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x104]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
call fcn.00402739
test eax, eax
js 0x402c0a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.0040265d
pop ecx
pop ecx
test eax, eax
jne 0x4028bf
mov eax, 0x80020009
jmp 0x402c0a
call fcn.00402715
lea eax, [ebp + 0x104]
mov ecx, esi
call fcn.00402739
test eax, eax
js 0x402c0a
movzx eax, word [ebp - 0x18]
sub eax, 8
je 0x402bda
sub eax, 9
je 0x402ace
dec eax
dec eax
je 0x4029f8
sub eax, 0x3ff5
jne 0x402bfa
lea eax, [ebp + 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp], 0
add eax, 2
and dword [ebp - 4], 0
push eax
mov byte [ebp - 4], 1
call fcn.00406104
pop ecx
cmp eax, 0x100
jbe 0x402970
push eax
lea eax, [ebp]
push eax
call fcn.00405f63
mov edi, dword [ebp]
test edi, edi
je 0x4029dc
cmp byte [ebp + 0x104], 0
lea esi, [ebp + 0x104]
je 0x40299f
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x40297e
cmp byte [eax], 0x30
jne 0x40297e
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x40299a
lea eax, [ebp + 4]
mov dword [ebp], eax
jmp 0x402936
mov byte [edi], cl
movzx eax, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x402998
inc edi
inc esi
mov al, byte [esi]
test al, al
je 0x40299f
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x402956
mov word [edi], 0
mov edi, dword [ebp]
mov ebx, edi
test edi, edi
jne 0x4029b1
push 0xd
jmp 0x4029de
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add edi, eax
add esi, eax
cmp eax, 1
jne 0x4029b3
mov eax, dword [ebp - 0x20]
push esi
push ebx
push 7
push 0
push dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x4029df
push 0xe
pop esi
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x402bea
lea eax, [ebp]
call fcn.00405e0e
jmp 0x402bea
xor edi, edi
mov dword [ebp - 0x14], edi
lea eax, [ebp + 0x104]
push eax
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x18]
inc eax
push ecx
mov dword [ebp - 0x18], eax
call fcn.0040106e
pop ecx
test eax, eax
js 0x402ac4
mov ebx, dword [ebp - 0x18]
cmp ebx, 0x400
jg 0x402a4b
push ebx
call fcn.0040109a
pop ecx
test al, al
je 0x402a4b
mov eax, ebx
call fcn.00430a00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x402a58
mov eax, ebx
lea esi, [ebp - 0x14]
call fcn.00405b11
mov edi, dword [ebp - 0x14]
push 3
shr ebx, 1
push ebx
lea ecx, [ebp + 0x104]
push ecx
mov esi, eax
call fcn.00401106
xor ebx, ebx
cmp eax, ebx
je 0x402ac0
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x1c]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push 4
push ebx
push dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp edi, ebx
je 0x402bea
push edi
mov edi, dword [edi]
call fcn.0041f3a1
pop ecx
test edi, edi
jne 0x402aa5
jmp 0x402bea
push edi
mov edi, dword [edi]
call fcn.0041f3a1
pop ecx
cmp edi, ebx
jne 0x402ab7
mov eax, 0x8007000e
jmp 0x402c0a
lea eax, [ebp + 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
test al, 1
je 0x402aec
mov eax, 0x80004005
jmp 0x402c0a
and dword [ebp], 0
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 4
push edi
mov byte [ebp - 4], 5
call fcn.00406104
pop ecx
cmp eax, 0x100
jbe 0x402b1f
push eax
lea eax, [ebp]
push eax
call fcn.00405f63
jmp 0x402b30
lea eax, [ebp + 4]
mov dword [ebp], eax
jmp 0x402b30
xor esi, esi
cmp dword [ebp], esi
jne 0x402b48
lea eax, [ebp + 4]
test eax, eax
je 0x402ae2
lea eax, [ebp]
call fcn.00405e0e
jmp 0x402ae2
push edi
push esi
push dword [ebp]
call fcn.0041f900
add esp, 0xc
cmp dword [ebp - 0x14], esi
jle 0x402baf
mov cl, byte [ebp + esi + 0x104]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp]
cmp cl, 0x30
jl 0x402b96
cmp cl, 0x39
jle 0x402b91
cmp cl, 0x40
jle 0x402b96
cmp cl, 0x46
jle 0x402b8c
lea edx, [ecx - 0x61]
cmp dl, 5
ja 0x402b96
lea edx, [ecx - 0x57]
jmp 0x402b98
lea edx, [ecx - 0x37]
jmp 0x402b98
lea edx, [ecx - 0x30]
jmp 0x402b98
xor dl, dl
mov ebx, esi
and ebx, 1
shl ebx, 2
push 4
pop ecx
sub ecx, ebx
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x402b5a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push edi
push dword [ebp]
push 3
push 0
push dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x402bea
lea eax, [ebp]
call fcn.00405e0e
jmp 0x402bea
lea eax, [ebp + 0x104]
push eax
push ebx
push edi
call fcn.00401b37
mov esi, eax
test esi, esi
je 0x402bf7
mov eax, esi
call fcn.00401240
jmp 0x402c0a
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, esi
call fcn.00402739
test eax, eax
js 0x402c0a
xor eax, eax
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.0041e56d
add ebp, 0x1108
leave
ret 8