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

Disassembly:
sub esp, 0x33c
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x338], eax
mov eax, dword [esp + 0x340]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x354]
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.1012e060
add esp, 0xc
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x10073cb8
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 0x10073cd5
mov edi, edi
inc eax
cmp byte [eax], bl
jne 0x10073cd0
sub eax, esi
inc eax
push eax
call fcn.1006a7b0
mov ecx, dword [esp + 0x18]
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
jne 0x10073d22
mov edx, dword [esp + 0x350]
mov eax, dword [esp + 0x18]
push esi
push edx
mov edx, dword [esp + 0x18]
push edi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.10127db1
add esp, 0x33c
ret
cmp ecx, ebx
je 0x10073e87
mov eax, ecx
cmp byte [ecx], bl
je 0x10073d35
inc eax
cmp byte [eax], bl
jne 0x10073d30
sub eax, ecx
je 0x10073e87
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, ebp
call fcn.1007bed0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
lea eax, [esp + 0x3c]
push eax
call esi
lea ecx, [esp + 0x38]
call fcn.10065200
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x3c]
push edx
call esi
lea eax, [esp + 0x28]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x44]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
je 0x10073ddb
push ebp
call fcn.10128243
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x354]
mov ecx, dword [esp + 0x1c]
add esp, 4
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
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.10127db1
add esp, 0x33c
ret
mov ecx, dword [esp + 0x350]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x2c]
push edi
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x20]
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebp
mov esi, eax
call fcn.10128243
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 0x10073e6d
mov ebx, dword [esp + 0x14]
mov eax, 0x1016036c
mov ecx, ebx
xor esi, esi
call fcn.1005a090
test eax, eax
je 0x10073e5c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x350]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
jmp 0x1007410b
mov edx, dword [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1007410b
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.10127db1
add esp, 0x33c
ret
push 0x103
lea eax, [esp + 0x245]
push ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.1012e060
push 0x103
lea ecx, [esp + 0x14d]
push ebx
push ecx
call fcn.1012e060
add esp, 0x18
mov byte [esp + 0x13c], bl
mov byte [esp + 0x240], bl
cmp edi, ebx
je 0x10073ec8
mov byte [edi], bl
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp], bl
je 0x10073ee4
mov eax, ebp
cmp byte [eax], 0x5c
jne 0x10073edf
mov byte [eax], 0x23
inc eax
cmp byte [eax], bl
jne 0x10073ed7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
lea edx, [esp + 0x3c]
push edx
call esi
lea ecx, [esp + 0x38]
call fcn.10065200
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x44]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
je 0x10073f73
push ebp
call fcn.10128243
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x354]
mov eax, dword [esp + 0x1c]
add esp, 4
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.10127db1
add esp, 0x33c
ret
push 0x1014d5e3
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x254]
push ecx
push ebx
push edx
xor esi, esi
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x100740eb
jmp 0x10073fd0
mov eax, dword [esp + 0x20]
mov byte [esp + eax + 0x240], bl
lea eax, [eax + esi + 1]
cmp eax, dword [esp + 0x350]
jae 0x10074125
lea ecx, [esp + 0x240]
push ecx
lea edx, [edi + esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
add esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov byte [esp + eax + 0x13c], bl
lea eax, [eax + esi + 1]
cmp eax, dword [esp + 0x350]
jae 0x10074125
mov ecx, 0x10156ae4
lea eax, [esp + 0x13c]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10074050
cmp dl, bl
je 0x1007404c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10074050
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10074030
xor eax, eax
jmp 0x10074055
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10074089
push 0x10162d84
cmp esi, ebx
jbe 0x10074069
lea ecx, [edi + esi - 1]
push ecx
jmp 0x1007406d
lea edx, [edi + esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x13c]
push eax
lea ecx, [edi + esi]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
add esi, dword [esp + 0x24]
inc esi
cmp dword [esp + 0x350], esi
jb 0x10074125
push 0x1014d5e3
lea edx, [edi + esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x254]
push ecx
inc ebp
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x10073fd0
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x100740fe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x2c]
push eax
call fcn.10128243
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.10127db1
add esp, 0x33c
ret
mov eax, dword [esp + 0x2c]
push eax
call fcn.10128243
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
je 0x10074145
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x350]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
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.10127db1
add esp, 0x33c
ret