Function at 0x418bcc
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, 0x47a3b8
call fcn.0041c45e
mov esi, eax
test esi, esi
je 0x419164
cmp dword [esi + 0x10], 0xffffffff
je 0x419164
lea eax, [esi + 0x14]
mov edi, 0x479ee8
push eax
mov ecx, edi
call fcn.004189c2
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.004189c2
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.004189c2
push 1
push 0
push 0
push 0x428358
push str._0_
mov ecx, ebx
call fcn.0041aa75
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041aa45
cmp dword [esi + 0x10], 2
jne 0x418c53
push 0
mov ecx, ebx
call fcn.00419e97
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.004189c2
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x419164
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.00419277
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.00419277
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.00419277
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.00419277
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x418e6c
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x418dfc
test byte [esi + 0x44], bl
je 0x418dc2
mov edi, 0x104
push edi
call fcn.0042200e
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x418cee
mov ecx, 0x47a7fc
call fcn.0041ab9e
push eax
call fcn.0041b6d2
pop ecx
push edi
push 0
push ebx
call fcn.00421740
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x427c20
call fcn.00419cd4
lea ecx, [esi + 0x20]
call fcn.0041ab9e
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x38]
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ab9e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041a099
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x418da6
push edi
push 0
push dword [ebp + 8]
call fcn.00421740
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x4279b4
call fcn.00419db1
lea ecx, [esi + 0x20]
call fcn.0041ab9e
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x38]
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ab9e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041a099
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.0042201c
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.00419d9a
jmp 0x41913d
cmp eax, 1
jne 0x418dfc
mov ecx, edi
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x14]
call fcn.0041ab9e
push eax
call fcn.0042228e
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ab9e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x418f2c
mov edi, 0x104
push edi
call fcn.0042200e
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x418e1f
mov ecx, 0x47a7fc
call fcn.0041ab9e
push eax
call fcn.0041b6d2
pop ecx
push edi
push 0
push ebx
call fcn.00421740
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041ab9e
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x38]
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ab9e
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.00419db1
push ebx
call fcn.0042201c
pop ecx
jmp 0x41913d
test ebx, ebx
jne 0x418f68
mov ecx, edi
call fcn.0041ab9e
push eax
call fcn.00422203
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x418ef4
test byte [esi + 0x44], 3
je 0x418ef4
lea eax, [ebp + 8]
xor edi, edi
push eax
push 1
push edi
lea ecx, [esi + 0x2c]
mov dword [ebp + 8], edi
call fcn.0041ab9e
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
je 0x418ebe
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [esi + 0x54], ecx
jmp 0x418ee6
lea eax, [ebp - 4]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 4], 0x104
call fcn.0041ab9e
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 0x41913d
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041ab9e
push eax
lea ecx, [esi + 0x2c]
call fcn.0041ab9e
push eax
push ebx
call fcn.0041b920
add esp, 0x10
test eax, eax
jge 0x418f45
cmp dword [esi + 0xc], 1
jne 0x418f34
lea ecx, [esi + 0x14]
call fcn.0041ab9e
push eax
call fcn.00422203
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41913d
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.00419e1f
jmp 0x41913d
cmp dword [esi + 0xc], 1
jne 0x418f55
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x418f60
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.00419db1
push dword [ebp + 8]
jmp 0x418e61
cmp ebx, 2
jne 0x41913d
and dword [ebp - 4], 0
cmp byte [0x47b0a0], 0
jne 0x419011
mov eax, dword [0x47a040]
test eax, eax
je 0x418f92
mov eax, dword [eax + 4]
test eax, eax
jne 0x418fa7
mov eax, dword [0x479e90]
test eax, eax
je 0x418fa2
mov eax, dword [eax + 4]
test eax, eax
jne 0x418fa7
mov eax, dword [0x47a0a0]
push 0
push 0x405700
push eax
push 0x12
push dword [0x47a0a4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 4], eax
call fcn.0041b2db
mov ebx, eax
test ebx, ebx
jne 0x418fd5
mov ebx, str.Searching_for_the_location_of___s_._Please_wait...
lea ecx, [ebp - 0x14]
call fcn.00419c64
mov ecx, edi
call fcn.0041ab9e
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041a30f
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041ab9e
push eax
push 0x422
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x14]
call fcn.00419d9a
lea ecx, [esi + 0x2c]
call fcn.0041ab9e
mov ebx, eax
xor edi, edi
cmp byte [ebx], 0
je 0x419089
push ebx
lea ecx, [ebp - 0x14]
call fcn.00419cd4
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.00419e82
cmp al, 0x5c
je 0x419046
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00419e97
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041ab9e
push eax
lea ecx, [ebp - 0x14]
call fcn.0041ab9e
push eax
call fcn.0040dc08
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x419081
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.00419d9a
jmp 0x41901d
lea ecx, [ebp - 0x14]
call fcn.00419d9a
test byte [esi + 0x44], 4
jne 0x4190ac
test edi, edi
jg 0x4190c2
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041ab9e
push eax
call fcn.0040dddb
add esp, 0xc
mov edi, eax
test edi, edi
jg 0x4190c2
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.00419e1f
jmp 0x41912e
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x4190fd
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov al, byte [eax]
push eax
call fcn.00419c8b
lea edi, [esi + 0x48]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00419e1f
lea ecx, [ebp - 0x14]
call fcn.00419d9a
push 0x3a
mov ecx, edi
call fcn.00419e97
jmp 0x419125
push dword [ebp + 8]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.00419db1
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.00419e82
cmp al, 0x5c
jne 0x419125
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041a248
push dword [ebp + 8]
call fcn.0042201c
pop ecx
cmp dword [ebp - 4], 0
je 0x41913d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x419164
lea eax, [ebp - 0x14]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.00424a76
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.00419db1
pop edi
pop esi
pop ebx
leave
ret 4