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

Disassembly:
sub esp, 0x33c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x338], eax
mov eax, dword [esp + 0x340]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x350]
xor ebx, ebx
push 0x103
mov dword [esp + 0x14], eax
lea eax, [esp + 0x3d]
push ebx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
mov byte [esp + 0x44], bl
call fcn.10116880
add esp, 0xc
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x10057408
mov byte [edi], bl
push str.SOFTWAREMicroWorld_
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, esi
cmp byte [esi], bl
je 0x10057425
mov edi, edi
inc eax
cmp byte [eax], bl
jne 0x10057420
sub eax, esi
inc eax
push eax
call fcn.1004e860
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
jne 0x1005746f
push esi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0x104
push edi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1010d699
add esp, 0x33c
ret
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x100575a1
mov eax, ecx
cmp byte [ecx], bl
je 0x10057486
inc eax
cmp byte [eax], bl
jne 0x10057481
sub eax, ecx
je 0x100575a1
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, ebp
call fcn.1005eba0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
lea edx, [esp + 0x3c]
push edx
call esi
lea ecx, [esp + 0x38]
call fcn.10049c40
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
call esi
lea edx, [esp + 0x28]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x44]
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]
cmp esi, ebx
je 0x100574fb
push ebp
call fcn.1010dc10
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
jmp 0x1005743c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x2c]
push edi
lea eax, [esp + 0x38]
push eax
push ebx
push ecx
push edx
mov dword [esp + 0x4c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebp
mov esi, eax
call fcn.1010dc10
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebx
cmp esi, ebx
je 0x10057587
mov ebx, dword [esp + 0x14]
mov eax, 0x10154550
mov ecx, ebx
xor esi, esi
call fcn.10031890
test eax, eax
je 0x10057576
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ecx
push 0x104
push edi
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
jmp 0x10057812
mov ecx, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x10057812
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1010d699
add esp, 0x33c
ret
push 0x103
lea edx, [esp + 0x245]
push ebx
push edx
mov dword [esp + 0x18], ebx
call fcn.10116880
push 0x103
lea eax, [esp + 0x14d]
push ebx
push eax
call fcn.10116880
add esp, 0x18
mov byte [esp + 0x13c], bl
mov byte [esp + 0x240], bl
cmp edi, ebx
je 0x100575e2
mov byte [edi], bl
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp], bl
je 0x100575fe
mov eax, ebp
cmp byte [eax], 0x5c
jne 0x100575f9
mov byte [eax], 0x23
inc eax
cmp byte [eax], bl
jne 0x100575f1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
lea ecx, [esp + 0x3c]
push ecx
call esi
lea ecx, [esp + 0x38]
call fcn.10049c40
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x44]
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]
cmp esi, ebx
je 0x1005768a
push ebp
call fcn.1010dc10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
push eax
mov eax, dword [esp + 0x14]
push 0x104
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1010d699
add esp, 0x33c
ret
push 0x1013f817
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x254]
push edx
push ebx
push eax
xor esi, esi
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x100577f2
mov edi, edi
mov eax, dword [esp + 0x20]
lea ecx, [eax + esi + 1]
mov byte [esp + eax + 0x240], bl
cmp ecx, 0x104
jae 0x1005782c
lea edx, [esp + 0x240]
push edx
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
add esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea ecx, [eax + esi + 1]
mov byte [esp + eax + 0x13c], bl
cmp ecx, 0x104
jae 0x10057884
mov ecx, 0x1014874c
lea eax, [esp + 0x13c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057758
cmp dl, bl
je 0x10057754
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057758
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10057738
xor eax, eax
jmp 0x1005775d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10057791
push 0x1014d584
cmp esi, ebx
jbe 0x10057771
lea edx, [edi + esi - 1]
push edx
jmp 0x10057775
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x13c]
push ecx
lea edx, [edi + esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
add esi, dword [esp + 0x24]
inc esi
cmp esi, 0x104
ja 0x100578ae
push 0x1013f817
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x254]
push edx
inc ebp
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x100576e0
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x10057805
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1010dc10
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1010d699
add esp, 0x33c
ret
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1010dc10
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
je 0x1005784c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push 0x104
push edi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x344]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010d699
add esp, 0x33c
ret
mov eax, dword [esp + 0x2c]
push eax
call fcn.1010dc10
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
je 0x100578a4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x1005743c
mov edx, dword [esp + 0x2c]
push edx
call fcn.1010dc10
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
je 0x100578ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push 0x104
push edi
push ecx
push edx
push eax
jmp 0x10057451