Function at 0x10001c30
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x20
mov dword [ebp - 0x10], ecx
test byte [0x10005cf8], 8
jne 0x10001ce8
cmp ebx, 0x403f
ja 0x10001cd0
cmp ebx, 0x4003
jbe 0x10001c88
lea eax, [ebx - 0x4004]
cmp eax, 0x3b
ja case.0x10001cdb.20483
jmp dword [eax*4 + 0x10007080]
lea eax, [ebx - 1]
cmp eax, 1
ja case.0x10001cdb.20483
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 3
je case.0x10001cdb.20481
jbe 0x10001c70
lea eax, [ebx - 4]
cmp eax, 2
jbe case.0x10001cdb.20490
xor edi, edi
test byte [0x10005cf8], 1
je 0x10001c7a
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._d_is_not_yet_handled._Expect_a_crash._n
mov dword [esp + 8], str.MSVIDEO_MapMsg16To32
mov dword [esp + 4], 0x10005cf8
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10001c7a
lea eax, [ebx - 0x5001]
cmp eax, 0x1f
ja case.0x10001cdb.20483
jmp dword [eax*4 + 0x10007170]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Mapping__d_n
mov dword [esp + 8], str.MSVIDEO_MapMsg16To32
mov dword [esp + 4], 0x10005cf8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001c4d
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
push edi
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
xor edi, edi
mov dword [esp], eax
call sym._MapSL_4
push ebx
mov dword [esi], eax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x238
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]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebx], 0x238
mov edi, eax
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x18]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x18]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
lea eax, [ebx + 0x38]
sub esp, 0x18
mov ecx, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x28]
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
lea eax, [ebx + 0x138]
sub esp, 0x18
mov ecx, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
lea eax, [edi + 0xa8]
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov eax, dword [ebp - 0x10]
mov dword [esi], ebx
sub esp, 0x18
mov dword [eax], 0x238
jmp 0x10001c7a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, 0x24
je case.0x10001c68.16444
test eax, eax
jne 0x10002278
mov dword [esp + 8], 0x34
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]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
push edi
mov edi, eax
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 0x10], eax
movsx eax, word [edi + 0x14]
mov dword [ebx + 0x14], eax
movsx eax, word [edi + 0x16]
mov dword [ebx + 0x18], eax
movsx eax, word [edi + 0x18]
mov dword [ebx + 0x1c], eax
movsx eax, word [edi + 0x1a]
mov dword [ebx + 0x20], eax
movsx eax, word [edi + 0x1c]
mov dword [ebx + 0x24], eax
movsx eax, word [edi + 0x1e]
mov dword [ebx + 0x28], eax
movsx eax, word [edi + 0x20]
mov dword [ebx + 0x2c], eax
movsx eax, word [edi + 0x22]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], ebx
mov dword [eax], 0x34
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x18
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]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
mov edi, eax
push edx
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi], ebx
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x18
jmp 0x10001c7a
mov dword [esp + 8], 0x3c
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]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
push edi
mov edi, eax
mov eax, dword [eax]
mov dword [ebx], eax
xor eax, eax
mov ax, word [edi + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov ax, word [edi + 6]
mov dword [ebx + 8], eax
mov dword [esp + 4], 4
xor eax, eax
mov ax, word [edi + 8]
mov dword [esp], eax
call sym._K32WOWHandle32_8
push edx
push edx
mov dword [ebx + 0xc], eax
movsx eax, word [edi + 0xa]
mov dword [ebx + 0x10], eax
movsx eax, word [edi + 0xc]
mov dword [ebx + 0x14], eax
movsx eax, word [edi + 0xe]
mov dword [ebx + 0x18], eax
movsx eax, word [edi + 0x10]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x12]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 0x20], eax
movsx eax, word [edi + 0x16]
mov dword [ebx + 0x24], eax
movsx eax, word [edi + 0x18]
mov dword [ebx + 0x28], eax
movsx eax, word [edi + 0x1a]
mov dword [ebx + 0x2c], eax
movsx eax, word [edi + 0x1c]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x1e]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x22]
mov dword [esi], ebx
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x3c
jmp 0x10001c7a
mov dword [esp + 8], 0x20
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]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
mov edi, eax
push ecx
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 8], eax
movsx eax, word [edi + 0xc]
mov dword [ebx + 0xc], eax
movsx eax, word [edi + 0xe]
mov dword [ebx + 0x10], eax
movsx eax, word [edi + 0x10]
mov dword [ebx + 0x14], eax
movsx eax, word [edi + 0x12]
mov dword [ebx + 0x18], eax
xor eax, eax
mov ax, word [edi + 0x14]
mov dword [esi], ebx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x20
jmp 0x10001c7a
mov dword [esp + 8], 0x30
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]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
mov edi, eax
push ecx
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], ebx
mov dword [eax], 0x30
jmp 0x10001c7a
mov dword [esp + 8], 0x14
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]
sub esp, 0xc
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._MapSL_4
mov edi, eax
push edx
mov eax, dword [eax]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym._MapSL_4
push ecx
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym._MapSL_4
push edx
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi], ebx
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x14
jmp 0x10001c7a
test byte [0x10005cf8], 4
je case.0x10001c68.16444
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.lParam2_has_unknown_value__p_n
mov dword [esp + 8], str.MSVIDEO_MapMsg16To32
mov dword [esp + 4], 0x10005cf8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp case.0x10001c68.16444