Function at 0x41cdb0
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e3e68
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x52be84]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push esi
push edi
mov eax, dword [0x52be84]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push 0x103
lea ecx, [esp + 0x159]
push edi
mov dword [esp + 0x28], edi
push ecx
mov dword [esp + 0x54], eax
mov byte [esp + 0x160], 0
call fcn.0045a690
add esp, 0xc
push 0x103
lea edx, [esp + 0x51]
push edi
push edx
mov byte [esp + 0x58], 0
call fcn.0045a690
add esp, 0xc
push 0x103
lea eax, [esp + 0x471]
push edi
push eax
mov byte [esp + 0x478], 0
call fcn.0045a690
add esp, 0xc
push 0x104
lea ecx, [esp + 0x470]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x46c]
push edx
lea ecx, [esp + 0x34]
call fcn.00403d30
mov dword [esp + 0x690], edi
mov eax, dword [esp + 0x30]
push 0x5c
push eax
call fcn.004556a0
add esp, 8
cmp eax, edi
jne 0x41ce95
or eax, 0xffffffff
jmp 0x41ce99
sub eax, dword [esp + 0x30]
inc eax
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x38]
call fcn.00415580
mov byte [esp + 0x690], 1
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 0xc]
mov ecx, dword [esp + 0x40]
sub eax, dword [ecx - 0xc]
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00415500
push str.HKCommandLCD_20296.dll
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x69c], 2
call fcn.004156e0
add esp, 0xc
push 9
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x698], 3
call fcn.00415500
mov byte [esp + 0x690], 4
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41cf51
cmp dword [esi + 0xc], edi
jl 0x41cf43
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41cf43
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x41cf51
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00404330
mov byte [esp + 0x690], 3
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jne 0x41cf85
push str.nRefs___0
push edi
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41cf85
int3
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41cf9b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 5
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00415580
push str..dll
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x69c], 5
call fcn.004156e0
add esp, 0xc
mov byte [esp + 0x690], 6
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d012
cmp dword [esi + 0xc], edi
jl 0x41d004
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d004
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x41d012
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00404330
mov byte [esp + 0x690], 5
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jne 0x41d046
push str.nRefs___0
push edi
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41d046
int3
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41d05c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x690], 3
mov esi, dword [esp + 0x28]
add esi, 0xfffffff0
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jne 0x41d090
push str.nRefs___0
push edi
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41d090
int3
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x41d0a6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 5
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x24]
call fcn.00415580
push 0x51bfa0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x69c], 7
call fcn.004156e0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x69c], 8
call fcn.00415600
add esp, 0xc
mov byte [esp + 0x690], 0xa
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jne 0x41d124
push str.nRefs___0
push edi
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41d124
int3
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41d13a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x41d14f
call fcn.0041b4a0
cmp eax, edi
jne 0x41dc3d
push 0x103
lea ecx, [esp + 0x261]
push edi
push ecx
mov byte [esp + 0x268], 0
call fcn.0045a690
add esp, 0xc
push 0x104
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x28]
call fcn.00403d30
push 1
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x698], 0xb
call fcn.00415500
push 0x51b82c
mov byte [esp + 0x694], 0xc
mov ebx, 1
push eax
mov dword [esp + 0x28], ebx
call fcn.004157e0
add esp, 8
test al, al
jne 0x41d1f7
push ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
call fcn.00415500
push 0x51e9a4
push eax
mov ebx, 3
call fcn.004157e0
add esp, 8
mov byte [esp + 0x2f], 0
test al, al
je 0x41d1fc
mov byte [esp + 0x2f], 1
test bl, 2
je 0x41d20d
lea ecx, [esp + 0x18]
and ebx, 0xfffffffd
call fcn.00403df0
mov dword [esp + 0x690], 0xb
test bl, 1
je 0x41d226
lea ecx, [esp + 0x28]
call fcn.00403df0
cmp byte [esp + 0x2f], 0
je 0x41d2a1
mov eax, dword [esp + 0x24]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00415580
mov byte [esp + 0x690], 0xd
mov ecx, dword [eax]
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d290
cmp dword [esi + 0xc], edi
jl 0x41d282
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d282
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x24], ebx
jmp 0x41d290
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404330
lea ecx, [esp + 0x18]
mov byte [esp + 0x690], 0xb
call fcn.00403df0
push 1
push 0x51b82c
lea ecx, [esp + 0x2c]
call fcn.00417450
push str.HKCommandLCD_20296.dll
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004156e0
add esp, 0xc
mov byte [esp + 0x690], 0xe
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d314
cmp dword [esi + 0xc], edi
jl 0x41d306
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d306
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x41d314
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404330
mov byte [esp + 0x690], 0xb
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jne 0x41d348
push str.nRefs___0
push edi
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41d348
int3
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41d35e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 0x51bfa0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004156e0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x69c], 0xf
call fcn.00415600
add esp, 0xc
mov byte [esp + 0x690], 0x10
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d3dc
cmp dword [esi + 0xc], edi
jl 0x41d3ce
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d3ce
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x41d3dc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404330
mov byte [esp + 0x690], 0xf
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jne 0x41d410
push str.nRefs___0
push edi
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41d410
int3
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41d426
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x690], 0xb
mov esi, dword [esp + 0x28]
add esi, 0xfffffff0
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jne 0x41d45a
push str.nRefs___0
push edi
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41d45a
int3
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x41d470
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x41d485
call fcn.0041b4a0
cmp eax, edi
jne 0x41dbc7
push 0x104
lea ecx, [esp + 0x578]
push edi
push ecx
call fcn.0045a690
add esp, 0xc
call fcn.0041b6b0
neg eax
sbb eax, eax
and eax, 4
push edi
add eax, 0x26
push eax
lea edx, [esp + 0x57c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x41d508
lea ecx, [esp + 0x24]
call fcn.00403df0
lea ecx, [esp + 0x14]
call fcn.00403df0
lea ecx, [esp + 0x3c]
call fcn.00403df0
lea ecx, [esp + 0x10]
call fcn.00403df0
lea ecx, [esp + 0x1c]
call fcn.00403df0
lea ecx, [esp + 0x40]
call fcn.00403df0
lea ecx, [esp + 0x30]
call fcn.00403df0
mov eax, 1
jmp 0x41de99
lea eax, [esp + 0x574]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403d30
push str.GECSP
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x69c], 0x11
call fcn.004156e0
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x69c], 0x12
call fcn.00415600
add esp, 0xc
push 0x51b82c
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x69c], 0x13
call fcn.004156e0
add esp, 0xc
push str.HKCommandLCD_20296.dll
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x69c], 0x14
call fcn.004156e0
add esp, 0xc
mov byte [esp + 0x690], 0x15
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d5d5
cmp dword [esi + 0xc], edi
jl 0x41d5c7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d5c7
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x41d5d5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404330
lea ecx, [esp + 0x18]
call fcn.00403df0
lea ecx, [esp + 0x20]
call fcn.00403df0
lea ecx, [esp + 0x34]
call fcn.00403df0
lea ecx, [esp + 0x38]
mov byte [esp + 0x690], 0x11
call fcn.00403df0
push str.GECSP
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004156e0
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x69c], 0x16
call fcn.00415600
add esp, 0xc
push str.GECSP
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x69c], 0x17
call fcn.004156e0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x69c], 0x18
call fcn.00415600
add esp, 0xc
mov byte [esp + 0x690], 0x19
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d6b5
cmp dword [esi + 0xc], edi
jl 0x41d6a7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d6a7
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x41d6b5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404330
lea ecx, [esp + 0x38]
call fcn.00403df0
lea ecx, [esp + 0x34]
call fcn.00403df0
lea ecx, [esp + 0x18]
call fcn.00403df0
lea ecx, [esp + 0x20]
mov byte [esp + 0x690], 0x11
call fcn.00403df0
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x41d6f6
call fcn.0041b4a0
cmp eax, edi
jne 0x41db73
push 0x51bfa0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004156e0
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x69c], 0x1a
call fcn.00415600
add esp, 0xc
push 0x51b82c
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x69c], 0x1b
call fcn.004156e0
add esp, 0xc
push str.HKCommandLCD_20296.dll
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x69c], 0x1c
call fcn.004156e0
add esp, 0xc
mov byte [esp + 0x690], 0x1d
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d7aa
cmp dword [esi + 0xc], edi
jl 0x41d79c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d79c
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x41d7aa
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404330
lea ecx, [esp + 0x38]
call fcn.00403df0
lea ecx, [esp + 0x34]
call fcn.00403df0
lea ecx, [esp + 0x18]
call fcn.00403df0
lea ecx, [esp + 0x20]
mov byte [esp + 0x690], 0x11
call fcn.00403df0
push 0x51bfa0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004156e0
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x69c], 0x1e
call fcn.00415600
add esp, 0xc
push str.GECSP
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x69c], 0x1f
call fcn.004156e0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x69c], 0x20
call fcn.00415600
add esp, 0xc
mov byte [esp + 0x690], 0x21
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41d88a
cmp dword [esi + 0xc], edi
jl 0x41d87c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41d87c
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x41d88a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404330
lea ecx, [esp + 0x38]
call fcn.00403df0
lea ecx, [esp + 0x34]
call fcn.00403df0
lea ecx, [esp + 0x18]
call fcn.00403df0
lea ecx, [esp + 0x20]
mov byte [esp + 0x690], 0x11
call fcn.00403df0
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x41d8cb
call fcn.0041b4a0
cmp eax, edi
jne 0x41db3c
lea ecx, [esp + 0x20]
call fcn.00403850
push str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
lea ecx, [esp + 0x24]
mov byte [esp + 0x694], 0x22
call fcn.004043e0
call fcn.0041b6b0
test eax, eax
je 0x41d901
push str.SOFTWAREWow6432NodeMicrosoftCryptographyDefaultsProvider_
lea ecx, [esp + 0x24]
call fcn.004043e0
push str.HaiTai_Cryptographic_Service_Provider
lea ecx, [esp + 0x24]
call fcn.00415180
lea eax, [esp + 0x18]
push eax
push 0x20019
push edi
push edi
lea ecx, [esp + 0x30]
call fcn.00404190
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41d98d
lea ecx, [esp + 0x20]
call fcn.00403df0
lea ecx, [esp + 0x28]
call fcn.00403df0
lea ecx, [esp + 0x24]
call fcn.00403df0
lea ecx, [esp + 0x14]
call fcn.00403df0
lea ecx, [esp + 0x3c]
call fcn.00403df0
lea ecx, [esp + 0x10]
call fcn.00403df0
lea ecx, [esp + 0x1c]
call fcn.00403df0
lea ecx, [esp + 0x40]
call fcn.00403df0
lea ecx, [esp + 0x30]
call fcn.00403df0
or eax, 0xffffffff
jmp 0x41de99
push 0x103
lea ecx, [esp + 0x369]
push edi
push ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 0x80
mov byte [esp + 0x370], 0
call fcn.0045a690
add esp, 0xc
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x368]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push str.realPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x41d934
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x364]
push ecx
lea ecx, [esp + 0x18]
call fcn.004043e0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41da44
cmp dword [esi + 0xc], edi
jl 0x41da36
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41da36
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x41da44
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404330
lea esi, [esp + 0x10]
call fcn.004154e0
inc eax
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00415580
mov byte [esp + 0x690], 0x23
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41daa7
cmp dword [esi + 0xc], edi
jl 0x41da99
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41da99
push eax
call fcn.00403e80
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00403fe0
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x41daa7
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00404330
lea ecx, [esp + 0x44]
mov byte [esp + 0x690], 0x22
call fcn.00403df0
push str.HKCommandLCD_20296.dll
lea ecx, [esp + 0x14]
call fcn.00415180
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x41d934
call fcn.0041b4a0
cmp eax, edi
je 0x41d934
push edi
lea ecx, [esp + 0x14]
call fcn.00404190
push eax
lea eax, [esp + 0x158]
push 0x104
push eax
call fcn.00454120
add esp, 0xc
push edi
lea ecx, [esp + 0x18]
call fcn.00404190
push eax
lea ecx, [esp + 0x50]
push 0x104
push ecx
call fcn.00454120
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.00403df0
lea ecx, [esp + 0x28]
call fcn.00403df0
lea ecx, [esp + 0x24]
call fcn.00403df0
jmp 0x41dca8
push edi
lea ecx, [esp + 0x14]
call fcn.00404190
push eax
lea edx, [esp + 0x158]
push 0x104
push edx
call fcn.00454120
add esp, 0xc
push edi
lea ecx, [esp + 0x18]
call fcn.00404190
push eax
push 0x104
lea eax, [esp + 0x54]
push eax
jmp 0x41dba8
push edi
lea ecx, [esp + 0x14]
call fcn.00404190
push eax
lea ecx, [esp + 0x158]
push 0x104
push ecx
call fcn.00454120
add esp, 0xc
push edi
lea ecx, [esp + 0x18]
call fcn.00404190
push eax
push 0x104
lea edx, [esp + 0x54]
push edx
call fcn.00454120
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.00403df0
lea ecx, [esp + 0x24]
call fcn.00403df0
jmp 0x41dca8
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x41dbe8
push edi
lea ecx, [esp + 0x14]
call fcn.00404140
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x158]
push 0x104
push eax
call fcn.00454120
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x41dc1f
push edi
lea ecx, [esp + 0x18]
call fcn.00404140
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
push 0x104
push ecx
call fcn.00454120
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.00403df0
jmp 0x41dca8
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x41dc5e
push edi
lea ecx, [esp + 0x14]
call fcn.00404140
mov edx, dword [esp + 0x10]
push edx
lea edx, [esp + 0x158]
push 0x104
push edx
call fcn.00454120
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x41dc95
push edi
lea ecx, [esp + 0x18]
call fcn.00404140
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.00454120
add esp, 0xc
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41dcb0
sub eax, edx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
push ecx
inc eax
push eax
push edx
call fcn.00454120
mov byte [esp + 0x69c], 7
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
lea edi, [esi + 0xc]
add esp, 0xc
cmp dword [edi], 0
jne 0x41dd02
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41dd02
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41dd18
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x690], 3
mov esi, dword [esp + 0x3c]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x41dd4e
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41dd4e
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41dd64
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x690], 2
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x41dd9a
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41dd9a
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41ddb0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x690], 1
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x41dde6
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41dde6
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41ddfc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x690], 0
mov esi, dword [esp + 0x40]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x41de32
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41de32
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41de48
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x690], 0xffffffff
mov esi, dword [esp + 0x30]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x41de81
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004520b0
add esp, 0x14
cmp eax, 1
jne 0x41de81
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41de97
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.004520a0
mov esp, ebp
pop ebp
ret