Function at 0x401330
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, str.szTimeEnglish
push edi
push esi
push ebx
sub esp, 0x1fc
mov eax, dword [esp + 0x214]
mov dword [esp + 0x38], str.szTimeLocalized
lea esi, [esp + 0x38]
lea ebx, [esp + 0xc0]
mov dword [esp + 0x40], str.szMachineNameEnglish
mov edi, dword [esp + 0x210]
mov dword [esp + 0x24], eax
add eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x48], str.szOSExLongEnglish
add eax, 8
mov dword [esp + 0x50], str.szOSExLocalized
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x58], str.szLanguagesEnglish
add eax, 0xc
mov dword [esp + 0x60], str.szLanguagesLocalized
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x68], str.szSystemManufacturerEnglish
add eax, 0x10
mov dword [esp + 0x70], str.szSystemModelEnglish
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x78], str.szBIOSEnglish
add eax, 0x14
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x214]
add eax, 0x18
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x214]
add eax, 0x1c
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x214]
add eax, 0x20
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x80], str.szProcessorEnglish
mov dword [esp + 0x88], str.szPhysicalMemoryEnglish
add eax, 0x24
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x90], str.szPageFileEnglish
mov dword [esp + 0x98], str.szPageFileLocalized
add eax, 0x28
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0xa0], str.szWindowsDir
mov dword [esp + 0xa8], str.szDirectXVersionLongEnglish
add eax, 0x2c
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0xb0], str.szSetupParamEnglish
mov dword [esp + 0xb8], str.szDxDiagVersion
add eax, 0x30
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x214]
add eax, 0x34
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x214]
add eax, 0x38
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x214]
add eax, 0x3c
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x214]
add eax, 0x40
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x214]
add eax, 0x44
mov dword [esp + 0xbc], eax
mov eax, dword fs:[0x18]
mov dword [esp + 0x2c], eax
lea esi, [esi]
mov dword [esp], ebx
call sym._VariantInit_4
mov eax, dword [edi]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], edi
call dword [eax + 0x20]
sub esp, 0xc
test eax, eax
js 0x401535
cmp word [esp + 0xc0], 8
je 0x401560
mov dword [esp], ebx
call sym._VariantClear_4
sub esp, 4
test byte [section..data], 2
jne 0x401610
add esp, 0x1fc
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0xc8]
cmp word [ecx], 0
je 0x4016f8
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401578
sub eax, ecx
add eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
test eax, eax
je 0x401535
mov ecx, dword [esp + 0x28]
xor edx, edx
movzx ebp, word [ecx + edx]
mov word [eax + edx], bp
add edx, 2
test bp, bp
jne 0x4015c0
mov dword [esp], ebx
call sym._VariantClear_4
sub esp, 4
cmp ebx, esi
je 0x4015f0
mov eax, dword [esi + 4]
mov ebp, dword [esi]
add esi, 8
mov dword [esp + 0x24], eax
jmp 0x401508
mov eax, dword [esp + 0x214]
mov dword [eax + 0x48], 0
add esp, 0x1fc
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
test ebp, ebp
je 0x401839
mov eax, ebp
shr eax, 0x10
je 0x40181f
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebp
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x40172a
movzx edx, word [ebp]
test dx, dx
je 0x4017fb
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebp + ecx*2 + 2], 0
jne 0x401658
mov esi, 0x224c
lea edi, [esp + 0x1e2]
mov word [esp + 0xc0], si
lea esi, [esp + 0xc2]
jmp 0x4016c1
cmp dx, 9
je 0x401770
cmp dx, 0xa
jne 0x40178a
mov eax, 0x6e5c
add esi, 2
mov word [esi - 2], ax
lea esi, [esi]
nop
lea eax, [ecx - 1]
cmp esi, edi
ja 0x401702
test ecx, ecx
jle 0x401702
movzx edx, word [ebp]
mov ecx, eax
add ebp, 2
cmp dx, 0xd
je 0x401757
jbe 0x401688
cmp dx, 0x22
je 0x4017e0
cmp dx, 0x5c
jne 0x401781
mov eax, 0x5c5c
add esi, 2
mov word [esi - 2], ax
jmp 0x4016b0
mov eax, 2
jmp 0x401586
mov byte [esi], 0x22
test eax, eax
jle 0x401817
mov edi, 0x2e2e
mov byte [esi + 3], 0x2e
lea eax, [esi + 4]
mov word [esi + 1], di
mov byte [eax], 0
mov dword [esp], ebx
call dbg.__wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Failed_to_retrieve_property__s_n
mov dword [esp + 8], 0x405364
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40154d
mov eax, 0x725c
add esi, 2
mov word [esi - 2], ax
jmp 0x4016b0
mov eax, 0x745c
add esi, 2
mov word [esi - 2], ax
jmp 0x4016b0
lea eax, [edx - 0x20]
cmp ax, 0x5e
jbe 0x4017f1
mov eax, edx
mov byte [esi], 0x5c
add esi, 5
shr ax, 0xc
movzx eax, ax
movzx eax, byte [eax + str.0123456789abcdeffill_system_information]
mov byte [esi - 4], al
mov eax, edx
shr ax, 8
and eax, 0xf
movzx eax, byte [eax + str.0123456789abcdeffill_system_information]
mov byte [esi - 3], al
mov eax, edx
and edx, 0xf
shr ax, 4
and eax, 0xf
movzx eax, byte [eax + str.0123456789abcdeffill_system_information]
mov byte [esi - 2], al
movzx eax, byte [edx + str.0123456789abcdeffill_system_information]
mov byte [esi - 1], al
jmp 0x4016b0
mov eax, 0x225c
add esi, 2
mov word [esi - 2], ax
jmp 0x4016b0
mov byte [esi], dl
add esi, 1
jmp 0x4016b0
mov eax, 0x224c
mov byte [esp + 0xc2], 0x22
lea esi, [esp + 0xc2]
mov word [esp + 0xc0], ax
lea eax, [esi + 1]
jmp 0x40171d
movzx ebp, bp
mov dword [esp], str._04x
mov dword [esp + 4], ebp
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x40172a
mov edx, str._null_
jmp 0x40172a