Function at 0x41d96c
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, 0x482980
call fcn.00421fff
mov esi, eax
test esi, esi
je 0x41dfe0
cmp dword [esi + 0x10], 0xffffffff
je 0x41dfe0
lea eax, [esi + 0x14]
mov edi, 0x482408
push eax
mov ecx, edi
call fcn.00418e4f
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.00418e4f
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.00418e4f
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.00418e4f
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.0041d6f6
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041d6f6
push ebx
mov ecx, edi
call fcn.0041d6f6
push 1
push 0
push 0
push 0x42fc44
push str._0_
mov ecx, ebx
call fcn.0041fdd7
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041fda7
cmp dword [esi + 0x10], 2
jne 0x41da1c
push 0
mov ecx, ebx
call fcn.0041f1be
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041d6f6
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x41dfe0
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.0041e39b
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0041e39b
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.0041e39b
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.0041e39b
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x41dc35
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41dbc5
test byte [esi + 0x44], bl
je 0x41db8b
mov edi, 0x104
push edi
call fcn.00428bd9
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41dab7
mov ecx, 0x482e04
call fcn.0041ff07
push eax
call fcn.00420bbf
pop ecx
push edi
push 0
push ebx
call fcn.00428300
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42fbd8
call fcn.0041efa5
lea ecx, [esi + 0x20]
call fcn.0041ff07
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041ff07
push eax
lea ecx, [esi + 0x38]
call fcn.0041ff07
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ff07
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041f3c0
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41db6f
push edi
push 0
push dword [ebp + 8]
call fcn.00428300
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42fa0c
call fcn.0041f0d8
lea ecx, [esi + 0x20]
call fcn.0041ff07
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041ff07
push eax
lea ecx, [esi + 0x38]
call fcn.0041ff07
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ff07
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041f3c0
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.00428bce
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041f06b
jmp 0x41dfa5
cmp eax, 1
jne 0x41dbc5
mov ecx, edi
call fcn.0041ff07
push eax
lea ecx, [esi + 0x14]
call fcn.0041ff07
push eax
call fcn.00428e4e
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041ff07
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ff07
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41dd28
mov edi, 0x2800
push edi
call fcn.00428bd9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41dbe8
mov ecx, 0x482e04
call fcn.0041ff07
push eax
call fcn.00420bbf
pop ecx
push edi
push 0
push ebx
call fcn.00428300
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041ff07
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041ff07
push eax
lea ecx, [esi + 0x38]
call fcn.0041ff07
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ff07
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041f0d8
push ebx
call fcn.00428bce
pop ecx
jmp 0x41dfa5
test ebx, ebx
jne 0x41dd9d
mov ecx, edi
call fcn.0041ff07
push eax
call fcn.00428dc3
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x41dd30
test byte [esi + 0x44], 3
je 0x41dd30
lea eax, [ebp + 8]
xor edi, edi
push eax
mov eax, dword [0x483760]
or al, 1
lea ecx, [esi + 0x2c]
push eax
push edi
mov dword [ebp + 8], edi
call fcn.0041ff07
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
mov ebx, eax
jne 0x41dcad
lea eax, [ebp - 8]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 8], 0x104
call fcn.0041ff07
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 0x41dfa5
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jbe 0x41dfa5
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.0041ff07
push eax
call fcn.00428e4e
pop ecx
push eax
call fcn.0042b8b6
add esp, 0xc
mov ecx, ebx
call fcn.0041ff07
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00428830
pop ecx
test eax, eax
pop ecx
jne 0x41dfa5
mov ecx, ebx
call fcn.0041ff07
push eax
call fcn.00428e4e
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41dfa5
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041ff07
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ff07
push eax
push ebx
call fcn.00420dd8
add esp, 0x10
test eax, eax
jge 0x41dd7a
cmp dword [esi + 0xc], 1
jne 0x41dd69
lea ecx, [esi + 0x14]
call fcn.0041ff07
push eax
call fcn.00428dc3
jmp 0x41dd27
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041f146
jmp 0x41dfa5
cmp dword [esi + 0xc], 1
jne 0x41dd8a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x41dd95
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.0041f0d8
push dword [ebp + 8]
jmp 0x41dc2a
cmp ebx, 2
jne 0x41dfa5
and dword [ebp - 8], 0
cmp byte [0x48375c], 0
jne 0x41de73
mov eax, dword [0x482590]
test eax, eax
je 0x41ddc7
mov eax, dword [eax + 4]
test eax, eax
jne 0x41dddc
mov eax, dword [0x4823a8]
test eax, eax
je 0x41ddd7
mov eax, dword [eax + 4]
test eax, eax
jne 0x41dddc
mov eax, dword [0x4825f8]
push 0
push 0x40581a
push eax
push 0x12
push dword [0x4825fc]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 8], eax
call fcn.00420778
mov ebx, eax
test ebx, ebx
jne 0x41de11
mov ecx, 0x4835b4
call fcn.0041ff07
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.0041ef35
lea ecx, [ebp - 0x14]
call fcn.0041ef35
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0041ff07
push eax
call fcn.00421c81
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0041ff07
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041f62d
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0041ff07
push eax
push 0x422
push dword [ebp - 8]
call fcn.00421dae
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041f06b
lea ecx, [ebp - 0x24]
call fcn.0041f06b
lea ecx, [esi + 0x2c]
call fcn.0041ff07
and dword [ebp + 8], 0
mov ebx, eax
cmp byte [ebx], 0
je 0x41deed
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041efa5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041f1a9
cmp al, 0x5c
je 0x41deaa
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041f1be
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x14]
call fcn.0041ff07
push eax
call fcn.0040f6db
add esp, 0x10
mov dword [ebp + 8], eax
test eax, eax
jg 0x41dee5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041f06b
jmp 0x41de81
lea ecx, [ebp - 0x14]
call fcn.0041f06b
test byte [esi + 0x44], 4
jne 0x41df12
cmp dword [ebp + 8], 0
jg 0x41df2a
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0
call fcn.0041ff07
push eax
call fcn.0040f8ae
add esp, 0xc
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jg 0x41df2a
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.0041f146
jmp 0x41df96
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x41df65
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x24]
mov al, byte [eax]
push eax
call fcn.0041ef5c
lea edi, [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0041f146
lea ecx, [ebp - 0x24]
call fcn.0041f06b
push 0x3a
mov ecx, edi
call fcn.0041f1be
jmp 0x41df8d
push dword [ebp - 4]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041f0d8
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041f1a9
cmp al, 0x5c
jne 0x41df8d
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041f56f
push dword [ebp - 4]
call fcn.00428bce
pop ecx
cmp dword [ebp - 8], 0
je 0x41dfa5
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x41dfce
lea eax, [ebp - 0x24]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.0042b8b6
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x48]
push eax
call fcn.0041f0d8
jmp 0x41dfe0
lea ecx, [esi + 0x48]
call fcn.0041ff07
push eax
call fcn.00428e4e
pop ecx
mov dword [esi + 0x54], eax
pop edi
pop esi
pop ebx
leave
ret 4