Function at 0x401f90
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, str.szTimeEnglish
push esi
lea esi, [ebp - 0x1d0]
push ebx
lea ebx, [ebp - 0x148]
sub esp, 0x1fc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1d0], str.szTimeLocalized
mov dword [ebp - 0x1c8], str.szMachineNameEnglish
mov dword [ebp - 0x1dc], eax
add eax, 4
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c0], str.szOSExLongEnglish
mov dword [ebp - 0x1b8], str.szOSExLocalized
add eax, 8
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b0], str.szLanguagesEnglish
mov dword [ebp - 0x1a8], str.szLanguagesLocalized
add eax, 0xc
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a0], str.szSystemManufacturerEnglish
mov dword [ebp - 0x198], str.szSystemModelEnglish
add eax, 0x10
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x190], str.szBIOSEnglish
add eax, 0x14
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0xc]
add eax, 0x18
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp + 0xc]
add eax, 0x1c
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0xc]
add eax, 0x20
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0xc]
add eax, 0x24
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x188], str.szProcessorEnglish
mov dword [ebp - 0x180], str.szPhysicalMemoryEnglish
add eax, 0x28
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], str.szPageFileEnglish
mov dword [ebp - 0x170], str.szPageFileLocalized
add eax, 0x2c
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x168], str.szWindowsDir
mov dword [ebp - 0x160], str.szDirectXVersionLongEnglish
add eax, 0x30
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x158], str.szSetupParamEnglish
mov dword [ebp - 0x150], str.szDxDiagVersion
add eax, 0x34
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0xc]
add eax, 0x38
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0xc]
add eax, 0x3c
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0xc]
add eax, 0x40
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0xc]
add eax, 0x44
mov dword [ebp - 0x14c], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1e4], eax
lea esi, [esi]
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_VariantInit]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
sub esp, 4
mov eax, dword [eax]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], ecx
call dword [eax + 0x20]
sub esp, 0xc
test eax, eax
js 0x40216b
cmp word [ebp - 0x148], 8
je 0x402190
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test byte [section..data], 2
jne 0x402250
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x140]
cmp word [edx], 0
je 0x402330
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4021a8
sub eax, edx
add eax, 2
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1e4]
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1e0], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [ebp - 0x1dc]
sub esp, 0xc
mov dword [eax], ecx
test ecx, ecx
je 0x40216b
mov edx, dword [ebp - 0x1e0]
xor eax, eax
lea esi, [esi]
movzx edi, word [edx + eax]
mov word [ecx + eax], di
add eax, 2
test di, di
jne 0x402200
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
cmp ebx, esi
je 0x402238
mov eax, dword [esi + 4]
mov edi, dword [esi]
add esi, 8
mov dword [ebp - 0x1dc], eax
jmp 0x402138
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x48], 0
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
test edi, edi
je 0x402462
mov eax, edi
shr eax, 0x10
je 0x40244a
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x402360
movzx eax, word [edi]
test ax, ax
je 0x402429
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x402298
mov ecx, 0x224c
mov dword [ebp - 0x1dc], edx
mov word [ebp - 0x148], cx
lea ecx, [ebp - 0x146]
jmp 0x4022fd
cmp ax, 9
je 0x4023a0
cmp ax, 0xa
jne 0x4023ba
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x26]
lea esi, [edx - 1]
cmp ecx, eax
ja 0x40233a
test edx, edx
jle 0x40233a
mov dword [ebp - 0x1dc], esi
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x40238d
jbe 0x4022c0
cmp ax, 0x22
je 0x402410
cmp ax, 0x5c
jne 0x4023b1
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4022e0
mov eax, 2
jmp 0x4021b6
mov byte [ecx], 0x22
test esi, esi
jle 0x402442
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
mov byte [eax], 0
mov dword [esp], ebx
call sym.___wine_dbg_strdup
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_retrieve_property__s_n
mov dword [esp + 8], str.fill_system_information
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402184
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4022e0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4022e0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x402421
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx edx, byte [esi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], dl
movzx edx, byte [esi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefGCC:__GNU__10.3.0]
and esi, 0xf
mov byte [ecx - 3], dl
movzx edx, byte [esi + str.0123456789abcdefGCC:__GNU__10.3.0]
mov byte [ecx - 1], al
mov byte [ecx - 2], dl
jmp 0x4022e0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4022e0
mov byte [ecx], al
inc ecx
jmp 0x4022e0
mov eax, 0x224c
mov byte [ebp - 0x146], 0x22
lea ecx, [ebp - 0x146]
mov word [ebp - 0x148], ax
lea eax, [ecx + 1]
jmp 0x402355
movzx edi, di
mov dword [esp], str._04x
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x402360
mov eax, str._null_
jmp 0x402360