Function at 0x4055e0
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
mov eax, 0x1278
call fcn.004077b0
push ebx
xor ebx, ebx
push esi
push ebx
push str.ConquerMD.dat
lea ecx, [esp + 0x40]
call fcn.004025c0
push ebx
lea ecx, [esp + 0x3c]
call fcn.004026f0
test al, al
je 0x405969
mov eax, dword [0x41426c]
push ebx
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x20], esi
je 0x405969
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00402a00
cmp dword [esp + 0xc], ebx
je 0x4058e8
cmp dword [esp + 0x10], ebx
jbe 0x4058e8
push ebp
lea eax, [esp + 0xc]
push edi
push eax
push 0x20019
push ebx
push str.SoftwareWestwoodYuris_Revenge
push 0x80000002
mov byte [esp + 0x84], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4057d3
lea ecx, [esp + 0x20]
lea edx, [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
push str.InstallPath
push ecx
mov dword [esp + 0x38], 0x104
call ebp
push ebx
push ebx
lea edx, [esp + 0x40]
push ebx
lea eax, [esp + 0xfc]
push edx
push eax
call fcn.0040751f
mov edi, 0x413438
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
lea eax, [esp + 0x60]
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
push ebx
lea eax, [esp + 0x50]
push ebx
push eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x60]
push ecx
push str._lx_
push edx
call fcn.004071fa
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x70]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov byte [esp + 0xb0], bl
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0xb0]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push str.Serial
push eax
mov dword [esp + 0x38], 0x40
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40588f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push edx
push eax
push ebx
push str.ProductID
push ecx
mov byte [esp + 0xc8], bl
mov dword [esp + 0x34], 0x40
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x4133ec
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x70]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1f4], bl
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x70]
push ecx
push eax
lea ecx, [esp + 0x1fc]
call fcn.00402eb0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push esi
push ecx
push edx
lea ecx, [esp + 0x200]
call fcn.00403010
mov eax, dword [esp + 0x14]
push eax
call fcn.0040777e
add esp, 4
lea ecx, [esp + 0x1f4]
call fcn.00402ea0
pop edi
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push str.D6E7FC97_64F9_4d28_B52C_754EDF721C6F
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
cmp esi, ebx
je 0x405969
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405969
mov ecx, dword [esp + 0x1284]
push 0x493e0
lea edx, [esp + 0x2c]
push ebx
push edx
push 2
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x405954
mov eax, dword [0x41426c]
cmp eax, ebx
je 0x405954
push eax
mov eax, dword [esp + 0x128c]
push ebx
push 0xbeef
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x41330c], ebx
jne 0x405969
call dword [0x413314]
lea ecx, [esp + 0x38]
call fcn.00402650
pop esi
pop ebx
add esp, 0x1278
ret