Function at 0x6eb466f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ecx, eax
push edi
push esi
push ebx
mov ebx, 0x3006
sub esp, 0x23c
test byte [ecx + 0x15], 1
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x38]
je 0x6eb46711
mov ebx, dword [ecx + 0x74]
mov edx, dword [0x6eb600c4]
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, 0x40000b40
xor esi, esi
mov dword [esp + 0xc], eax
xor eax, eax
xor edi, edi
mov dword [esp + 0x2c], ebp
xor ebp, ebp
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 8], eax
mov eax, str.ToolbarWindow32
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
test eax, eax
mov ebp, eax
je 0x6eb46b8a
mov edi, dword [esp + 0x38]
xor edx, edx
mov ecx, 0x420
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [edi + 0x44], eax
mov eax, 0x140014
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov dword [esp], ebp
call esi
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, 0x14
mov dword [esp + 8], eax
mov eax, 0x41e
mov dword [esp + 4], eax
mov dword [esp], ebp
call esi
mov eax, 1
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], esi
mov eax, dword [edi + 0x15c]
mov dword [esp], ebp
mov dword [esp + 8], eax
mov eax, 0x30
mov dword [esp + 4], eax
call esi
mov esi, dword [edi + 0x44]
xor eax, eax
mov edx, 0xffffffff
mov ecx, 9
sub esp, 0x10
mov dword [esp + 8], eax
lea edi, [esp + 0x48]
mov eax, 0x413
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
call eax
sub esp, 0x10
mov dword [esp + 0x34], eax
mov eax, 1
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0x413
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], esi
call eax
mov ecx, 5
mov edx, 0x3e8
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [0x6eb600c4]
mov dword [esp + 0xc], edi
mov edi, 0x413
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], edi
mov dword [esp + 0x4c], edx
call eax
mov esi, eax
mov eax, ebx
sub esp, 0x10
and eax, 0x7fc780
je 0x6eb4689e
test byte [0x6eb53040], 1
jne 0x6eb46be5
mov edi, ebx
and edi, 2
je 0x6eb46904
lea eax, [esi + 4]
xor ecx, ecx
mov dword [esp + 0x50], eax
mov eax, 0xc8
xor edi, edi
mov dword [esp + 0x54], eax
xor eax, eax
mov edx, 0xc9
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x60], eax
lea eax, [esi + 5]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov word [esp + 0x58], 4
mov dword [esp + 0x68], edx
mov word [esp + 0x6c], 4
mov dword [esp + 0x70], ecx
mov eax, dword [eax + 0x78]
mov dword [esp + 0x74], edi
test eax, eax
je 0x6eb46bbb
mov byte [esp + 0x6c], 0xc
mov edi, 2
test bl, 4
je 0x6eb46932
mov edx, dword [esp + 0x34]
lea eax, [edi + edi*4]
inc edi
lea eax, [esp + eax*4 + 0x50]
mov dword [eax + 4], 0xcc
mov word [eax + 8], 4
mov dword [eax], edx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
test bl, 8
je 0x6eb46961
lea eax, [edi + edi*4]
inc edi
lea edx, [esp + eax*4 + 0x50]
mov eax, dword [esp + 0x34]
mov dword [edx + 4], 0xd1
mov word [edx + 8], 4
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
inc eax
mov dword [edx], eax
test bl, 0x10
je 0x6eb4698b
lea eax, [edi + edi*4]
inc edi
lea eax, [esp + eax*4 + 0x50]
mov dword [eax], esi
mov dword [eax + 4], 0xca
mov word [eax + 8], 4
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
test bl, 0x20
je 0x6eb469b8
lea eax, [edi + edi*4]
inc edi
lea eax, [esp + eax*4 + 0x50]
mov dword [eax + 4], 0xcb
lea edx, [esi + 1]
mov dword [eax], edx
mov word [eax + 8], 4
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
test bl, 0x40
je 0x6eb469e5
lea eax, [edi + edi*4]
inc edi
lea eax, [esp + eax*4 + 0x50]
mov dword [eax + 4], 0xcd
lea edx, [esi + 2]
mov dword [eax], edx
mov word [eax + 8], 4
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
test bh, 8
je 0x6eb46a12
lea eax, [edi + edi*4]
add esi, 3
lea eax, [esp + eax*4 + 0x50]
inc edi
mov dword [eax], esi
mov dword [eax + 4], 0xce
mov word [eax + 8], 4
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov ecx, ebx
and ecx, 0x2000
test bh, 0x10
je 0x6eb46b3b
mov esi, dword [esp + 0x3c]
lea eax, [edi + edi*4]
test ecx, ecx
lea eax, [esp + eax*4 + 0x50]
mov dword [eax + 4], 0xd0
lea edx, [edi + 1]
mov word [eax + 8], 4
mov edi, edx
mov dword [eax + 0xc], 0
lea ebx, [esi + 0xa]
mov dword [eax], ebx
mov dword [eax + 0x10], 0
jne 0x6eb46b45
mov dword [esp + 0x34], edi
lea ebx, [esp + 0x54]
xor esi, esi
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebx]
call sym._HH_LoadString
cmp word [eax], 0
mov edi, eax
je 0x6eb46b80
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x6eb46a90
sub eax, edi
add eax, 2
mov word [edi + eax], 0
xor eax, eax
inc esi
mov dword [esp + 8], eax
mov eax, 0x44d
add ebx, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], edi
mov dword [esp], ebp
call eax
mov dword [ebx - 8], eax
sub esp, 0x10
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
cmp dword [esp + 0x34], esi
ja 0x6eb46a70
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x50]
mov edx, 0x444
mov dword [esp + 0xc], eax
xor esi, esi
mov dword [esp + 8], edi
mov edi, 0x421
mov dword [esp + 4], edx
mov dword [esp], ebp
mov eax, ebx
call eax
xor ecx, ecx
mov eax, ebx
mov ebx, 1
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
call eax
sub esp, 0x10
mov eax, dword [esp + 0x38]
test byte [eax + 0x14], 0x20
jne 0x6eb46b99
add esp, 0x23c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test ecx, ecx
je 0x6eb46bd3
mov edx, edi
lea eax, [edx + edx*4]
lea edi, [edx + 1]
lea edx, [esp + eax*4 + 0x50]
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], 0xcf
mov word [edx + 8], 4
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
add eax, 0xe
mov dword [edx], eax
jmp 0x6eb46a5b
mov eax, 2
jmp 0x6eb46a9e
add esp, 0x23c
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
mov eax, 5
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, ebx
sub esp, 8
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [esp + 0x58], 0xc
test bl, 4
mov edi, 2
je 0x6eb46932
jmp 0x6eb46909
test edi, edi
jne 0x6eb46a5b
lea esi, [esi]
nop
jmp 0x6eb46add
mov dword [esp + 0x10], eax
mov eax, str.got_asked_for_unsupported_buttons:__06lx_n
mov edi, ebx
mov dword [esp + 0xc], eax
mov eax, str.TB_AddButtonsFromFlags
mov dword [esp + 8], eax
mov eax, 0x6eb53040
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
and edi, 2
je 0x6eb46904
jmp 0x6eb468a5