Function at 0x41cd74
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push dword [ebp + 8]
mov ecx, 0x4815c8
call fcn.004211d1
mov esi, eax
test esi, esi
je 0x41d3e2
cmp dword [esi + 0x10], 0xffffffff
je 0x41d3e2
lea eax, [esi + 0x14]
mov edi, 0x481080
push eax
mov ecx, edi
call fcn.0041843c
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041843c
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.0041843c
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041843c
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.0041cafa
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041cafa
push ebx
mov ecx, edi
call fcn.0041cafa
push 1
push 0
push 0
push 0x42ec2c
push str._0_
mov ecx, ebx
call fcn.0041effb
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041efcb
cmp dword [esi + 0x10], 2
jne 0x41ce24
push 0
mov ecx, ebx
call fcn.0041e3fa
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041cafa
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x41d3e2
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.0041d79d
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0041d79d
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.0041d79d
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.0041d79d
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x41d03d
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41cfcd
test byte [esi + 0x44], bl
je 0x41cf93
mov edi, 0x104
push edi
call fcn.00427869
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41cebf
mov ecx, 0x481a44
call fcn.0041f120
push eax
call fcn.0041fd97
pop ecx
push edi
push 0
push ebx
call fcn.00426f90
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42ebc0
call fcn.0041e237
lea ecx, [esi + 0x20]
call fcn.0041f120
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041f120
push eax
lea ecx, [esi + 0x38]
call fcn.0041f120
push eax
lea ecx, [esi + 0x2c]
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041e5fc
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41cf77
push edi
push 0
push dword [ebp + 8]
call fcn.00426f90
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42e9d4
call fcn.0041e314
lea ecx, [esi + 0x20]
call fcn.0041f120
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041f120
push eax
lea ecx, [esi + 0x38]
call fcn.0041f120
push eax
lea ecx, [esi + 0x2c]
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041e5fc
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.0042785e
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041e2fd
jmp 0x41d3a7
cmp eax, 1
jne 0x41cfcd
mov ecx, edi
call fcn.0041f120
push eax
lea ecx, [esi + 0x14]
call fcn.0041f120
push eax
call fcn.00427ade
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041f120
push eax
lea ecx, [esi + 0x2c]
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41d12a
mov edi, 0x104
push edi
call fcn.00427869
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41cff0
mov ecx, 0x481a44
call fcn.0041f120
push eax
call fcn.0041fd97
pop ecx
push edi
push 0
push ebx
call fcn.00426f90
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041f120
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041f120
push eax
lea ecx, [esi + 0x38]
call fcn.0041f120
push eax
lea ecx, [esi + 0x2c]
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041e314
push ebx
call fcn.0042785e
pop ecx
jmp 0x41d3a7
test ebx, ebx
jne 0x41d19f
mov ecx, edi
call fcn.0041f120
push eax
call fcn.00427a53
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x41d132
test byte [esi + 0x44], 3
je 0x41d132
lea eax, [ebp + 8]
xor edi, edi
push eax
push 1
push edi
lea ecx, [esi + 0x2c]
mov dword [ebp + 8], edi
call fcn.0041f120
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
mov ebx, eax
jne 0x41d0af
lea eax, [ebp - 8]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 8], 0x104
call fcn.0041f120
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
push dword [ebp + 8]
xor eax, eax
cmp ebx, edi
sete al
mov dword [esi + 0x54], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
je 0x41d3a7
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jbe 0x41d3a7
and byte [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x13]
push 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0041f120
push eax
call fcn.00427ade
pop ecx
push eax
call fcn.00428cac
add esp, 0xc
mov ecx, ebx
call fcn.0041f120
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004274c0
pop ecx
test eax, eax
pop ecx
jne 0x41d3a7
mov ecx, ebx
call fcn.0041f120
push eax
call fcn.00427ade
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41d3a7
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041f120
push eax
lea ecx, [esi + 0x2c]
call fcn.0041f120
push eax
push ebx
call fcn.0041ffb0
add esp, 0x10
test eax, eax
jge 0x41d17c
cmp dword [esi + 0xc], 1
jne 0x41d16b
lea ecx, [esi + 0x14]
call fcn.0041f120
push eax
call fcn.00427a53
jmp 0x41d129
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041e382
jmp 0x41d3a7
cmp dword [esi + 0xc], 1
jne 0x41d18c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x41d197
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.0041e314
push dword [ebp + 8]
jmp 0x41d032
cmp ebx, 2
jne 0x41d3a7
and dword [ebp - 8], 0
cmp byte [0x48239c], 0
jne 0x41d275
mov eax, dword [0x4811d8]
test eax, eax
je 0x41d1c9
mov eax, dword [eax + 4]
test eax, eax
jne 0x41d1de
mov eax, dword [0x481024]
test eax, eax
je 0x41d1d9
mov eax, dword [eax + 4]
test eax, eax
jne 0x41d1de
mov eax, dword [0x481240]
push 0
push 0x40581a
push eax
push 0x12
push dword [0x481244]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 8], eax
call fcn.0041f975
mov ebx, eax
test ebx, ebx
jne 0x41d213
mov ecx, 0x4821f4
call fcn.0041f120
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.0041e1c7
lea ecx, [ebp - 0x14]
call fcn.0041e1c7
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0041f120
push eax
call fcn.00420e53
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0041f120
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041e869
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0041f120
push eax
push 0x422
push dword [ebp - 8]
call fcn.00420f80
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041e2fd
lea ecx, [ebp - 0x24]
call fcn.0041e2fd
lea ecx, [esi + 0x2c]
call fcn.0041f120
and dword [ebp + 8], 0
mov ebx, eax
cmp byte [ebx], 0
je 0x41d2ef
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041e237
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041e3e5
cmp al, 0x5c
je 0x41d2ac
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041e3fa
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0
call fcn.0041f120
push eax
lea ecx, [ebp - 0x14]
call fcn.0041f120
push eax
call fcn.0040f384
add esp, 0x10
mov dword [ebp + 8], eax
test eax, eax
jg 0x41d2e7
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041e2fd
jmp 0x41d283
lea ecx, [ebp - 0x14]
call fcn.0041e2fd
test byte [esi + 0x44], 4
jne 0x41d314
cmp dword [ebp + 8], 0
jg 0x41d32c
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0
call fcn.0041f120
push eax
call fcn.0040f557
add esp, 0xc
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jg 0x41d32c
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.0041e382
jmp 0x41d398
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x41d367
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x24]
mov al, byte [eax]
push eax
call fcn.0041e1ee
lea edi, [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0041e382
lea ecx, [ebp - 0x24]
call fcn.0041e2fd
push 0x3a
mov ecx, edi
call fcn.0041e3fa
jmp 0x41d38f
push dword [ebp - 4]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041e314
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041e3e5
cmp al, 0x5c
jne 0x41d38f
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041e7ab
push dword [ebp - 4]
call fcn.0042785e
pop ecx
cmp dword [ebp - 8], 0
je 0x41d3a7
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x41d3d0
lea eax, [ebp - 0x24]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.00428cac
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x48]
push eax
call fcn.0041e314
jmp 0x41d3e2
lea ecx, [esi + 0x48]
call fcn.0041f120
push eax
call fcn.00427ade
pop ecx
mov dword [esi + 0x54], eax
pop edi
pop esi
pop ebx
leave
ret 4