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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push dword [ebp + 8]
mov ecx, 0x47e4d0
call fcn.0041e860
mov esi, eax
test esi, esi
je 0x41b095
cmp dword [esi + 0x10], 0xffffffff
je 0x41b095
lea eax, [esi + 0x14]
mov edi, 0x47dfb8
push eax
mov ecx, edi
call fcn.004164b1
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.004164b1
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.004164b1
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.004164b1
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.0041a81a
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041a81a
push ebx
mov ecx, edi
call fcn.0041a81a
push 1
push 0
push 0
push 0x42c38c
push str._0_
mov ecx, ebx
call fcn.0041cbf9
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041cbc9
cmp dword [esi + 0x10], 2
jne 0x41ab7d
push 0
mov ecx, ebx
call fcn.0041bff8
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041a81a
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x41b095
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.0041b3b9
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0041b3b9
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.0041b3b9
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.0041b3b9
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x41ad96
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41ad26
test byte [esi + 0x44], bl
je 0x41acec
mov edi, 0x104
push edi
call fcn.00424dd9
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41ac18
mov ecx, 0x47e924
call fcn.0041cd1e
push eax
call fcn.0041d881
pop ecx
push edi
push 0
push ebx
call fcn.00424500
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42bca0
call fcn.0041be35
lea ecx, [esi + 0x20]
call fcn.0041cd1e
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x38]
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041cd1e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041c1fa
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41acd0
push edi
push 0
push dword [ebp + 8]
call fcn.00424500
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42b9bc
call fcn.0041bf12
lea ecx, [esi + 0x20]
call fcn.0041cd1e
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x38]
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041cd1e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041c1fa
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.00424dce
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041befb
jmp 0x41b06e
cmp eax, 1
jne 0x41ad26
mov ecx, edi
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x14]
call fcn.0041cd1e
push eax
call fcn.0042504e
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041cd1e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41ae56
mov edi, 0x104
push edi
call fcn.00424dd9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41ad49
mov ecx, 0x47e924
call fcn.0041cd1e
push eax
call fcn.0041d881
pop ecx
push edi
push 0
push ebx
call fcn.00424500
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041cd1e
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x38]
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041cd1e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041bf12
push ebx
call fcn.00424dce
pop ecx
jmp 0x41b06e
test ebx, ebx
jne 0x41ae92
mov ecx, edi
call fcn.0041cd1e
push eax
call fcn.00424fc3
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x41ae1e
test byte [esi + 0x44], 3
je 0x41ae1e
lea eax, [ebp + 8]
xor edi, edi
push eax
push 1
push edi
lea ecx, [esi + 0x2c]
mov dword [ebp + 8], edi
call fcn.0041cd1e
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
je 0x41ade8
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [esi + 0x54], ecx
jmp 0x41ae10
lea eax, [ebp - 4]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 4], 0x104
call fcn.0041cd1e
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b06e
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041cd1e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041cd1e
push eax
push ebx
call fcn.0041dae7
add esp, 0x10
test eax, eax
jge 0x41ae6f
cmp dword [esi + 0xc], 1
jne 0x41ae5e
lea ecx, [esi + 0x14]
call fcn.0041cd1e
push eax
call fcn.00424fc3
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41b06e
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041bf80
jmp 0x41b06e
cmp dword [esi + 0xc], 1
jne 0x41ae7f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x41ae8a
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.0041bf12
push dword [ebp + 8]
jmp 0x41ad8b
cmp ebx, 2
jne 0x41b06e
and dword [ebp - 4], 0
cmp byte [0x47f27c], 0
jne 0x41af42
mov eax, dword [0x47e110]
test eax, eax
je 0x41aebc
mov eax, dword [eax + 4]
test eax, eax
jne 0x41aed1
mov eax, dword [0x47df60]
test eax, eax
je 0x41aecc
mov eax, dword [eax + 4]
test eax, eax
jne 0x41aed1
mov eax, dword [0x47e178]
push 0
push 0x405811
push eax
push 0x12
push dword [0x47e17c]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 4], eax
call fcn.0041d46f
mov ebx, eax
test ebx, ebx
jne 0x41af06
mov ecx, 0x47f0d4
call fcn.0041cd1e
mov ebx, eax
lea ecx, [ebp - 0x14]
call fcn.0041bdc5
mov ecx, edi
call fcn.0041cd1e
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041c467
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041cd1e
push eax
push 0x422
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x14]
call fcn.0041befb
lea ecx, [esi + 0x2c]
call fcn.0041cd1e
mov ebx, eax
xor edi, edi
cmp byte [ebx], 0
je 0x41afba
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041be35
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041bfe3
cmp al, 0x5c
je 0x41af77
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041bff8
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041cd1e
push eax
lea ecx, [ebp - 0x14]
call fcn.0041cd1e
push eax
call fcn.0040e2ee
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x41afb2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041befb
jmp 0x41af4e
lea ecx, [ebp - 0x14]
call fcn.0041befb
test byte [esi + 0x44], 4
jne 0x41afdd
test edi, edi
jg 0x41aff3
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041cd1e
push eax
call fcn.0040e4c1
add esp, 0xc
mov edi, eax
test edi, edi
jg 0x41aff3
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.0041bf80
jmp 0x41b05f
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x41b02e
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov al, byte [eax]
push eax
call fcn.0041bdec
lea edi, [esi + 0x48]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0041bf80
lea ecx, [ebp - 0x14]
call fcn.0041befb
push 0x3a
mov ecx, edi
call fcn.0041bff8
jmp 0x41b056
push dword [ebp + 8]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041bf12
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041bfe3
cmp al, 0x5c
jne 0x41b056
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041c3a9
push dword [ebp + 8]
call fcn.00424dce
pop ecx
cmp dword [ebp - 4], 0
je 0x41b06e
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x41b095
lea eax, [ebp - 0x14]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.00427836
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041bf12
pop edi
pop esi
pop ebx
leave
ret 4