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

Disassembly:
push ebp
mov ecx, 0xb
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c4
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0xe7
jbe 0x100093f3
mov dword [ebp - 0x1a4], 0x198
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x198], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x194], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1a8], eax
test eax, eax
je 0x100091b7
mov dword [esp + 0x14], 0
mov edi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov esi, eax
sub esp, 0x18
lea edx, [esi + esi]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
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 [ebp - 0x1a8], eax
sub esp, 0xc
test eax, eax
je 0x10009573
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call edi
sub esp, 0x18
mov eax, dword [ebp - 0x1a8]
mov edi, dword [ebx + 0xc8]
mov dword [ebp - 0x190], eax
test edi, edi
je 0x10009274
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 8], edi
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1ac], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov esi, eax
sub esp, 0x18
lea ecx, [esi + esi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
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 edi, eax
test eax, eax
je 0x1000955d
mov dword [esp + 0x14], esi
mov edx, dword [ebp - 0x1ac]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebx + 0xc8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call edx
sub esp, 0x18
mov eax, dword [ebx + 0xcc]
mov esi, dword [ebx + 0xdc]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xd0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xd4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xd8]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x10009358
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1b0], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov edx, eax
sub esp, 0x18
lea esi, [edx + edx]
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1ac], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x10009569
mov edx, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1b0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0xdc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call ecx
sub esp, 0x18
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 0x18], esi
test eax, eax
je 0x10009400
mov ecx, 8
test byte [0x10010070], 1
jne 0x10009528
mov eax, dword [ebp - 0x1a8]
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x1ac], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x1a8], eax
call eax
sub esp, 0xc
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x1a8]
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x1ac]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea eax, [ebp - 0x1a4]
mov dword [esp], eax
call sym.msacm32.dll_acmFormatChooseW
sub esp, 4
mov ecx, eax
test eax, eax
jne 0x1000937b
mov dword [ebp - 0x1b0], eax
lea eax, [ebx + 0x18]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18c]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x1ac], eax
call eax
lea eax, [ebx + 0x48]
sub esp, 0x20
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebp - 0x1b0]
sub esp, 0x20
test eax, eax
je 0x1000937b
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov ecx, dword [ebp - 0x1b0]
sub esp, 0x20
jmp 0x1000937b
mov dword [esp + 0xc], str.Unsupported_hook_procs_n
mov dword [esp + 8], str.acmFormatChooseA
mov dword [esp + 4], 0x10010070
mov dword [esp], 0
mov dword [ebp - 0x1ac], ecx
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x1ac]
jmp 0x1000937b
xor esi, esi
mov ecx, 7
jmp 0x1000937b
mov ecx, 7
jmp 0x1000937b
xor esi, esi
xor edi, edi
mov ecx, 7
jmp 0x1000937b