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.00421fe1
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.0041fdb9
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041fd89
cmp dword [esi + 0x10], 2
jne 0x41da1c
push 0
mov ecx, ebx
call fcn.0041f1b6
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.00428bb9
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41dab7
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push edi
push 0
push ebx
call fcn.004282e0
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42fbd8
call fcn.0041ef9d
lea ecx, [esi + 0x20]
call fcn.0041fee9
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041fee9
push eax
lea ecx, [esi + 0x38]
call fcn.0041fee9
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041f3b8
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41db6f
push edi
push 0
push dword [ebp + 8]
call fcn.004282e0
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42fa0c
call fcn.0041f0d0
lea ecx, [esi + 0x20]
call fcn.0041fee9
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041fee9
push eax
lea ecx, [esi + 0x38]
call fcn.0041fee9
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041f3b8
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.00428bae
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041f063
jmp 0x41dfa5
cmp eax, 1
jne 0x41dbc5
mov ecx, edi
call fcn.0041fee9
push eax
lea ecx, [esi + 0x14]
call fcn.0041fee9
push eax
call fcn.00428e2e
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041fee9
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41dd28
mov edi, 0x2800
push edi
call fcn.00428bb9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41dbe8
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push edi
push 0
push ebx
call fcn.004282e0
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041fee9
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041fee9
push eax
lea ecx, [esi + 0x38]
call fcn.0041fee9
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041f0d0
push ebx
call fcn.00428bae
pop ecx
jmp 0x41dfa5
test ebx, ebx
jne 0x41dd9d
mov ecx, edi
call fcn.0041fee9
push eax
call fcn.00428da3
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.0041fee9
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.0041fee9
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.0041fee9
push eax
call fcn.00428e2e
pop ecx
push eax
call fcn.0042b896
add esp, 0xc
mov ecx, ebx
call fcn.0041fee9
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00428810
pop ecx
test eax, eax
pop ecx
jne 0x41dfa5
mov ecx, ebx
call fcn.0041fee9
push eax
call fcn.00428e2e
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41dfa5
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041fee9
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fee9
push eax
push ebx
call fcn.00420dba
add esp, 0x10
test eax, eax
jge 0x41dd7a
cmp dword [esi + 0xc], 1
jne 0x41dd69
lea ecx, [esi + 0x14]
call fcn.0041fee9
push eax
call fcn.00428da3
jmp 0x41dd27
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041f13e
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.0041f0d0
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.0042075a
mov ebx, eax
test ebx, ebx
jne 0x41de11
mov ecx, 0x4835b4
call fcn.0041fee9
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.0041ef2d
lea ecx, [ebp - 0x14]
call fcn.0041ef2d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0041fee9
push eax
call fcn.00421c63
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0041fee9
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041f625
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0041fee9
push eax
push 0x422
push dword [ebp - 8]
call fcn.00421d90
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041f063
lea ecx, [ebp - 0x24]
call fcn.0041f063
lea ecx, [esi + 0x2c]
call fcn.0041fee9
and dword [ebp + 8], 0
mov ebx, eax
cmp byte [ebx], 0
je 0x41deed
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041ef9d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041f1a1
cmp al, 0x5c
je 0x41deaa
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041f1b6
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0
call fcn.0041fee9
push eax
lea ecx, [ebp - 0x14]
call fcn.0041fee9
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.0041f063
jmp 0x41de81
lea ecx, [ebp - 0x14]
call fcn.0041f063
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.0041fee9
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.0041f13e
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.0041ef54
lea edi, [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0041f13e
lea ecx, [ebp - 0x24]
call fcn.0041f063
push 0x3a
mov ecx, edi
call fcn.0041f1b6
jmp 0x41df8d
push dword [ebp - 4]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041f0d0
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041f1a1
cmp al, 0x5c
jne 0x41df8d
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041f567
push dword [ebp - 4]
call fcn.00428bae
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.0042b896
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x48]
push eax
call fcn.0041f0d0
jmp 0x41dfe0
lea ecx, [esi + 0x48]
call fcn.0041fee9
push eax
call fcn.00428e2e
pop ecx
mov dword [esi + 0x54], eax
pop edi
pop esi
pop ebx
leave
ret 4