Function at 0x43bcb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2120
call fcn.00449d30
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2120], ecx
lea ecx, [ebp - 0x2004]
push edi
mov edi, dword [ebp + 0xc]
push ecx
mov ecx, eax
mov dword [ebp - 0x210c], eax
mov dword [ebp - 0x211c], ebx
mov dword [ebp - 0x2118], edi
call fcn.0043f7a0
test eax, eax
js 0x43c105
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x2004]
push 0x4bdbb4
push eax
call esi
test eax, eax
jne 0x43bd20
lea esi, [eax + 8]
jmp 0x43bd69
push 0x4bdbbc
lea eax, [ebp - 0x2004]
push eax
call esi
test eax, eax
jne 0x43bd39
mov esi, 0x4008
jmp 0x43bd69
push 0x4bdbc4
lea eax, [ebp - 0x2004]
push eax
call esi
test eax, eax
jne 0x43bd50
lea esi, [eax + 0x13]
jmp 0x43bd69
push 0x4bdbcc
lea eax, [ebp - 0x2004]
push eax
call esi
test eax, eax
jne 0x43c0ff
lea esi, [eax + 0x11]
mov ecx, dword [ebp - 0x210c]
call fcn.004476c0
mov ecx, dword [ebp - 0x210c]
lea eax, [ebp - 0x2004]
push eax
call fcn.0043f7a0
test eax, eax
js 0x43c104
cmp esi, 0x13
ja 0x43bf7e
je 0x43bf35
cmp esi, 8
je 0x43befa
cmp esi, 0x11
jne 0x43c0d2
lea ebx, [ebp - 0x2004]
lea ecx, [ebx + 2]
nop dword [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x43bdc0
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x2110], ebx
test bl, 1
jne 0x43be1c
mov eax, ebx
mov dword [ebp - 0x2108], 0
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x2114], esi
cmp esi, 0x100
jbe 0x43be34
push esi
lea ecx, [ebp - 0x2108]
call fcn.0043c170
mov eax, dword [ebp - 0x2108]
test eax, eax
jne 0x43be40
lea ecx, [ebp - 0x2108]
call fcn.0043ed60
pop esi
pop edi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x2104]
mov dword [ebp - 0x2108], eax
push esi
push 0
push eax
call fcn.00464ad0
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x43beb7
mov esi, dword [ebp - 0x2110]
nop dword [eax + eax]
movzx ebx, word [ebp + edi*2 - 0x2004]
lea eax, [ebx - 0x30]
cmp eax, 0x36
ja case.0x43be77.58
movzx eax, byte [eax + 0x43c134]
jmp dword [eax*4 + 0x43c124]
sub bl, 0x30
jmp 0x43be8f
sub bl, 0x37
jmp 0x43be8f
sub bl, 0x57
jmp 0x43be8f
xor bl, bl
mov eax, edi
mov edx, edi
and eax, 1
shr edx, 1
add edx, dword [ebp - 0x2108]
mov ecx, 4
shl eax, 2
inc edi
sub ecx, eax
shl bl, cl
or byte [edx], bl
cmp edi, esi
jl 0x43be60
mov esi, dword [ebp - 0x2114]
mov eax, dword [ebp - 0x211c]
push esi
push dword [ebp - 0x2108]
push 3
push 0
push dword [ebp - 0x2118]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2104]
cmp dword [ebp - 0x2108], eax
je 0x43c0b2
lea ecx, [ebp - 0x2108]
call fcn.0043ed60
jmp 0x43c0b2
lea ecx, [ebp - 0x2004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bf03
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2004]
push eax
push 1
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x43c0b2
lea eax, [ebp - 0x2114]
push eax
push 0
push 0
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x43c104
mov eax, dword [ebp - 0x2114]
push 4
mov dword [ebp - 0x2110], eax
lea eax, [ebp - 0x2110]
push eax
push 4
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x43c0b2
cmp esi, 0x4008
jne 0x43c0d2
lea ecx, [ebp - 0x2004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bf93
sub ecx, edx
mov dword [ebp - 0x2108], 0
sar ecx, 1
lea eax, [ecx + 2]
mov ecx, 2
mul ecx
test edx, edx
jne 0x43c117
cmp eax, 0xffffffff
ja 0x43c117
cmp eax, 0x100
jbe 0x43bfec
push eax
lea ecx, [ebp - 0x2108]
call fcn.0043c1a0
mov esi, dword [ebp - 0x2108]
test esi, esi
jne 0x43bff8
lea edi, [esi + 0xe]
jmp 0x43c09d
lea esi, [ebp - 0x2104]
mov dword [ebp - 0x2108], esi
cmp word [ebp - 0x2004], 0
lea edi, [ebp - 0x2004]
je 0x43c03c
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x43c02d
cmp word [eax], 0x30
jne 0x43c02d
xor ecx, ecx
push eax
mov word [esi], cx
call ebx
mov edi, eax
jmp 0x43c033
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], 0
jne 0x43c010
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x2108]
test esi, esi
jne 0x43c04f
lea edi, [eax + 0xd]
jmp 0x43c09d
xor ebx, ebx
mov edx, esi
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c060
sub ecx, edi
sar ecx, 1
inc ecx
lea edx, [edx + ecx*2]
lea ebx, [ebx + ecx*2]
cmp ecx, 1
jne 0x43c053
mov eax, dword [ebp - 0x211c]
push ebx
push esi
push 7
push 0
push dword [ebp - 0x2118]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x2108]
mov edi, eax
lea eax, [ebp - 0x2104]
cmp esi, eax
je 0x43c0b2
lea ecx, [ebp - 0x2108]
call fcn.0043ed70
test edi, edi
je 0x43c0d2
push edi
call fcn.0043c300
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x2120]
mov ecx, dword [ebp - 0x210c]
call fcn.0043f7a0
xor ecx, ecx
leave
test eax, eax
pop esi
cmovs ecx, eax
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80020009
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0xc
push 0x80070216
call fcn.004059f0
nop dword [eax]
jle 0x43c0e4
inc ebx
add byte [ebx - 0x77ffbc42], al
mov esi, 0xbe8d0043
inc ebx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
int3