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

Disassembly:
sub esp, 0x33c
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x338], eax
mov eax, dword [esp + 0x340]
mov ecx, dword [esp + 0x348]
push ebx
mov ebx, dword [esp + 0x358]
push ebp
mov ebp, dword [esp + 0x360]
push esi
mov esi, dword [esp + 0x350]
push edi
mov edi, dword [esp + 0x35c]
push 0x103
lea edx, [esp + 0x41]
push 0
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
mov byte [esp + 0x48], 0
call fcn.005dfd60
add esp, 0xc
mov dword [esp + 0x30], 0
test edi, edi
je 0x4e34de
mov byte [edi], 0
test ebp, ebp
je 0x4e34e9
mov dword [ebp], 1
push str.SOFTWAREMicroWorld_
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebx], 0
mov eax, ebx
je 0x4e3506
inc eax
cmp byte [eax], 0
jne 0x4e3500
sub eax, ebx
add eax, 0x11
push 1
push eax
call fcn.005e34ab
mov ebp, eax
add esp, 8
mov dword [esp + 0x2c], ebp
test ebp, ebp
jne 0x4e3540
mov ecx, dword [esp + 0x360]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ebx
push ecx
push edi
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4e3962
test esi, esi
je 0x4e36e0
cmp byte [esi], 0
mov eax, esi
je 0x4e3556
nop
inc eax
cmp byte [eax], 0
jne 0x4e3550
sub eax, esi
je 0x4e36e0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call fcn.004db9b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
push ebp
lea ecx, [esp + 0x40]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
call fcn.004e24e0
mov eax, dword [esp + 0x18]
add esp, 4
push eax
lea ecx, [esp + 0x40]
push ecx
call esi
lea edx, [esp + 0x30]
push edx
push 0x20019
push 0
lea eax, [esp + 0x48]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x4e35ce
push ebp
call fcn.005e0865
add esp, 4
push ebx
jmp 0x4e37ac
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x360]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push edi
lea eax, [esp + 0x3c]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x50], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.005e0865
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x30], 0
test ebp, ebp
je 0x4e36d9
mov ebx, dword [esp + 0x20]
push 0x6481e8
push ebx
xor ebp, ebp
call fcn.004dd620
add esp, 8
test eax, eax
je 0x4e36c6
mov edx, dword [esp + 0x24]
push edx
push esi
push edi
cmp dword [esp + 0x28], ebp
jne 0x4e3661
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, eax
jmp 0x4e3962
mov eax, dword [esp + 0x20]
push str.xy10
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, eax
mov ecx, str.xy10
mov eax, edi
jmp 0x4e3680
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e36a0
test dl, dl
je 0x4e369c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e36a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e3680
xor eax, eax
jmp 0x4e36a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e36d2
mov ecx, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x1c]
mov dword [edx], 0
mov eax, ebp
jmp 0x4e3962
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, ebp
jmp 0x4e3962
xor eax, eax
jmp 0x4e3962
push 0x103
lea ecx, [esp + 0x249]
push 0
push ecx
mov dword [esp + 0x1c], 0
call fcn.005dfd60
push 0x103
lea edx, [esp + 0x151]
push 0
push edx
call fcn.005dfd60
add esp, 0x18
mov byte [esp + 0x140], 0
mov byte [esp + 0x244], 0
test edi, edi
je 0x4e372a
mov byte [edi], 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp], 0
je 0x4e374e
mov eax, ebp
lea ebx, [ebx]
cmp byte [eax], 0x5c
jne 0x4e3748
mov byte [eax], 0x23
inc eax
cmp byte [eax], 0
jne 0x4e3740
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
lea eax, [esp + 0x40]
push eax
call ebx
lea ecx, [esp + 0x3c]
push ecx
call fcn.004e24e0
mov edx, dword [esp + 0x18]
add esp, 4
push edx
lea eax, [esp + 0x40]
push eax
call ebx
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x48]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x4e37cf
push ebp
call fcn.005e0865
mov eax, dword [esp + 0x28]
add esp, 4
push eax
mov ecx, dword [esp + 0x364]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4e3962
push 0x60c81c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x258]
push eax
push ebp
push ecx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x4e393c
jmp 0x4e3830
mov eax, dword [esp + 0x1c]
lea edx, [eax + esi + 1]
mov byte [esp + eax + 0x244], 0
cmp edx, dword [esp + 0x360]
jae 0x4e397b
lea eax, [esp + 0x244]
push eax
lea ecx, [edi + esi]
push ecx
call ebx
add esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
lea edx, [eax + esi + 1]
mov byte [esp + eax + 0x140], 0
cmp edx, dword [esp + 0x360]
jae 0x4e397b
mov ecx, 0x60ca90
lea eax, [esp + 0x140]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e38a8
test dl, dl
je 0x4e38a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e38a8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e3888
xor eax, eax
jmp 0x4e38ad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e38d9
push 0x6481dc
test esi, esi
jbe 0x4e38c1
lea eax, [edi + esi - 1]
push eax
jmp 0x4e38c5
lea ecx, [edi + esi]
push ecx
call ebx
lea edx, [esp + 0x140]
push edx
lea eax, [edi + esi]
push eax
call ebx
add esi, dword [esp + 0x28]
inc esi
cmp dword [esp + 0x360], esi
jb 0x4e397b
push 0x60c81c
lea ecx, [edi + esi]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x258]
push eax
inc ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x4e3830
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e3953
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x2c]
push edx
call fcn.005e0865
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x348]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x33c
ret
mov edx, dword [esp + 0x2c]
push edx
call fcn.005e0865
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x4e399f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x360]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4e3962