Function at 0x450ff0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x50]
xor ebx, ebx
mov dword [ebp - 0x278], edi
mov dword [edi + 0x1b4], ebx
call fcn.004a10cf
cmp eax, ebx
je 0x451033
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x240], eax
jmp 0x451039
mov dword [ebp - 0x240], ebx
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x270], ecx
mov ecx, dword [esi + 0x70]
mov dword [ebp - 0x268], ecx
mov ecx, dword [edi + 0x50]
mov dword [ebp - 0x248], edx
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x25c], eax
mov eax, dword [esi + 0x80]
mov esi, dword [ecx + 0x50]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x258], eax
mov byte [esi + 0x449], al
mov byte [ebp - 0x235], bl
cmp byte [esi + 0x46a], bl
je 0x4515ae
push 1
push 0x58a919
mov ecx, esi
call fcn.0042a5b0
push 0x58a919
lea edx, [ebp - 0x288]
push edx
mov ecx, esi
mov byte [esi + 0x454], 1
mov byte [esi + 0x448], bl
call fcn.0042c110
test al, al
je 0x451709
mov eax, dword [ebp - 0x280]
shr eax, 0x10
push 1
and eax, 0x7fff
push 0x58a919
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.0042ae50
test eax, eax
jne 0x451709
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
push 1
push esi
call edx
test eax, eax
jne 0x451709
movzx eax, byte [esi + 0x449]
push 1
push 1
push eax
mov ecx, esi
call fcn.0042a8d0
cmp byte [esi + 0x450], bl
je 0x451130
cmp eax, 4
je 0x451124
cmp eax, 1
jne 0x451130
or byte [esi + 0x448], 0x30
jmp 0x451709
lea ecx, [ebp - 0x250]
push ecx
call fcn.00422520
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], eax
cmp byte [esi + 0x450], bl
je 0x4511c1
push 1
push 0x58a919
mov ecx, esi
call fcn.0042a5b0
test al, al
je 0x4511c1
cmp word [esi + 0x12], bx
jne 0x4515a2
lea ecx, [ebp - 0x23c]
push ecx
push 0x17
lea edi, [esi + 0x14]
push edi
call fcn.00469d00
mov dx, word [ebp - 0x23c]
lea eax, [ebp - 0x23c]
push eax
push 0x18
push edi
mov word [ebp - 0x24a], dx
call fcn.00469d00
mov cx, word [ebp - 0x23c]
mov word [ebp - 0x24c], cx
push ebx
mov ecx, esi
call fcn.00428070
mov eax, dword [ebp - 0x24c]
jmp 0x45141a
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x108]
push eax
push 0x104
push str..ini
push str.TasManager
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x451238
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x108]
push edx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.004a1e94
test eax, eax
je 0x451238
mov eax, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
jmp 0x451243
mov dword [ebp - 0x24c], ebx
mov edi, 0x41b43985
lea ecx, [ebp - 0x244]
push ecx
push 0xf003f
push ebx
push str.SoftwareDataEnvDesSolLtdManager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x248], 4
test eax, eax
jne 0x451341
lea edx, [ebp - 0x248]
push edx
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x274]
push ecx
push ebx
push str.LastEnv
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov eax, dword [ebp - 0x234]
rol eax, 0x17
mov dword [ebp - 0x234], eax
mov ecx, eax
mov al, byte [ebp - 0x234]
xor byte [ebp - 0x233], al
mov dl, byte [ebp - 0x233]
xor byte [ebp - 0x232], dl
shr ecx, 0x18
xor cl, al
xor al, dl
mov byte [ebp - 0x231], cl
mov byte [ebp - 0x234], al
mov eax, dword [ebp - 0x234]
mov ecx, eax
shr ecx, 0x18
mov edx, eax
shr edx, 0x12
xor ecx, edx
mov edx, eax
shr edx, 0xc
xor ecx, edx
mov edx, eax
shr edx, 6
xor ecx, edx
mov edx, eax
xor ecx, eax
shr edx, 0x1e
and ecx, 0x3f
and edx, 3
xor ecx, edx
je 0x451310
mov eax, 0x7fffffc0
jmp 0x451313
and eax, 0xffffffc0
mov dword [ebp - 0x234], eax
test ebx, ebx
je 0x4513ff
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x244]
push ecx
push 0
push 0xf003f
push 0
push str.REG_DWORD
push 0
jmp 0x45135c
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x244]
push ecx
push ebx
push 0xf003f
push ebx
push str.REG_DWORD
push ebx
push str.SoftwareDataEnvDesSolLtdManager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
mov eax, edi
shr eax, 6
xor eax, edi
shr eax, 6
xor eax, edi
shr eax, 6
xor eax, edi
and eax, 0xfc0
mov edx, edi
shr edx, 0x18
xor eax, edx
shr eax, 6
mov ecx, edi
and ecx, 0xffffffc0
or eax, ecx
mov dword [ebp - 0x234], eax
mov cl, byte [ebp - 0x233]
xor byte [ebp - 0x232], cl
mov edx, eax
mov al, byte [ebp - 0x234]
shr edx, 8
xor al, dl
xor byte [ebp - 0x233], al
xor byte [ebp - 0x231], al
mov byte [ebp - 0x234], al
mov eax, dword [ebp - 0x248]
mov edx, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 4
ror edx, 0x17
push 0
mov dword [ebp - 0x234], edx
mov edx, dword [ebp - 0x244]
push str.LastEnv
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x234], edi
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
test ebx, ebx
jne 0x4515a0
cdq
mov dword [ebp - 0x250], eax
movzx eax, byte [esi + 0x449]
mov dword [ebp - 0x24c], edx
cmp eax, 3
ja case.default.0x451433
jmp dword [eax*4 + 0x451890]
mov eax, dword [esi + 0x430]
shl eax, 0x10
cdq
mov ebx, eax
movzx eax, byte [esi + 0x440]
mov edi, edx
cdq
jmp 0x4514b2
mov eax, dword [esi + 0x438]
shl eax, 0x10
cdq
mov ebx, eax
movzx eax, byte [esi + 0x442]
mov edi, edx
cdq
jmp 0x4514b2
mov eax, dword [esi + 0x434]
shl eax, 0x10
cdq
mov ebx, eax
movzx eax, byte [esi + 0x441]
mov edi, edx
cdq
jmp 0x4514b2
mov eax, dword [esi + 0x43c]
shl eax, 0x10
cdq
mov ebx, eax
movzx eax, byte [esi + 0x443]
mov edi, edx
cdq
jmp 0x4514b2
mov edi, dword [ebp - 0x24c]
mov ebx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x260], edi
jl 0x451594
jg 0x4514cc
cmp dword [ebp - 0x264], ebx
jb 0x451594
push 0
push 0x93a80
push edx
push eax
call fcn.004cf660
mov ecx, dword [ebp - 0x260]
add eax, ebx
adc edx, edi
cmp ecx, edx
jg 0x451594
jl 0x4514fa
cmp dword [ebp - 0x264], eax
ja 0x451594
mov eax, dword [ebp - 0x250]
add eax, 0xffffeae8
cdq
xor eax, edx
sub eax, edx
cdq
cmp ecx, edx
jl 0x451594
jg 0x45151d
cmp dword [ebp - 0x264], eax
jbe 0x451594
movzx eax, byte [esi + 0x449]
cmp dword [ebp - 0x258], eax
jne 0x451588
movzx eax, byte [esi + 0x44b]
movzx edx, byte [esi + 0x44c]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x26c]
lea ecx, [edx + ecx*2]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x268]
lea edx, [eax + edx*2]
cmp edx, ecx
jg 0x451588
mov eax, dword [ebp - 0x280]
shr eax, 0x10
and eax, 0x7fff
cmp eax, dword [esi + 0xc]
jne 0x45157c
mov ecx, esi
call fcn.0042acd0
cmp byte [esi + 0x44f], al
je 0x451700
or byte [esi + 0x448], 0x21
jmp 0x451707
or byte [esi + 0x448], 0x22
jmp 0x451707
or byte [esi + 0x448], 0x24
jmp 0x451707
xor ebx, ebx
or byte [esi + 0x448], 0x28
jmp 0x451709
mov ecx, dword [esi + 0x460]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esi + 0x460]
cmp byte [ecx + 0x128], bl
je 0x451788
cmp byte [ecx + 0x129], bl
jne 0x451788
cmp eax, ebx
jne 0x451788
movzx eax, byte [esi + 0x449]
cmp eax, 3
ja case.default.0x4515ed
jmp dword [eax*4 + 0x4518a0]
mov eax, 1
jmp 0x451616
mov eax, 2
jmp 0x451616
mov eax, 4
jmp 0x451616
mov eax, 3
jmp 0x451616
mov eax, dword [ebp - 0x274]
push ebx
push eax
call fcn.00552af0
test eax, eax
je 0x451709
mov ecx, dword [esi + 0x460]
call fcn.0054b840
test eax, eax
je 0x451709
mov ecx, dword [esi + 0x460]
push 0x57c8f4
push str.VersionMajor
call fcn.0054b870
push eax
call fcn.004d1a94
mov ecx, dword [esi + 0x460]
add esp, 4
push 0x57c8f4
push str.VersionMinor1
mov edi, eax
call fcn.0054b870
push eax
call fcn.004d1a94
mov ecx, dword [esi + 0x460]
add esp, 4
push 0x57c8f4
push str.VersionMinor2
mov ebx, eax
call fcn.0054b870
push eax
call fcn.004d1a94
mov ecx, dword [esi + 0x460]
add esp, 4
push 0x57c8f4
push str.VersionMinor3
mov dword [ebp - 0x258], eax
call fcn.0054b870
push eax
call fcn.004d1a94
lea ecx, [edi + edi*4]
lea ecx, [ebx + ecx*2]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp - 0x258]
lea ecx, [ecx + edx*2]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
mov eax, dword [ebp - 0x26c]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x268]
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x25c]
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x248]
lea edx, [eax + edx*2]
add esp, 4
cmp ecx, edx
jl 0x451707
mov dword [esi + 4], 0xffffffff
xor ebx, ebx
inc dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp - 0x270], ebx
je 0x45173d
cmp dword [esi + 8], 1
jne 0x451734
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0x1c]
push ebx
push 0x6e
push 0x111
push ecx
call edi
inc dword [esi + 8]
mov eax, dword [esi + 8]
add dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 2
jle 0x4517eb
cmp eax, 7
jge 0x4517eb
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x4517eb
mov edx, dword [esi + 0x460]
cmp byte [edx + 0x128], 0
push ebx
jne 0x4517b9
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0x1c]
push 0x8092
push 0x111
push ecx
jmp 0x4517e9
cmp byte [esi + 0x468], bl
jne 0x4517a5
test al, 0x10
je 0x4517a5
mov byte [esi + 0x468], 1
call fcn.00420b90
jmp 0x451709
test al, 0x40
je 0x451709
mov byte [ebp - 0x235], 1
jmp 0x451709
cmp byte [ebp - 0x235], 0
je 0x4517d8
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0x1c]
push 0x8094
push 0x111
push eax
jmp 0x4517e9
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 0x1c]
push 0x66
push 0x111
push edx
call edi
mov eax, dword [esi + 4]
cmp eax, 7
jle 0x451814
cmp eax, 0xd
jge 0x451814
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x451814
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0x1c]
push ebx
push ebx
push 0x10
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, 0xd
jle 0x451834
cmp eax, 0x13
jge 0x451834
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x451834
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esi + 4]
cmp eax, 0x13
jle 0x45185c
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x45185c
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0x1c]
push ebx
push 0x68
push 0x111
push eax
call edi
push ebx
mov ecx, esi
mov byte [esi + 0x454], 0
call fcn.00428070
mov ecx, dword [ebp - 0x278]
mov edx, dword [ecx + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cdc91
mov esp, ebp
pop ebp
ret