Function at 0x1000bf70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x5a0
mov ebx, dword [eax + 0x210]
mov dword [ebp - 0x570], eax
mov dword [ebp - 0x584], edx
cmp word [ebx], 0
je 0x1000bff9
mov eax, dword [sym.imp.kernel32.dll_lstrcmpiW]
xor esi, esi
mov dword [ebp - 0x574], eax
lea esi, cs:[esi]
mov eax, dword [ebp - 0x570]
mov dword [esp + 4], ebx
mov eax, dword [eax + 0x218]
mov dword [esp], eax
mov eax, dword [ebp - 0x574]
call eax
sub esp, 8
test eax, eax
cmove esi, edi
cmp word [ebx], 0
je 0x1000c850
mov eax, ebx
lea esi, cs:[esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x1000bfe0
sub eax, ebx
add eax, 2
add ebx, eax
inc edi
cmp word [ebx], 0
jne 0x1000bfa8
mov edi, esi
mov eax, dword [ebp - 0x570]
mov edx, dword [eax + 0x214]
cmp word [edx], 0
je 0x1000d00f
mov eax, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov dword [ebp - 0x578], edi
xor esi, esi
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x574], eax
lea esi, cs:[esi]
nop
mov eax, dword [ebp - 0x570]
mov dword [esp + 4], edi
mov eax, dword [eax + 0x21c]
mov dword [esp], eax
mov eax, dword [ebp - 0x574]
call eax
sub esp, 8
test eax, eax
cmove ebx, esi
cmp word [edi], 0
je 0x1000c840
mov eax, edi
nop
add eax, 2
cmp word [eax], 0
jne 0x1000c060
sub eax, edi
add eax, 2
add edi, eax
inc esi
cmp word [edi], 0
jne 0x1000c030
mov eax, ebx
mov ebx, esi
mov dword [esp + 8], str.FILERESNAMES
mov edi, dword [ebp - 0x578]
mov esi, eax
mov eax, dword [ebp - 0x570]
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 0x1000cfb3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x570]
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 0x1000c0fd
xor ecx, ecx
lea esi, [esi]
cmp word [edx], 0
mov eax, edx
je 0x1000c85a
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000c0e8
sub eax, edx
add eax, 2
inc ecx
add edx, eax
cmp esi, ecx
jne 0x1000c0d8
mov eax, dword [ebp - 0x570]
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp], eax
call sym._UXINI_LoadINI
mov dword [ebp - 0x574], eax
lea esi, cs:[esi]
lea eax, [ebp - 0x55c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x574]
mov dword [esp], eax
call sym._UXINI_GetNextSection
mov ebx, eax
test eax, eax
je 0x1000c6c0
mov eax, dword [ebp - 0x55c]
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 0x1000c864
mov edx, dword [ebp - 0x55c]
xor eax, eax
lea edi, [ebp - 0x3dc]
mov ecx, 0x1e
mov dword [ebp - 0x578], edi
rep stosd dword es:[edi], eax
inc edx
mov ecx, 0x1e
lea edi, [ebp - 0x364]
rep stosd dword es:[edi], eax
cmp edx, 0xff
lea edi, [ebp - 0x264]
mov eax, 0xff
mov dword [ebp - 0x580], edi
cmovbe eax, edx
mov ecx, edi
cmp edx, 1
ja 0x1000c1e0
jmp 0x1000c518
dec eax
add ecx, 2
add ebx, 2
mov word [ecx - 2], dx
cmp eax, 1
je 0x1000c1e8
movzx edx, word [ebx]
test dx, dx
jne 0x1000c1d0
xor eax, eax
mov word [ecx], ax
mov ebx, dword [ebp - 0x580]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x56c], 0
mov word [ebp - 0x544], si
mov esi, dword [sym.imp.ucrtbase.dll_wcschr]
mov word [ebp - 0x4cc], di
mov dword [ebp - 0x568], 0
mov dword [esp + 4], 0x3a
mov dword [esp], ebx
call esi
mov edi, eax
mov eax, ebx
test edi, edi
je 0x1000c266
xor ebx, ebx
lea edx, [ebp - 0x544]
mov word [edi], bx
lea ebx, [ebp - 0x1ee]
lea esi, [esi]
movzx ecx, word [eax]
test cx, cx
je 0x1000c25e
add eax, 2
add edx, 2
mov word [edx - 2], cx
cmp eax, ebx
jne 0x1000c248
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 0x1000c5f0
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
lea eax, [ebp - 0x4cc]
lea ecx, [ebp - 0x456]
mov dword [ebp - 0x57c], eax
lea esi, [esi]
movzx edx, word [ebx]
test dx, dx
je 0x1000c2ae
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x1000c298
xor ebx, ebx
mov word [eax], bx
mov dword [esp + 4], 0x28
mov dword [esp], edi
call esi
test eax, eax
je 0x1000c690
xor edx, edx
lea ebx, [eax + 2]
lea ecx, [ebp - 0x366]
mov word [eax], dx
mov eax, dword [ebp - 0x578]
lea esi, [esi]
movzx edx, word [edi]
test dx, dx
je 0x1000c2f6
add eax, 2
add edi, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x1000c2e0
xor edi, edi
mov word [eax], di
mov dword [esp + 4], 0x29
mov dword [esp], ebx
call esi
test eax, eax
je 0x1000c120
xor esi, esi
lea ecx, [ebp - 0x2ee]
mov word [eax], si
lea eax, [ebp - 0x364]
lea esi, [esi]
movzx edx, word [ebx]
test dx, dx
je 0x1000c33e
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x1000c328
xor edx, edx
mov word [eax], dx
cmp word [ebp - 0x4cc], 0
je 0x1000c120
xor eax, eax
lea edx, [ebp - 0x364]
cmp word [ebp - 0x364], 0
cmove edx, eax
cmp word [ebp - 0x3dc], 0
cmovne eax, dword [ebp - 0x578]
lea ecx, [ebp - 0x568]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x57c]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x56c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._MSSTYLES_LookupPartState
test eax, eax
je 0x1000c120
mov edi, dword [ebp - 0x57c]
mov dword [esp + 4], str.globals
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
mov ecx, edi
lea edx, [ebp - 0x544]
mov dword [ebp - 0x590], eax
mov eax, dword [ebp - 0x570]
sub esp, 8
mov eax, dword [eax + 0x220]
call sym._MSSTYLES_FindClass.isra.0
mov edi, eax
test eax, eax
je 0x1000ce18
mov ebx, dword [eax + 0x104]
mov edx, dword [ebp - 0x568]
mov esi, dword [ebp - 0x56c]
mov eax, edi
jmp 0x1000c403
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x1000c5d0
cmp esi, dword [ebx]
jne 0x1000c400
cmp edx, dword [ebx + 4]
jne 0x1000c400
lea eax, [ebp - 0x558]
lea edi, [ebp - 0x454]
mov dword [ebp - 0x578], eax
lea eax, [ebp - 0x554]
mov dword [ebp - 0x57c], eax
lea esi, [esi]
mov eax, dword [ebp - 0x578]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x57c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x55c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x574]
mov dword [esp], eax
call sym._UXINI_GetNextValue
test eax, eax
je 0x1000c120
mov esi, dword [ebp - 0x55c]
mov ecx, 0x3c
mov edx, edi
inc esi
cmp esi, 0x3c
cmovbe ecx, esi
cmp esi, 1
ja 0x1000c4a0
jmp 0x1000c50e
dec ecx
add edx, 2
add eax, 2
mov word [edx - 2], si
cmp ecx, 1
je 0x1000c4a8
movzx esi, word [eax]
test si, si
jne 0x1000c490
xor esi, esi
mov word [edx], si
lea eax, [ebp - 0x560]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x564]
mov dword [esp + 4], eax
call sym._MSSTYLES_LookupProperty
test eax, eax
jne 0x1000c528
test byte [0x100150bc], 8
je 0x1000c438
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], 0x100150bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000c438
test esi, esi
je 0x1000c4ad
jmp 0x1000c4a8
test edx, edx
je 0x1000c1ed
jmp 0x1000c1e8
mov eax, dword [ebx + 8]
mov esi, dword [ebp - 0x560]
mov edx, dword [ebp - 0x564]
test eax, eax
jne 0x1000c547
jmp 0x1000c560
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1000c560
cmp esi, dword [eax + 4]
jne 0x1000c540
cmp dword [eax], edx
je 0x1000c438
test edx, edx
je 0x1000c438
lea esi, [esi]
mov ecx, dword [ebp - 0x554]
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x58c], edx
mov dword [esp], 0x18
mov dword [ebp - 0x588], ecx
mov dword [ebp - 0x580], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x588]
mov edx, dword [ebp - 0x58c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x580]
mov dword [eax], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1000cd70
mov dword [eax + 8], 0
mov edx, dword [ebx + 8]
mov dword [eax + 0x14], edx
mov dword [ebx + 8], eax
jmp 0x1000c438
mov eax, dword [eax + 0x108]
test eax, eax
je 0x1000ceaf
mov ebx, dword [eax + 0x104]
jmp 0x1000c403
mov dword [esp + 4], 0x28
mov dword [esp], ebx
call esi
test eax, eax
je 0x1000cc17
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
lea eax, [ebp - 0x4cc]
lea ecx, [ebp - 0x456]
mov dword [ebp - 0x57c], eax
nop
movzx edx, word [ebx]
test dx, dx
je 0x1000c636
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x1000c620
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 4], 0x29
mov dword [esp], edi
call esi
test eax, eax
je 0x1000c120
xor edx, edx
lea ecx, [ebp - 0x2ee]
mov word [eax], dx
lea eax, [ebp - 0x364]
lea esi, [esi]
movzx edx, word [edi]
test dx, dx
je 0x1000c33e
add eax, 2
add edi, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x1000c668
jmp 0x1000c33e
mov eax, dword [ebp - 0x578]
lea ecx, [ebp - 0x366]
lea esi, [esi]
movzx edx, word [edi]
test dx, dx
je 0x1000c33e
add eax, 2
add edi, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x1000c6a0
jmp 0x1000c33e
mov eax, dword [ebp - 0x570]
mov ebx, dword [eax + 0x220]
test ebx, ebx
je 0x1000c7b1
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
jmp 0x1000c6ea
mov ebx, dword [ebx + 0x10c]
test ebx, ebx
je 0x1000c70b
cmp word [ebx + 0x10], 0
jne 0x1000c6e0
lea eax, [ebx + 0x88]
mov dword [esp], str.globals
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
jne 0x1000c6e0
mov eax, dword [ebp - 0x570]
mov edi, dword [eax + 0x220]
test edi, edi
je 0x1000c7b1
mov dword [ebp - 0x578], ebx
jmp 0x1000c74a
mov eax, dword [ebp - 0x578]
cmp eax, edi
je 0x1000c740
mov dword [edi + 0x108], eax
mov edi, dword [edi + 0x10c]
test edi, edi
je 0x1000c7b1
cmp word [edi + 0x10], 0
je 0x1000c730
mov eax, dword [ebp - 0x570]
lea esi, [edi + 0x88]
mov ebx, dword [eax + 0x220]
test ebx, ebx
jne 0x1000c77a
jmp 0x1000c7e0
mov ebx, dword [ebx + 0x10c]
test ebx, ebx
je 0x1000c7e0
cmp word [ebx + 0x10], 0
jne 0x1000c770
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 0x1000c770
mov eax, dword [ebp - 0x578]
mov dword [edi + 0x108], eax
mov edi, dword [edi + 0x10c]
test edi, edi
jne 0x1000c74a
mov eax, dword [ebp - 0x574]
mov dword [esp], eax
call sym._UXINI_CloseINI
mov eax, dword [ebp - 0x570]
mov eax, dword [eax + 0x220]
test eax, eax
je 0x1000ceea
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [edi + 0x108], 0
test byte [0x100150bc], 8
je 0x1000c740
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], 0x100150bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000c740
mov eax, 2
jmp 0x1000c06e
mov eax, 2
jmp 0x1000bfee
mov eax, 2
jmp 0x1000c0f6
lea edx, [ebp - 0x364]
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 - 0x264]
mov dword [ebp - 0x590], eax
call eax
mov ecx, 0x96
mov edx, edi
mov dword [ebp - 0x580], 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 - 0x264], 0x1f8
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x1f8
mov dword [esp], 0x29
mov dword [ebp - 0x594], edi
call edi
lea ecx, [ebp - 0x68]
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 - 0x590]
sub esp, 0x10
mov dword [esp], esi
call eax
lea eax, [ebp - 0x558]
mov dword [ebp - 0x578], eax
lea eax, [ebp - 0x554]
sub esp, 4
mov dword [ebp - 0x57c], eax
lea esi, cs:[esi]
nop
mov eax, dword [ebp - 0x578]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x57c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x55c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x574]
mov dword [esp], eax
call sym._UXINI_GetNextValue
test eax, eax
je 0x1000cb73
mov edi, dword [ebp - 0x55c]
mov ecx, 0x3c
lea edx, [ebp - 0x454]
lea ebx, [edi + 1]
cmp ebx, 0x3c
cmovbe ecx, ebx
cmp ebx, 1
ja 0x1000c9a0
jmp 0x1000cb15
dec ecx
add edx, 2
add eax, 2
mov word [edx - 2], bx
cmp ecx, 1
je 0x1000c9a8
movzx ebx, word [eax]
test bx, bx
jne 0x1000c990
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x560]
mov dword [esp + 8], eax
lea eax, [ebp - 0x564]
mov dword [esp + 4], eax
lea eax, [ebp - 0x454]
mov dword [esp], eax
call sym._MSSTYLES_LookupProperty
test eax, eax
je 0x1000cad0
mov edi, dword [ebp - 0x560]
mov ebx, dword [ebp - 0x554]
lea esi, [edi - 0x641]
cmp esi, 0x1e
jbe 0x1000cb28
mov eax, dword [ebp - 0x584]
test eax, eax
je 0x1000ca08
cmp edi, 0x3e9
je 0x1000cf72
lea esi, [edi - 0x321]
mov edx, dword [ebp - 0x558]
cmp esi, 8
jbe 0x1000cc4f
lea esi, [edi - 0x4b1]
cmp esi, 9
jbe 0x1000cdac
mov eax, dword [ebp - 0x570]
mov esi, dword [ebp - 0x564]
mov ebx, dword [eax + 0x224]
test ebx, ebx
je 0x1000ca70
mov eax, ebx
jmp 0x1000ca57
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1000ca70
cmp dword [eax + 4], edi
jne 0x1000ca50
cmp dword [eax], esi
je 0x1000c930
test esi, esi
je 0x1000c930
lea esi, [esi]
mov edx, dword [ebp - 0x558]
mov ecx, dword [ebp - 0x554]
mov dword [esp], 0x18
mov dword [ebp - 0x58c], edx
mov dword [ebp - 0x588], ecx
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x588]
mov edx, dword [ebp - 0x58c]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x570]
mov dword [eax], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 8], 3
mov dword [eax + 0x14], ebx
mov dword [edi + 0x224], eax
jmp 0x1000c930
test byte [0x100150bc], 8
je 0x1000c930
lea eax, [ebp - 0x454]
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], 0x100150bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000c930
test ebx, ebx
je 0x1000c9ad
jmp 0x1000c9a8
mov eax, dword [ebp - 0x558]
lea ecx, [ebp - 0x550]
mov dword [ebp - 0x550], ebx
lea edx, [ebx + eax*2]
lea eax, [ebp - 0x54c]
mov dword [esp], eax
mov eax, ebx
mov dword [ebp - 0x588], edx
call sym._MSSTYLES_GetNextLong
test eax, eax
jne 0x1000cc9b
test byte [0x100150bc], 1
jne 0x1000cff3
mov edi, dword [ebp - 0x560]
jmp 0x1000ca2c
mov eax, dword [ebp - 0x584]
test eax, eax
je 0x1000c120
mov eax, dword [ebp - 0x364]
test eax, eax
jg 0x1000cf4d
cmp dword [ebp - 0x268], 0xf
je 0x1000d0e1
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x1000c120
mov edi, dword [ebp - 0x590]
mov dword [esp], 0xffffffff
call edi
mov esi, dword [ebp - 0x594]
mov ebx, eax
mov eax, dword [ebp - 0x580]
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 - 0x68]
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 0x1000c120
lea eax, [ebp - 0x4cc]
lea ecx, [ebp - 0x456]
mov dword [ebp - 0x57c], eax
lea esi, [esi]
movzx edx, word [ebx]
test dx, dx
je 0x1000c33e
add eax, 2
add ebx, 2
mov word [eax - 2], dx
cmp eax, ecx
jne 0x1000cc30
jmp 0x1000c33e
xor eax, eax
lea edi, [ebp - 0x3dc]
lea edx, [ebx + edx*2]
mov ecx, 0x17
mov dword [ebp - 0x588], edi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x588]
lea ecx, [ebp - 0x548]
mov eax, ebx
mov dword [ebp - 0x548], ebx
mov dword [esp], edi
call sym._MSSTYLES_GetFont
test eax, eax
js 0x1000cd86
cmp esi, 5
ja case.default.0x1000cc94
jmp dword [esi*4 + 0x10017724]
lea eax, [ebp - 0x548]
mov edx, dword [ebp - 0x588]
lea ecx, [ebp - 0x550]
mov dword [esp], eax
mov eax, dword [ebp - 0x550]
call sym._MSSTYLES_GetNextLong
test eax, eax
je 0x1000cb5b
lea eax, [ebp - 0x3dc]
mov edx, dword [ebp - 0x588]
lea ecx, [ebp - 0x550]
mov dword [esp], eax
mov eax, dword [ebp - 0x550]
call sym._MSSTYLES_GetNextLong
test eax, eax
je 0x1000cb5b
mov eax, dword [ebp - 0x548]
mov ecx, dword [ebp - 0x3dc]
mov edx, dword [ebp - 0x364]
shl eax, 8
shl ecx, 0x10
and ecx, 0xff0000
movzx eax, ax
mov dword [ebp + edx*4 - 0x360], esi
or eax, ecx
movzx ecx, byte [ebp - 0x54c]
or eax, ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x364], ecx
mov dword [ebp + edx*4 - 0x2e4], eax
cmp edi, 0x65c
je 0x1000d1fa
jg 0x1000d05c
cmp edi, 0x643
je 0x1000d1e8
cmp edi, 0x644
jne case.default.0x1000cc94
or dword [ebp - 0x268], 2
mov edi, dword [ebp - 0x560]
jmp 0x1000ca2c
mov edx, dword [ebx]
test edx, edx
je 0x1000cf20
mov dword [eax + 8], 1
jmp 0x1000c5ba
test byte [0x100150bc], 1
je case.default.0x1000cc94
lea eax, [ebp - 0x454]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Invalid_font_value_for__s_n
mov dword [esp + 0x10], eax
jmp 0x1000cdf7
lea eax, [ebp - 0x3dc]
lea edx, [ebx + edx*2]
mov dword [ebp - 0x548], ebx
mov dword [esp], eax
lea ecx, [ebp - 0x548]
mov eax, ebx
call sym._MSSTYLES_GetNextLong
test eax, eax
jne 0x1000cf37
test byte [0x100150bc], 1
je case.default.0x1000cc94
lea eax, [ebp - 0x454]
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], 0x100150bc
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_4
jmp case.default.0x1000cc94
mov dword [esp], 0x110
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [eax + 4], 0
mov edi, eax
mov dword [eax], 0x12bc6d83
mov eax, dword [ebp - 0x570]
mov eax, dword [eax + 4]
mov dword [edi + 8], eax
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x544]
mov word [edi + eax + 0x10], dx
add eax, 2
test dx, dx
jne 0x1000ce48
mov ecx, dword [ebp - 0x57c]
xor edx, edx
lea esi, [esi]
movzx eax, word [ecx + edx]
mov word [edi + edx + 0x88], ax
add edx, 2
test ax, ax
jne 0x1000ce68
mov esi, dword [ebp - 0x570]
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 0x1000c3ee
mov dword [ebp - 0x578], edx
mov dword [esp], 0x10
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x578]
mov dword [eax], esi
mov ebx, eax
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 0x1000c414
test byte [0x100150bc], 2
je 0x1000c7d3
mov dword [esp + 0xc], str.Failed_to_parse_theme_ini_n
mov dword [esp + 8], str.MSSTYLES_ParseThemeIni
mov dword [esp + 4], 0x100150bc
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000c7d3
cmp dword [ebp - 0x590], 1
mov edx, 2
adc edx, 0
mov dword [eax + 8], edx
jmp 0x1000c5ba
cmp esi, 8
ja case.default.0x1000cc94
mov eax, dword [ebp - 0x3dc]
jmp dword [esi*4 + 0x1001773c]
lea edx, [ebp - 0x2e4]
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [ebp - 0x360]
mov dword [esp + 4], edx
call dword [sym.imp.user32.dll_SetSysColors]
sub esp, 0xc
jmp 0x1000cb8f
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 - 0x594]
call eax
mov edi, dword [ebp - 0x560]
sub esp, 0x10
jmp 0x1000ca2c
mov dword [ebp - 0x574], 0
test byte [0x100150bc], 8
je 0x1000c120
mov dword [esp + 0xc], str.FILERESNAMES_map_not_found_n
mov dword [esp + 8], str.MSSTYLES_GetActiveThemeIni
mov dword [esp + 4], 0x100150bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000c120
lea eax, [ebp - 0x454]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Invalid_color_value_for__s_n
mov dword [esp + 0x10], eax
jmp 0x1000cdf7
mov eax, dword [ebp - 0x570]
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 0x1000cfb3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x570]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov edx, eax
jmp 0x1000c0fd
cmp edi, 0x65d
jne case.default.0x1000cc94
or dword [ebp - 0x268], 8
mov edi, dword [ebp - 0x560]
jmp 0x1000ca2c
lea edi, [ebp - 0x24c]
mov esi, dword [ebp - 0x588]
mov ecx, 0x17
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x6c], 1
mov edi, dword [ebp - 0x560]
jmp 0x1000ca2c
lea edi, [ebp - 0x1e8]
jmp 0x1000d080
lea edi, [ebp - 0x184]
jmp 0x1000d080
lea edi, [ebp - 0x128]
jmp 0x1000d080
lea edi, [ebp - 0xcc]
jmp 0x1000d080
mov esi, dword [ebp - 0x588]
mov ecx, 0x17
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x6c], 1
mov edi, dword [ebp - 0x560]
jmp 0x1000ca2c
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x594]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x1009
call eax
sub esp, 0x10
jmp 0x1000cb9c
mov dword [ebp - 0x260], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x188], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x18c], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x1ec], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x1f0], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x250], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x254], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x258], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
mov dword [ebp - 0x25c], eax
mov edi, dword [ebp - 0x560]
mov dword [ebp - 0x6c], 1
jmp 0x1000ca2c
or dword [ebp - 0x268], 1
mov edi, dword [ebp - 0x560]
jmp 0x1000ca2c
or dword [ebp - 0x268], 4
mov edi, dword [ebp - 0x560]
jmp 0x1000ca2c