Function at 0x420550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1128
call fcn.00459950
mov eax, dword [0x481630]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esp
push ecx
mov ecx, esi
mov dword [ebp - 0x1130], esi
mov dword [ebp - 0x1128], edi
mov dword [ebp - 0x1124], ebx
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x112c], 0
call fcn.0041f740
test eax, eax
jl 0x4209da
lea edx, [ebp - 0x112c]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.00420a50
add esp, 8
test eax, eax
jne 0x4205ea
mov eax, 0x80020009
jmp 0x4209da
mov ecx, esi
call fcn.0041f6e0
lea ecx, [ebp - 0x1014]
push ecx
mov ecx, esi
call fcn.0041f740
test eax, eax
jl 0x4209da
movzx eax, word [ebp - 0x112c]
cmp eax, 0x13
jg 0x4208bb
je 0x4207ba
cmp eax, 8
je 0x42078f
cmp eax, 0x11
jne 0x4209c2
lea edx, [ebp - 0x1014]
push edx
call dword [0x471314]
test al, 1
mov dword [ebp - 0x111c], eax
jne 0x420707
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x1120], ebx
mov dword [ebp - 0x1118], 0
cmp ebx, 0x100
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
jbe 0x420688
push ebx
lea ecx, [ebp - 0x1118]
call fcn.0041f540
jmp 0x4206e8
lea edi, [ebp - 0x1114]
mov dword [ebp - 0x1118], edi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x111c]
xor esi, esi
test eax, eax
jle 0x420747
mov eax, dword [ebp - 0x1118]
mov edx, esi
shr edx, 1
add edx, eax
mov al, byte [ebp + esi - 0x1014]
movsx ecx, al
add ecx, 0xffffffd0
cmp ecx, 0x36
ja case.0x4206db.58
movzx ecx, byte [ecx + 0x420a10]
jmp dword [ecx*4 + 0x420a00]
mov edi, dword [ebp - 0x1118]
test edi, edi
jne 0x420694
lea eax, [ebp - 0x1114]
test eax, eax
je 0x420707
lea ecx, [ebp - 0x1118]
call fcn.0041f530
mov eax, 0x80004005
jmp 0x4209da
sub al, 0x30
jmp 0x42071f
sub al, 0x37
jmp 0x42071f
sub al, 0x57
jmp 0x42071f
xor al, al
mov ecx, esi
and ecx, 1
shl ecx, 2
mov edi, ecx
mov ecx, 4
sub ecx, edi
shl al, cl
mov cl, byte [edx]
or cl, al
mov eax, dword [ebp - 0x111c]
inc esi
cmp esi, eax
mov byte [edx], cl
jl 0x4206b6
mov ecx, dword [ebp - 0x1118]
mov edx, dword [ebp - 0x1128]
mov eax, dword [edx]
mov edx, dword [ebp - 0x1124]
push ebx
push ecx
push 3
push 0
push edx
push eax
call dword [0x471034]
mov ecx, dword [ebp - 0x1118]
mov esi, eax
lea eax, [ebp - 0x1114]
cmp ecx, eax
je 0x4209ad
lea ecx, [ebp - 0x1118]
call fcn.0041f530
jmp 0x4209ad
lea ecx, [ebp - 0x1014]
push ecx
call dword [0x471314]
inc eax
push eax
mov eax, dword [edi]
lea edx, [ebp - 0x1014]
push edx
push 1
push 0
push ebx
push eax
call dword [0x471034]
mov esi, eax
jmp 0x4209ad
call dword [0x4811d4]
lea ecx, [ebp - 0x1014]
push ecx
mov ebx, eax
mov dword [ebp - 0x111c], 0
call dword [0x471314]
mov edi, eax
inc edi
lea esi, [edi + edi]
cmp esi, 0x400
ja 0x420808
push esi
call fcn.0041eab0
add esp, 4
test al, al
je 0x420808
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00459950
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x420828
lea edx, [edi + edi + 8]
push edx
call fcn.00458fcb
add esp, 4
test eax, eax
je 0x42084d
mov dword [eax], 0
mov dword [ebp - 0x111c], eax
lea esi, [eax + 8]
test esi, esi
je 0x42084d
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x1014]
push eax
push 0
push ebx
mov word [esi], 0
call dword [0x471264]
neg eax
sbb eax, eax
and eax, esi
jmp 0x42084f
xor eax, eax
test eax, eax
jne 0x420868
lea ecx, [ebp - 0x111c]
call fcn.00408b00
mov eax, 0x8007000e
jmp 0x4209da
lea ecx, [ebp - 0x1120]
push ecx
push 0
push 0
push eax
call dword [0x471370]
mov edx, dword [ebp - 0x1120]
mov ecx, dword [ebp - 0x1124]
push 4
lea eax, [ebp - 0x1134]
push eax
push 4
mov dword [ebp - 0x1134], edx
mov edx, dword [ebp - 0x1128]
mov eax, dword [edx]
push 0
push ecx
push eax
call dword [0x471034]
lea ecx, [ebp - 0x111c]
mov esi, eax
call fcn.00408b00
jmp 0x4209ad
cmp eax, 0x4008
jne 0x4209c2
lea ecx, [ebp - 0x1014]
push ecx
call dword [0x471314]
xor ecx, ecx
inc eax
mov dword [ebp - 0x1118], ecx
cmp eax, 0x100
mov dword [ebp - 4], ecx
mov byte [ebp - 4], 1
jbe 0x420940
push eax
lea ecx, [ebp - 0x1118]
call fcn.0041f540
mov edi, dword [ebp - 0x1118]
test edi, edi
je 0x420993
mov al, byte [ebp - 0x1014]
test al, al
lea esi, [ebp - 0x1014]
je 0x42096d
mov ebx, dword [0x4714bc]
lea ebx, [ebx]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x42094e
cmp byte [eax], 0x30
jne 0x42094e
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x420968
lea edi, [ebp - 0x1114]
mov dword [ebp - 0x1118], edi
jmp 0x420904
xor edx, edx
mov byte [edi], cl
mov dl, byte [esi]
push edx
call dword [0x471150]
test eax, eax
je 0x420966
mov al, byte [esi + 1]
inc edi
inc esi
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x420920
mov edx, dword [ebp - 0x1124]
mov byte [edi], 0
mov ecx, dword [ebp - 0x1118]
push ecx
mov ecx, dword [ebp - 0x1128]
push edx
call fcn.004087c0
mov edi, dword [ebp - 0x1118]
mov esi, eax
jmp 0x420998
mov esi, 0xe
lea eax, [ebp - 0x1114]
cmp edi, eax
je 0x4209ad
lea ecx, [ebp - 0x1118]
call fcn.0041f530
test esi, esi
je 0x4209bc
push esi
call fcn.00420330
add esp, 4
jmp 0x4209da
mov esi, dword [ebp - 0x1130]
mov ecx, dword [ebp - 0x1138]
push ecx
mov ecx, esi
call fcn.0041f740
xor edx, edx
test eax, eax
setge dl
dec edx
and eax, edx
lea esp, [ebp - 0x1144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045856e
mov esp, ebp
pop ebp
ret 0xc