Function at 0x401350
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x148]
push ebx
lea ebx, [ebp - 0x1d8]
sub esp, 0x1fc
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1d8], str.szTimeEnglish
mov dword [ebp - 0x1d0], str.szTimeLocalized
lea eax, [edi + 4]
mov dword [ebp - 0x1d4], edi
mov dword [ebp - 0x1cc], eax
lea eax, [edi + 8]
mov dword [ebp - 0x1c4], eax
lea eax, [edi + 0xc]
mov dword [ebp - 0x1bc], eax
lea eax, [edi + 0x10]
mov dword [ebp - 0x1b4], eax
lea eax, [edi + 0x14]
mov dword [ebp - 0x1ac], eax
lea eax, [edi + 0x18]
mov dword [ebp - 0x1a4], eax
lea eax, [edi + 0x1c]
mov dword [ebp - 0x19c], eax
lea eax, [edi + 0x20]
mov dword [ebp - 0x194], eax
lea eax, [edi + 0x24]
mov dword [ebp - 0x18c], eax
lea eax, [edi + 0x28]
mov dword [ebp - 0x184], eax
lea eax, [edi + 0x2c]
mov dword [ebp - 0x17c], eax
lea eax, [edi + 0x30]
mov dword [ebp - 0x174], eax
lea eax, [edi + 0x34]
mov dword [ebp - 0x1c8], str.szMachineNameEnglish
mov dword [ebp - 0x1c0], str.szOSExLongEnglish
mov dword [ebp - 0x1b8], str.szOSExLocalized
mov dword [ebp - 0x1b0], str.szLanguagesEnglish
mov dword [ebp - 0x1a8], str.szLanguagesLocalized
mov dword [ebp - 0x1a0], str.szSystemManufacturerEnglish
mov dword [ebp - 0x198], str.szSystemModelEnglish
mov dword [ebp - 0x190], str.szBIOSEnglish
mov dword [ebp - 0x188], str.szProcessorEnglish
mov dword [ebp - 0x180], str.szPhysicalMemoryEnglish
mov dword [ebp - 0x178], str.szPageFileEnglish
mov dword [ebp - 0x170], str.szPageFileLocalized
mov dword [ebp - 0x16c], eax
lea eax, [edi + 0x38]
mov dword [ebp - 0x164], eax
lea eax, [edi + 0x3c]
mov dword [ebp - 0x15c], eax
lea eax, [edi + 0x40]
mov dword [ebp - 0x154], eax
lea eax, [edi + 0x44]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x168], str.szWindowsDir
mov eax, dword fs:[0x18]
mov dword [ebp - 0x160], str.szDirectXVersionLongEnglish
mov dword [ebp - 0x158], str.szSetupParamEnglish
mov dword [ebp - 0x150], str.szDxDiagVersion
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1dc], eax
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantInit]
mov eax, dword [edi]
sub esp, 4
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x1dc]
mov dword [esp], edi
mov dword [esp + 4], ecx
call dword [eax + 0x20]
sub esp, 0xc
test eax, eax
js 0x401511
cmp word [ebp - 0x148], 8
je 0x401538
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test byte [0x404000], 2
jne 0x4015f8
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x140]
cmp word [eax], 0
mov dword [ebp - 0x1e4], eax
je 0x4016f8
nop
add eax, 2
cmp word [eax], 0
jne 0x401550
mov ecx, dword [ebp - 0x1e4]
sub eax, ecx
add eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [ebp - 0x1e0]
sub esp, 0xc
mov dword [eax], ecx
test ecx, ecx
je 0x401511
mov dword [ebp - 0x1dc], ebx
mov ebx, dword [ebp - 0x1e4]
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4015b0
mov ebx, dword [ebp - 0x1dc]
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantClear]
add ebx, 8
sub esp, 4
cmp esi, ebx
jne 0x4014cd
mov edi, dword [ebp + 0xc]
mov eax, 1
mov dword [edi + 0x48], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x40181b
shr eax, 0x10
je 0x4017fd
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x1dc]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x40172c
cmp word [edi], 0
mov ecx, edi
je 0x401825
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x401648
movzx eax, word [str.L__n_r_t_..]
movzx edi, word [0x4053a0]
lea ecx, [ebp - 0x146]
mov word [ebp - 0x148], ax
jmp 0x4016b0
cmp ax, 9
je 0x40176e
cmp ax, 0xa
jne 0x40178a
movzx eax, word [0x40539a]
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
lea eax, [edx - 1]
test edx, edx
jle 0x401702
lea edx, [ebp - 0x26]
cmp edx, ecx
jb 0x401702
mov edx, eax
add dword [ebp - 0x1dc], 2
mov eax, dword [ebp - 0x1dc]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x40175b
jbe 0x401678
cmp ax, 0x22
je 0x4017e0
cmp ax, 0x5c
jne 0x401781
movzx eax, word [0x4053a2]
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4016a0
mov eax, 2
jmp 0x401564
mov byte [ecx], 0x22
test eax, eax
jle 0x4017f5
movzx eax, word [0x4053a4]
mov byte [ecx + 3], 0x2e
mov word [ecx + 1], ax
lea eax, [ecx + 4]
mov byte [eax], 0
mov dword [esp], esi
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], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
xor eax, eax
jmp 0x40152c
movzx eax, word [0x40539c]
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4016a0
movzx eax, word [0x40539e]
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4016a0
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x4017eb
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdeffill_system_information]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdeffill_system_information]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdeffill_system_information]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdeffill_system_information]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x4016a0
mov word [ecx], di
add ecx, 2
jmp 0x4016a0
mov byte [ecx], al
add ecx, 1
jmp 0x4016a0
lea eax, [ecx + 1]
jmp 0x40171f
movzx eax, word [ebp - 0x1dc]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x40172c
mov edx, str._null_
jmp 0x40172c
movzx eax, word [str.L__n_r_t_..]
mov byte [ebp - 0x146], 0x22
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x145]
jmp 0x40171f