Function at 0x403bc8
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x209c]
mov eax, 0x211c
call fcn.0050c890
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp + 0x2098], eax
mov eax, dword [ebp + 0x20a4]
push ebx
push esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20a8]
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x80], eax
xor ebx, ebx
lea eax, [ebp + 0x98]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], ebx
call fcn.00403aa2
cmp eax, ebx
jl 0x403ecf
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x98]
push eax
call fcn.004039c2
pop ecx
pop ecx
test eax, eax
jne 0x403c3e
mov eax, 0x80020009
jmp 0x403ecf
call fcn.00403a7d
lea eax, [ebp + 0x98]
mov ecx, esi
call fcn.00403aa2
cmp eax, ebx
jl 0x403ecf
movzx eax, word [ebp - 0x70]
sub eax, 8
je 0x403e88
sub eax, 9
je 0x403d8f
dec eax
dec eax
je 0x403d69
sub eax, 0x3ff5
jne 0x403ebe
lea eax, [ebp + 0x98]
push eax
call dword [0x52b250]
add eax, 2
push 2
push eax
mov dword [ebp - 0x6c], ebx
call fcn.00405b67
pop ecx
pop ecx
cmp eax, 0x100
jbe 0x403cb1
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00405987
jmp 0x403cb7
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov edi, dword [ebp - 0x6c]
cmp edi, ebx
je 0x403d4d
lea esi, [ebp + 0x98]
cmp word [ebp + 0x98], bx
je 0x403d08
mov ebx, dword [0x52b4fc]
push esi
call ebx
movzx ecx, word [esi]
cmp ecx, 0x5c
jne 0x403cf7
cmp word [eax], 0x30
jne 0x403cf7
xor ecx, ecx
mov word [edi], cx
push eax
add edi, 2
call ebx
mov esi, eax
jmp 0x403d00
mov word [edi], cx
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x403cd7
xor ebx, ebx
xor eax, eax
mov word [edi], ax
mov word [edi + 2], ax
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edi
cmp edi, ebx
jne 0x403d1f
push 0xd
jmp 0x403d4f
xor esi, esi
push edi
call dword [0x52b250]
inc eax
lea edi, [edi + eax*2]
lea esi, [esi + eax*2]
cmp eax, 1
jne 0x403d21
mov eax, dword [ebp - 0x74]
push esi
push dword [ebp - 0x70]
push 7
push ebx
push dword [ebp - 0x78]
push dword [eax]
call dword [0x52b01c]
mov esi, eax
jmp 0x403d50
push 0xe
pop esi
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x6c], eax
je 0x403eb1
lea eax, [ebp - 0x6c]
call fcn.00405871
jmp 0x403eb1
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
lea eax, [ebp + 0x98]
push eax
call dword [0x52b410]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
push 4
lea eax, [ebp - 0x70]
push eax
push 4
jmp 0x403ea3
lea eax, [ebp + 0x98]
push eax
call dword [0x52b250]
mov dword [ebp - 0x70], eax
test al, 1
je 0x403dad
mov eax, 0x80004005
jmp 0x403ecf
cdq
sub eax, edx
mov edi, eax
sar edi, 1
push 1
push edi
mov dword [ebp - 0x6c], ebx
call fcn.00405b67
pop ecx
pop ecx
cmp eax, 0x100
jbe 0x403dd4
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00405987
jmp 0x403dda
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], ebx
jne 0x403df0
lea eax, [ebp - 0x68]
test eax, eax
je 0x403da3
lea eax, [ebp - 0x6c]
call fcn.00405871
jmp 0x403da3
push edi
push ebx
push dword [ebp - 0x6c]
call fcn.00506540
add esp, 0xc
xor esi, esi
cmp dword [ebp - 0x70], ebx
jle 0x403e5e
movzx ecx, word [ebp + esi*2 + 0x98]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x6c]
mov edx, ecx
cmp edx, 0x30
jl 0x403e43
cmp edx, 0x39
jle 0x403e3e
cmp edx, 0x40
jle 0x403e43
cmp edx, 0x46
jle 0x403e39
add edx, 0xffffff9f
cmp edx, 5
ja 0x403e43
lea edx, [ecx - 0x57]
jmp 0x403e45
lea edx, [ecx - 0x37]
jmp 0x403e45
lea edx, [ecx - 0x30]
jmp 0x403e45
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 - 0x70]
jl 0x403e04
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
push edi
push dword [ebp - 0x6c]
push 3
push ebx
push dword [ebp - 0x78]
push eax
call dword [0x52b01c]
mov esi, eax
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x6c], eax
je 0x403eb1
lea eax, [ebp - 0x6c]
call fcn.00405871
jmp 0x403eb1
lea eax, [ebp + 0x98]
push eax
call dword [0x52b250]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp + 0x98]
push eax
push 1
push ebx
push dword [ebp - 0x78]
push dword [edi]
call dword [0x52b01c]
mov esi, eax
cmp esi, ebx
je 0x403ebe
mov eax, esi
call fcn.00402d02
jmp 0x403ecf
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
call fcn.00403aa2
cmp eax, ebx
jl 0x403ecf
xor eax, eax
mov ecx, dword [ebp + 0x2098]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe191
add ebp, 0x209c
leave
ret 8