Function at 0x70d8c670
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x5bc
mov ebx, dword [eax + 0x210]
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x590], edx
cmp word [ebx], 0
je 0x70d8c6f9
mov eax, dword [sym.imp.kernel32.dll_lstrcmpiW]
xor esi, esi
mov dword [ebp - 0x580], eax
lea esi, [esi]
nop
mov eax, dword [ebp - 0x57c]
mov dword [esp + 4], ebx
mov eax, dword [eax + 0x218]
mov dword [esp], eax
mov eax, dword [ebp - 0x580]
call eax
sub esp, 8
test eax, eax
cmove esi, edi
cmp word [ebx], 0
je 0x70d8cf70
mov eax, ebx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x70d8c6e0
sub eax, ebx
add eax, 2
add ebx, eax
inc edi
cmp word [ebx], 0
jne 0x70d8c6a8
mov edi, esi
mov eax, dword [ebp - 0x57c]
mov edx, dword [eax + 0x214]
cmp word [edx], 0
je 0x70d8d76a
mov eax, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov dword [ebp - 0x584], edi
xor esi, esi
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x580], eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0x57c]
mov dword [esp + 4], edi
mov eax, dword [eax + 0x21c]
mov dword [esp], eax
mov eax, dword [ebp - 0x580]
call eax
sub esp, 8
test eax, eax
cmove ebx, esi
cmp word [edi], 0
je 0x70d8cf60
mov eax, edi
nop
add eax, 2
cmp word [eax], 0
jne 0x70d8c760
sub eax, edi
add eax, 2
add edi, eax
inc esi
cmp word [edi], 0
jne 0x70d8c730
mov eax, ebx
mov ebx, esi
mov dword [esp + 8], str.FILERESNAMES
mov edi, dword [ebp - 0x584]
mov esi, eax
mov eax, dword [ebp - 0x57c]
mov dword [esp + 4], 1
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x70d8d70e
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x57c]
imul ebx, edi
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov edx, eax
add esi, ebx
je 0x70d8c7fd
xor ecx, ecx
lea esi, [esi]
cmp word [edx], 0
mov eax, edx
je 0x70d8cf7a
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x70d8c7e8
sub eax, edx
add eax, 2
inc ecx
add edx, eax
cmp esi, ecx
jne 0x70d8c7d8
mov eax, dword [ebp - 0x57c]
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._UXINI_LoadINI
mov dword [ebp - 0x580], eax
lea esi, [esi]
nop
lea eax, [ebp - 0x568]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x580]
mov dword [esp], eax
call sym._UXINI_GetNextSection
mov ebx, eax
test eax, eax
je 0x70d8cde0
mov eax, dword [ebp - 0x568]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str.SysMetrics
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], 0x800
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
je 0x70d8cf84
mov edx, dword [ebp - 0x568]
xor eax, eax
lea edi, [ebp - 0x3e8]
mov ecx, 0x1e
mov dword [ebp - 0x584], edi
rep stosd dword es:[edi], eax
inc edx
mov ecx, 0x1e
lea edi, [ebp - 0x370]
rep stosd dword es:[edi], eax
cmp edx, 0xff
lea edi, [ebp - 0x270]
mov eax, 0xff
mov dword [ebp - 0x58c], edi
cmovbe eax, edx
mov ecx, edi
cmp edx, 1
ja 0x70d8c8e0
jmp 0x70d8cc18
dec eax
add ecx, 2
add ebx, 2
mov word [ecx - 2], dx
cmp eax, 1
je 0x70d8c8e8
movzx edx, word [ebx]
test dx, dx
jne 0x70d8c8d0
xor eax, eax
mov word [ecx], ax
mov ebx, dword [ebp - 0x58c]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x578], 0
mov word [ebp - 0x550], si
mov esi, dword [sym.imp.ucrtbase.dll_wcschr]
mov word [ebp - 0x4d8], di
mov dword [ebp - 0x574], 0
mov dword [esp + 4], 0x3a
mov dword [esp], ebx
call esi
mov edi, eax
mov eax, ebx
test edi, edi
je 0x70d8c966
xor ebx, ebx
lea edx, [ebp - 0x550]
mov word [edi], bx
lea ebx, [ebp - 0x1fa]
lea esi, [esi]
movzx ecx, word [eax]
test cx, cx
je 0x70d8c95e
add eax, 2
add edx, 2
mov word [edx - 2], cx
cmp eax, ebx
jne 0x70d8c948
xor eax, eax
lea ebx, [edi + 4]
mov word [edx], ax
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call esi
test eax, eax
je 0x70d8cd08
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
lea eax, [ebp - 0x4d8]
lea ecx, [ebp - 0x462]
mov dword [ebp - 0x588], eax
lea esi, [esi]
movzx edx, word [ebx]
test dx, dx
je 0x70d8c9ae
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x70d8c998
xor ebx, ebx
mov word [eax], bx
mov dword [esp + 4], 0x28
mov dword [esp], edi
call esi
test eax, eax
je 0x70d8cdb0
xor edx, edx
lea ebx, [eax + 2]
lea ecx, [ebp - 0x372]
mov word [eax], dx
mov eax, dword [ebp - 0x584]
lea esi, [esi]
movzx edx, word [edi]
test dx, dx
je 0x70d8c9f6
add eax, 2
add edi, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x70d8c9e0
xor edi, edi
mov word [eax], di
mov dword [esp + 4], 0x29
mov dword [esp], ebx
call esi
test eax, eax
je 0x70d8c820
xor esi, esi
lea ecx, [ebp - 0x2fa]
mov word [eax], si
lea eax, [ebp - 0x370]
lea esi, [esi]
movzx edx, word [ebx]
test dx, dx
je 0x70d8ca3e
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x70d8ca28
xor edx, edx
mov word [eax], dx
cmp word [ebp - 0x4d8], 0
je 0x70d8c820
xor eax, eax
lea edx, [ebp - 0x370]
cmp word [ebp - 0x370], 0
cmove edx, eax
cmp word [ebp - 0x3e8], 0
cmovne eax, dword [ebp - 0x584]
lea ecx, [ebp - 0x574]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x588]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x578]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._MSSTYLES_LookupPartState
test eax, eax
je 0x70d8c820
mov edi, dword [ebp - 0x588]
mov dword [esp + 4], str.globals
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
mov ecx, edi
lea edx, [ebp - 0x550]
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp - 0x57c]
sub esp, 8
mov eax, dword [eax + 0x220]
call sym._MSSTYLES_FindClass.isra.0
mov edi, eax
test eax, eax
je 0x70d8d540
mov ebx, dword [eax + 0x104]
mov edx, dword [ebp - 0x574]
mov esi, dword [ebp - 0x578]
mov eax, edi
jmp 0x70d8cb03
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x70d8cce8
cmp esi, dword [ebx]
jne 0x70d8cb00
cmp edx, dword [ebx + 4]
jne 0x70d8cb00
lea eax, [ebp - 0x564]
lea edi, [ebp - 0x460]
mov dword [ebp - 0x584], eax
lea eax, [ebp - 0x560]
mov dword [ebp - 0x588], eax
lea esi, [esi]
mov eax, dword [ebp - 0x584]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x588]
mov dword [esp + 8], eax
lea eax, [ebp - 0x568]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x580]
mov dword [esp], eax
call sym._UXINI_GetNextValue
test eax, eax
je 0x70d8c820
mov esi, dword [ebp - 0x568]
mov ecx, 0x3c
mov edx, edi
inc esi
cmp esi, 0x3c
cmovbe ecx, esi
cmp esi, 1
ja 0x70d8cba0
jmp 0x70d8cc0e
dec ecx
add edx, 2
add eax, 2
mov word [edx - 2], si
cmp ecx, 1
je 0x70d8cba8
movzx esi, word [eax]
test si, si
jne 0x70d8cb90
xor esi, esi
mov word [edx], si
lea eax, [ebp - 0x56c]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x570]
mov dword [esp + 4], eax
call sym._MSSTYLES_LookupProperty
test eax, eax
jne 0x70d8cc28
test byte [0x70d950bc], 8
je 0x70d8cb38
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Unknown_property__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MSSTYLES_ParseThemeIni
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70d8cb38
test esi, esi
je 0x70d8cbad
jmp 0x70d8cba8
test edx, edx
je 0x70d8c8ed
jmp 0x70d8c8e8
mov eax, dword [ebx + 8]
mov esi, dword [ebp - 0x56c]
mov edx, dword [ebp - 0x570]
test eax, eax
jne 0x70d8cc47
jmp 0x70d8cc60
mov eax, dword [eax + 0x14]
test eax, eax
je 0x70d8cc60
cmp esi, dword [eax + 4]
jne 0x70d8cc40
cmp dword [eax], edx
je 0x70d8cb38
test edx, edx
je 0x70d8cb38
lea esi, [esi]
mov eax, dword [ebp - 0x564]
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x560]
mov dword [ebp - 0x58c], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x598], edx
mov dword [ebp - 0x594], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x594]
mov edx, dword [ebp - 0x598]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x58c]
sub esp, 0xc
mov dword [eax], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x70d8d498
mov dword [eax + 8], 0
mov edx, dword [ebx + 8]
mov dword [eax + 0x14], edx
mov dword [ebx + 8], eax
jmp 0x70d8cb38
mov eax, dword [eax + 0x108]
test eax, eax
je 0x70d8d5ef
mov ebx, dword [eax + 0x104]
jmp 0x70d8cb03
mov dword [esp + 4], 0x28
mov dword [esp], ebx
call esi
test eax, eax
je 0x70d8d33f
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
lea eax, [ebp - 0x4d8]
lea ecx, [ebp - 0x462]
mov dword [ebp - 0x588], eax
lea esi, [esi]
nop
movzx edx, word [ebx]
test dx, dx
je 0x70d8cd56
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x70d8cd40
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 4], 0x29
mov dword [esp], edi
call esi
test eax, eax
je 0x70d8c820
xor edx, edx
lea ecx, [ebp - 0x2fa]
mov word [eax], dx
lea eax, [ebp - 0x370]
lea esi, [esi]
movzx edx, word [edi]
test dx, dx
je 0x70d8ca3e
add eax, 2
add edi, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x70d8cd88
jmp 0x70d8ca3e
mov eax, dword [ebp - 0x584]
lea ecx, [ebp - 0x372]
lea esi, [esi]
movzx edx, word [edi]
test dx, dx
je 0x70d8ca3e
add eax, 2
add edi, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x70d8cdc0
jmp 0x70d8ca3e
mov eax, dword [ebp - 0x57c]
mov ebx, dword [eax + 0x220]
test ebx, ebx
je 0x70d8ced1
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
jmp 0x70d8ce0a
mov ebx, dword [ebx + 0x10c]
test ebx, ebx
je 0x70d8ce2b
cmp word [ebx + 0x10], 0
jne 0x70d8ce00
lea eax, [ebx + 0x88]
mov dword [esp], str.globals
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
jne 0x70d8ce00
mov eax, dword [ebp - 0x57c]
mov edi, dword [eax + 0x220]
test edi, edi
je 0x70d8ced1
mov dword [ebp - 0x584], ebx
jmp 0x70d8ce6a
mov eax, dword [ebp - 0x584]
cmp edi, eax
je 0x70d8ce60
mov dword [edi + 0x108], eax
mov edi, dword [edi + 0x10c]
test edi, edi
je 0x70d8ced1
cmp word [edi + 0x10], 0
je 0x70d8ce50
mov eax, dword [ebp - 0x57c]
lea esi, [edi + 0x88]
mov ebx, dword [eax + 0x220]
test ebx, ebx
jne 0x70d8ce9a
jmp 0x70d8cf00
mov ebx, dword [ebx + 0x10c]
test ebx, ebx
je 0x70d8cf00
cmp word [ebx + 0x10], 0
jne 0x70d8ce90
lea eax, [ebx + 0x88]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x70d8ce90
mov eax, dword [ebp - 0x584]
mov dword [edi + 0x108], eax
mov edi, dword [edi + 0x10c]
test edi, edi
jne 0x70d8ce6a
mov eax, dword [ebp - 0x580]
mov dword [esp], eax
call sym._UXINI_CloseINI
mov eax, dword [ebp - 0x57c]
mov eax, dword [eax + 0x220]
test eax, eax
je 0x70d8d645
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [edi + 0x108], 0
test byte [0x70d950bc], 8
je 0x70d8ce60
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
lea eax, [edi + 0x10]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.No_overrides_found_for_app__s_class__s_n
mov dword [esp + 8], str.MSSTYLES_ParseThemeIni
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70d8ce60
mov eax, 2
jmp 0x70d8c76e
mov eax, 2
jmp 0x70d8c6ee
mov eax, 2
jmp 0x70d8c7f6
lea edx, [ebp - 0x370]
xor ebx, ebx
mov ecx, 0x40
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.user32.dll_SetThreadDpiAwarenessContext]
mov dword [esp], 0xffffffff
lea edi, [ebp - 0x270]
mov dword [ebp - 0x598], eax
call eax
mov ecx, 0x96
mov edx, edi
mov dword [ebp - 0x58c], edi
mov esi, eax
mov eax, ebx
sub esp, 4
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.user32.dll_SystemParametersInfoW]
mov dword [esp + 8], edx
mov dword [ebp - 0x270], 0x1f8
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x1f8
mov dword [esp], 0x29
mov dword [ebp - 0x59c], edi
call edi
lea ecx, [ebp - 0x74]
sub esp, 0x10
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x5c
mov dword [esp], 0x1f
call edi
mov eax, dword [ebp - 0x598]
sub esp, 0x10
mov dword [esp], esi
call eax
lea eax, [ebp - 0x564]
mov dword [ebp - 0x584], eax
lea eax, [ebp - 0x560]
sub esp, 4
mov dword [ebp - 0x588], eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0x584]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x588]
mov dword [esp + 8], eax
lea eax, [ebp - 0x568]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x580]
mov dword [esp], eax
call sym._UXINI_GetNextValue
test eax, eax
je 0x70d8d29b
mov edi, dword [ebp - 0x568]
mov ecx, 0x3c
lea edx, [ebp - 0x460]
lea ebx, [edi + 1]
cmp ebx, 0x3c
cmovbe ecx, ebx
cmp ebx, 1
ja 0x70d8d0c0
jmp 0x70d8d23d
dec ecx
add edx, 2
add eax, 2
mov word [edx - 2], bx
cmp ecx, 1
je 0x70d8d0c8
movzx ebx, word [eax]
test bx, bx
jne 0x70d8d0b0
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x56c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x570]
mov dword [esp + 4], eax
lea eax, [ebp - 0x460]
mov dword [esp], eax
call sym._MSSTYLES_LookupProperty
test eax, eax
je 0x70d8d1f8
mov edi, dword [ebp - 0x56c]
mov ebx, dword [ebp - 0x560]
lea esi, [edi - 0x641]
cmp esi, 0x1e
jbe 0x70d8d250
cmp edi, 0x3e9
jne 0x70d8d128
mov eax, dword [ebp - 0x590]
test eax, eax
jne 0x70d8d6cd
lea esi, [edi - 0x321]
mov edx, dword [ebp - 0x564]
cmp esi, 8
jbe 0x70d8d377
lea esi, [edi - 0x4b1]
cmp esi, 9
jbe 0x70d8d4d4
mov eax, dword [ebp - 0x57c]
mov ebx, dword [ebp - 0x570]
mov eax, dword [eax + 0x224]
test eax, eax
jne 0x70d8d16f
jmp 0x70d8d188
mov eax, dword [eax + 0x14]
test eax, eax
je 0x70d8d188
cmp dword [eax + 4], edi
jne 0x70d8d168
cmp dword [eax], ebx
je 0x70d8d050
test ebx, ebx
je 0x70d8d050
lea esi, [esi]
mov dword [esp + 8], 0x18
mov edx, dword [ebp - 0x560]
mov dword [esp + 4], 0
mov esi, dword [ebp - 0x564]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x594], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x594]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x57c]
sub esp, 0xc
mov dword [eax + 0xc], edx
mov edx, dword [edi + 0x224]
mov dword [eax], ebx
mov dword [eax + 0x10], esi
mov dword [eax + 8], 3
mov dword [eax + 0x14], edx
mov dword [edi + 0x224], eax
jmp 0x70d8d050
test byte [0x70d950bc], 8
je 0x70d8d050
lea eax, [ebp - 0x460]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Unknown_system_metric__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MSSTYLES_ParseThemeIni
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70d8d050
test ebx, ebx
je 0x70d8d0cd
jmp 0x70d8d0c8
mov eax, dword [ebp - 0x564]
lea ecx, [ebp - 0x55c]
mov dword [ebp - 0x55c], ebx
lea edx, [ebx + eax*2]
lea eax, [ebp - 0x558]
mov dword [esp], eax
mov eax, ebx
mov dword [ebp - 0x594], edx
call sym._MSSTYLES_GetNextLong
test eax, eax
jne 0x70d8d3c3
test byte [0x70d950bc], 1
jne 0x70d8d74e
mov edi, dword [ebp - 0x56c]
jmp 0x70d8d14c
mov eax, dword [ebp - 0x590]
test eax, eax
je 0x70d8c820
mov eax, dword [ebp - 0x370]
test eax, eax
jg 0x70d8d6a8
cmp dword [ebp - 0x274], 0xf
je 0x70d8d83c
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x70d8c820
mov edi, dword [ebp - 0x598]
mov dword [esp], 0xffffffff
call edi
mov esi, dword [ebp - 0x59c]
mov ebx, eax
mov eax, dword [ebp - 0x58c]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1f8
mov dword [esp], 0x2a
call esi
lea eax, [ebp - 0x74]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c
mov dword [esp], 0x22
call esi
sub esp, 0x10
mov dword [esp], ebx
call edi
sub esp, 4
jmp 0x70d8c820
lea eax, [ebp - 0x4d8]
lea ecx, [ebp - 0x462]
mov dword [ebp - 0x588], eax
lea esi, [esi]
movzx edx, word [ebx]
test dx, dx
je 0x70d8ca3e
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x70d8d358
jmp 0x70d8ca3e
xor eax, eax
lea edi, [ebp - 0x3e8]
lea edx, [ebx + edx*2]
mov ecx, 0x17
mov dword [ebp - 0x594], edi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x594]
lea ecx, [ebp - 0x554]
mov eax, ebx
mov dword [ebp - 0x554], ebx
mov dword [esp], edi
call sym._MSSTYLES_GetFont
test eax, eax
js 0x70d8d4ae
cmp esi, 5
ja case.default.0x70d8d3bc
jmp dword [esi*4 + 0x70d9771c]
lea eax, [ebp - 0x554]
mov edx, dword [ebp - 0x594]
lea ecx, [ebp - 0x55c]
mov dword [esp], eax
mov eax, dword [ebp - 0x55c]
call sym._MSSTYLES_GetNextLong
test eax, eax
je 0x70d8d283
lea eax, [ebp - 0x3e8]
mov edx, dword [ebp - 0x594]
lea ecx, [ebp - 0x55c]
mov dword [esp], eax
mov eax, dword [ebp - 0x55c]
call sym._MSSTYLES_GetNextLong
test eax, eax
je 0x70d8d283
mov eax, dword [ebp - 0x554]
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ebp - 0x370]
shl eax, 8
shl ecx, 0x10
and ecx, 0xff0000
movzx eax, ax
mov dword [ebp + edx*4 - 0x36c], esi
or eax, ecx
movzx ecx, byte [ebp - 0x558]
or eax, ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x370], ecx
mov dword [ebp + edx*4 - 0x2f0], eax
cmp edi, 0x65c
je 0x70d8d955
jg 0x70d8d7b7
cmp edi, 0x643
je 0x70d8d943
cmp edi, 0x644
jne case.default.0x70d8d3bc
or dword [ebp - 0x274], 2
mov edi, dword [ebp - 0x56c]
jmp 0x70d8d14c
mov edx, dword [ebx]
test edx, edx
je 0x70d8d67b
mov dword [eax + 8], 1
jmp 0x70d8ccd5
test byte [0x70d950bc], 1
je case.default.0x70d8d3bc
lea eax, [ebp - 0x460]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Invalid_font_value_for__s_n
mov dword [esp + 0x10], eax
jmp 0x70d8d51f
lea eax, [ebp - 0x3e8]
lea edx, [ebx + edx*2]
mov dword [ebp - 0x554], ebx
mov dword [esp], eax
lea ecx, [ebp - 0x554]
mov eax, ebx
call sym._MSSTYLES_GetNextLong
test eax, eax
jne 0x70d8d692
test byte [0x70d950bc], 1
je case.default.0x70d8d3bc
lea eax, [ebp - 0x460]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Invalid_size_value_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MSSTYLES_ParseThemeIni
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_4
jmp case.default.0x70d8d3bc
mov dword [esp + 8], 0x110
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [eax + 4], 0
mov edi, eax
sub esp, 0xc
mov dword [eax], 0x12bc6d83
mov eax, dword [ebp - 0x57c]
mov eax, dword [eax + 4]
mov dword [edi + 8], eax
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x550]
mov word [edi + eax + 0x10], dx
add eax, 2
test dx, dx
jne 0x70d8d588
mov ecx, dword [ebp - 0x588]
xor edx, edx
lea esi, [esi]
movzx eax, word [ecx + edx]
mov word [edi + edx + 0x88], ax
add edx, 2
test ax, ax
jne 0x70d8d5a8
mov esi, dword [ebp - 0x57c]
xor ebx, ebx
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov eax, dword [esi + 0x220]
mov dword [esi + 0x220], edi
mov dword [edi + 0x10c], eax
jmp 0x70d8caee
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x584], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x584]
mov dword [eax], esi
mov ebx, eax
sub esp, 0xc
mov dword [eax + 4], edx
mov dword [eax + 8], 0
mov eax, dword [edi + 0x104]
mov dword [ebx + 0xc], eax
mov dword [edi + 0x104], ebx
jmp 0x70d8cb14
test byte [0x70d950bc], 2
je 0x70d8cef3
mov dword [esp + 0xc], str.Failed_to_parse_theme_ini_n
mov dword [esp + 8], str.MSSTYLES_ParseThemeIni
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x70d8cef3
cmp dword [ebp - 0x59c], 1
mov edx, 2
adc edx, 0
mov dword [eax + 8], edx
jmp 0x70d8ccd5
cmp esi, 8
ja case.default.0x70d8d3bc
mov eax, dword [ebp - 0x3e8]
jmp dword [esi*4 + 0x70d97734]
lea edx, [ebp - 0x2f0]
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [ebp - 0x36c]
mov dword [esp + 4], edx
call dword [sym.imp.user32.dll_SetSysColors]
sub esp, 0xc
jmp 0x70d8d2b7
mov dword [esp + 0xc], 0
movzx eax, word [ebx]
mov dword [esp + 4], 0
and eax, 0xffffffdf
mov dword [esp], 0x1023
cmp ax, 0x54
sete al
movzx eax, al
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x59c]
call eax
mov edi, dword [ebp - 0x56c]
sub esp, 0x10
jmp 0x70d8d14c
mov dword [ebp - 0x580], 0
test byte [0x70d950bc], 8
je 0x70d8c820
mov dword [esp + 0xc], str.FILERESNAMES_map_not_found_n
mov dword [esp + 8], str.MSSTYLES_GetActiveThemeIni
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70d8c820
lea eax, [ebp - 0x460]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Invalid_color_value_for__s_n
mov dword [esp + 0x10], eax
jmp 0x70d8d51f
mov eax, dword [ebp - 0x57c]
mov dword [esp + 8], str.FILERESNAMES
mov dword [esp + 4], 1
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x70d8d70e
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x57c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov edx, eax
jmp 0x70d8c7fd
cmp edi, 0x65d
jne case.default.0x70d8d3bc
or dword [ebp - 0x274], 8
mov edi, dword [ebp - 0x56c]
jmp 0x70d8d14c
lea edi, [ebp - 0x258]
mov esi, dword [ebp - 0x594]
mov ecx, 0x17
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x78], 1
mov edi, dword [ebp - 0x56c]
jmp 0x70d8d14c
lea edi, [ebp - 0x1f4]
jmp 0x70d8d7db
lea edi, [ebp - 0x190]
jmp 0x70d8d7db
lea edi, [ebp - 0x134]
jmp 0x70d8d7db
lea edi, [ebp - 0xd8]
jmp 0x70d8d7db
mov esi, dword [ebp - 0x594]
mov ecx, 0x17
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x78], 1
mov edi, dword [ebp - 0x56c]
jmp 0x70d8d14c
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x59c]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x1009
call eax
sub esp, 0x10
jmp 0x70d8d2c4
mov dword [ebp - 0x26c], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x194], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x198], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x1f8], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x1fc], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x25c], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x260], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x264], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
mov dword [ebp - 0x268], eax
mov edi, dword [ebp - 0x56c]
mov dword [ebp - 0x78], 1
jmp 0x70d8d14c
or dword [ebp - 0x274], 1
mov edi, dword [ebp - 0x56c]
jmp 0x70d8d14c
or dword [ebp - 0x274], 4
mov edi, dword [ebp - 0x56c]
jmp 0x70d8d14c