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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x47d8c1
mov ebx, dword [edi + 0x3c]
mov eax, ebx
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
shr eax, 0x15
push 0xfffffffffffffff0
and eax, 0xffffff01
push ecx
mov dword [esp + 0x34], eax
call esi
shr ebx, 0x14
mov dword [edi + 0x3c], eax
test bl, 1
je 0x47d89e
test eax, 0x100000
jne 0x47d89e
or eax, 0x100000
mov dword [edi + 0x3c], eax
cmp byte [esp + 0x2c], 0
je 0x47d8b7
mov eax, dword [edi + 0x3c]
test eax, 0x200000
jne 0x47d8b7
or eax, 0x200000
mov dword [edi + 0x3c], eax
push 0xffffffffffffffec
push dword [edi + 4]
call esi
mov dword [edi + 0x40], eax
mov esi, dword [ebp + 8]
mov eax, dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
mov cl, byte [esi]
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
test cl, cl
je 0x47e316
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esp + 0x44], eax
mov eax, dword [sym.imp.USER32.dll_SetParent]
mov dword [esp + 0x3c], eax
mov eax, dword [sym.imp.USER32.dll_ScrollWindow]
mov dword [esp + 0x30], eax
mov eax, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x40], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x38], eax
cmp cl, 0x2d
jne 0x47d92d
xor bl, bl
jmp 0x47d934
mov bl, 1
cmp cl, 0x2b
jne 0x47d938
mov cl, byte [esi + 1]
inc esi
test cl, cl
je 0x47e30e
mov eax, esi
mov dword [esp + 0x20], eax
test esi, esi
je 0x47d976
nop word [eax + eax]
mov edx, 0x4d5ff4
mov al, 0x20
cmp cl, al
je 0x47da10
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x47d957
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov cl, byte [eax]
test cl, cl
jne 0x47d950
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47d980
sub ecx, edx
lea eax, [ecx + esi]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x47e2f5
mov cl, byte [eax]
push 5
push str.Owner
push esi
mov byte [esp + 0x23], cl
mov byte [eax], 0
call fcn.004b2c54
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0xf], cl
test eax, eax
je 0x47e1d1
push 6
push str.Parent
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
je 0x47e1cd
push str.AlwaysOnTop
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47da36
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x47da1e
push 0x13
push eax
push eax
push eax
push eax
movzx eax, bl
sub eax, 2
push eax
push ecx
call dword [esp + 0x48]
test bl, bl
je 0x47da19
or dword [esp + 0x1c], 8
jmp 0x47da1e
mov eax, dword [esp + 0x20]
jmp 0x47d990
and dword [esp + 0x1c], 0xfffffff7
mov ecx, dword [edi + 0x40]
mov eax, ecx
and eax, 0xfffffff7
or ecx, 8
test bl, bl
cmove ecx, eax
mov dword [edi + 0x40], ecx
jmp 0x47e2eb
push str.Border
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47da65
mov ecx, dword [edi + 0x3c]
mov eax, ecx
and eax, 0xff7fffff
or ecx, 0x800000
test bl, bl
cmove ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
push str.Scroll
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47dabe
test bl, bl
je 0x47da88
mov eax, dword [edi + 0x3c]
or eax, 0x300000
jmp 0x47e2e8
mov edx, dword [edi + 0xd0]
test edx, edx
je 0x47dab1
mov ecx, dword [edi + 0xcc]
push 0
push 0
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 8]
push eax
mov eax, dword [edx + 0x14]
sub eax, dword [edx + 8]
push eax
push dword [edi + 4]
call dword [esp + 0x44]
mov eax, dword [edi + 0x3c]
and eax, 0xffcfffff
jmp 0x47e2e8
push str.HScroll
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47db10
mov eax, dword [edi + 0x3c]
test bl, bl
je 0x47dae1
or eax, 0x100000
jmp 0x47e2e8
mov ecx, dword [edi + 0xd0]
and eax, 0xffefffff
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x47e2eb
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 8]
push 0
push 0
push 0
push eax
push dword [edi + 4]
call dword [esp + 0x44]
jmp 0x47e2eb
push str.VScroll
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47db67
mov eax, dword [edi + 0x3c]
test bl, bl
je 0x47db33
or eax, 0x200000
jmp 0x47e2e8
and eax, 0xffdfffff
cmp dword [edi + 0xd0], 0
mov dword [edi + 0x3c], eax
je 0x47e2eb
mov ecx, dword [edi + 0xcc]
push 0
push 0
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 8]
push eax
push 0
push dword [edi + 4]
call dword [esp + 0x44]
jmp 0x47e2eb
push 6
push str.Object
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
jne 0x47dc14
cmp byte [esi], al
je 0x47dc14
test bl, bl
je 0x47dbf1
push 3
lea ebx, [esi + 6]
mov ecx, 0x4e9a70
push eax
push ebx
mov dword [esp + 0x30], ebx
call fcn.0043a3b0
mov esi, eax
test esi, esi
je 0x47e367
mov ebx, dword [edi + 0xd4]
test ebx, ebx
je 0x47dbc7
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push ebx
mov ecx, esi
call fcn.0049e9e0
jmp 0x47e2eb
cmp byte [esi + 0x17], 0
jne 0x47dbd2
mov eax, dword [esi + 0xc]
jmp 0x47dbd4
mov eax, esi
test byte [eax + 0x15], 2
je 0x47e34b
mov ecx, dword [esi]
mov dword [edi + 0xd4], ecx
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47e2eb
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x47e2eb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0xd4], 0
jmp 0x47e2eb
push str.Caption
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47dc43
mov ecx, dword [edi + 0x3c]
mov eax, ecx
and eax, 0xff3fffff
or ecx, 0xc00000
test bl, bl
cmove ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
push 9
push str.Delimiter
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
jne 0x47dca9
add esi, 9
push 0x4d49dc
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47dc76
mov dl, 9
mov byte [edi + 0x46], dl
jmp 0x47e2eb
push str.Space
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47dc92
mov dl, 0x20
mov byte [edi + 0x46], dl
jmp 0x47e2eb
mov cl, byte [esi]
mov edx, 0x7c
test cl, cl
movzx eax, cl
cmovne edx, eax
mov byte [edi + 0x46], dl
jmp 0x47e2eb
push str.Disabled
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47dd01
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x47dce4
movzx eax, bl
xor eax, 1
push eax
push ecx
call dword [esp + 0x48]
test bl, bl
je 0x47dcdc
or dword [esp + 0x18], 0x8000000
jmp 0x47dce4
and dword [esp + 0x18], 0xf7ffffff
mov ecx, dword [edi + 0x3c]
mov eax, ecx
and eax, 0xf7ffffff
or ecx, 0x8000000
test bl, bl
cmove ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
push 4
push str.Hwnd
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
jne 0x47dd30
push 3
push eax
lea eax, [esi + 4]
mov ecx, 0x4e9a70
push eax
call fcn.0043a3b0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x47e2eb
push 5
push str.Label
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
jne 0x47dd5c
test bl, bl
je 0x47e2eb
lea eax, [esi + 5]
mov ecx, edi
push eax
call fcn.00479f70
jmp 0x47e2eb
push str.LastFound
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47dd79
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x47e2eb
push str.MaximizeBox
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47dda8
mov ecx, dword [edi + 0x3c]
mov eax, ecx
and eax, 0xfffeffff
or ecx, 0x90000
test bl, bl
cmove ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
push str.MinimizeBox
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47ddd7
mov ecx, dword [edi + 0x3c]
mov eax, ecx
and eax, 0xfffdffff
or ecx, 0xa0000
test bl, bl
cmove ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
push 7
push str.MinSize
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
jne 0x47df1b
add esi, 7
test bl, bl
je 0x47df02
cmp byte [esi], 0
mov al, byte [edi + 0xc3]
je 0x47deb8
test al, al
je 0x47de19
mov dword [esp + 0x10], 0
xor ebx, ebx
jmp 0x47de56
lea eax, [esp + 0x48]
push eax
push dword [edi + 4]
call dword [esp + 0x30]
lea eax, [esp + 0x88]
push eax
push dword [edi + 4]
call dword [esp + 0x40]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x54]
sub eax, dword [esp + 0x48]
sub ebx, dword [esp + 0x94]
sub ebx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov edx, 0x4db9d8
mov ecx, esi
call fcn.00405fc0
mov dword [esp + 0x24], eax
test eax, eax
je 0x47de90
cmp byte [eax + 1], 0
lea ecx, [eax + 1]
je 0x47de90
push ecx
call fcn.004b2c14
add esp, 4
mov ecx, edi
push eax
call fcn.00448aa0
add eax, ebx
mov dword [edi + 0xb4], eax
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x47e2eb
push esi
call fcn.004b2c14
add esp, 4
mov ecx, edi
push eax
call fcn.00448aa0
add eax, dword [esp + 0x10]
mov dword [edi + 0xb0], eax
jmp 0x47e2eb
test al, al
je 0x47ded5
mov dword [edi + 0xb0], connect
mov dword [edi + 0xb4], connect
jmp 0x47e2eb
lea eax, [esp + 0x58]
push eax
push dword [edi + 4]
call dword [esp + 0x30]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov dword [edi + 0xb4], eax
jmp 0x47e2eb
mov dword [edi + 0xb0], connect
mov dword [edi + 0xb4], connect
jmp 0x47e2eb
push 7
push str.MaxSize
push esi
call fcn.004b2c54
add esp, 0xc
test eax, eax
jne 0x47e065
add esi, 7
test bl, bl
je 0x47e04c
cmp byte [esi], 0
mov al, byte [edi + 0xc3]
je 0x47dffc
test al, al
je 0x47df5d
mov dword [esp + 0x10], 0
xor ebx, ebx
jmp 0x47df9a
lea eax, [esp + 0x68]
push eax
push dword [edi + 4]
call dword [esp + 0x30]
lea eax, [esp + 0x98]
push eax
push dword [edi + 4]
call dword [esp + 0x40]
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x74]
sub eax, dword [esp + 0x68]
sub ebx, dword [esp + 0xa4]
sub ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov edx, 0x4db9d8
mov ecx, esi
call fcn.00405fc0
mov dword [esp + 0x24], eax
test eax, eax
je 0x47dfd4
cmp byte [eax + 1], 0
lea ecx, [eax + 1]
je 0x47dfd4
push ecx
call fcn.004b2c14
add esp, 4
mov ecx, edi
push eax
call fcn.00448aa0
add eax, ebx
mov dword [edi + 0xbc], eax
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x47e2eb
push esi
call fcn.004b2c14
add esp, 4
mov ecx, edi
push eax
call fcn.00448aa0
add eax, dword [esp + 0x10]
mov dword [edi + 0xb8], eax
jmp 0x47e2eb
test al, al
je 0x47e019
mov dword [edi + 0xb8], connect
mov dword [edi + 0xbc], connect
jmp 0x47e2eb
lea eax, [esp + 0x78]
push eax
push dword [edi + 4]
call dword [esp + 0x30]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov dword [edi + 0xb8], eax
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x7c]
mov dword [edi + 0xbc], eax
jmp 0x47e2eb
mov dword [edi + 0xb8], connect
mov dword [edi + 0xbc], connect
jmp 0x47e2eb
push str.OwnDialogs
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47e088
mov ecx, dword [ebp + 0x10]
movzx eax, bl
xor eax, 1
inc eax
mov dword [ecx], eax
jmp 0x47e2eb
push str.Resize
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47e0b7
mov ecx, dword [edi + 0x3c]
mov eax, ecx
and eax, 0xfffaffff
or ecx, 0x50000
test bl, bl
cmove ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
push str.SysMenu
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47e0e6
mov ecx, dword [edi + 0x3c]
mov eax, ecx
and eax, 0xfff7ffff
or ecx, 0x80000
test bl, bl
cmove ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
push str.Theme
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47e100
mov byte [edi + 0x45], bl
jmp 0x47e2eb
push str.ToolWindow
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47e12f
mov ecx, dword [edi + 0x40]
mov eax, ecx
and eax, 0xffffff7f
or ecx, 0x80
test bl, bl
cmove ecx, eax
mov dword [edi + 0x40], ecx
jmp 0x47e2eb
push str.DPIScale
push esi
call fcn.004b218a
add esp, 8
test eax, eax
jne 0x47e14c
mov byte [edi + 0xc8], bl
jmp 0x47e2eb
mov cl, byte [esi]
call fcn.00412890
xor edx, edx
push 0
push edx
cmp al, 0x45
jne 0x47e195
push edx
lea ecx, [esi + 1]
call fcn.0049a390
add esp, 0xc
test eax, eax
je 0x47e2eb
lea ecx, [esi + 1]
call fcn.00404660
mov ecx, dword [edi + 0x40]
test bl, bl
je 0x47e189
or ecx, eax
mov dword [edi + 0x40], ecx
jmp 0x47e2eb
not eax
and eax, ecx
mov dword [edi + 0x40], eax
jmp 0x47e2eb
push 1
mov ecx, esi
call fcn.0049a390
add esp, 0xc
test eax, eax
je 0x47e380
mov ecx, esi
call fcn.00404660
mov ecx, dword [edi + 0x3c]
test bl, bl
je 0x47e1c1
or ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
not eax
and ecx, eax
mov dword [edi + 0x3c], ecx
jmp 0x47e2eb
mov cl, byte [esp + 0xf]
test bl, bl
jne 0x47e1e1
mov dword [edi + 0xc], 0
jmp 0x47e280
movzx eax, cl
xor eax, 1
add eax, 5
add eax, esi
mov dword [esp + 0x10], eax
cmp byte [eax], 0
jne 0x47e203
test cl, cl
je 0x47e203
mov eax, dword [0x4e7950]
mov dword [edi + 0xc], eax
jmp 0x47e280
push 0
push 0
push 0
mov edx, 1
mov ecx, eax
call fcn.0049a390
add esp, 0xc
cmp eax, 1
jne 0x47e258
mov ecx, dword [esp + 0x10]
call fcn.00404660
mov ebx, eax
test edx, edx
jl 0x47e24b
jg 0x47e24b
cmp ebx, 1
jb 0x47e24b
test edx, edx
jg 0x47e24b
jl 0x47e23e
cmp ebx, 0x63
ja 0x47e24b
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x10]
cmp eax, 2
jle 0x47e258
push ebx
call dword [esp + 0x48]
test eax, eax
je 0x47e258
test ebx, ebx
jne 0x47e274
mov ecx, dword [esp + 0x10]
call fcn.00477a50
test eax, eax
je 0x47e399
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x47e399
cmp ebx, dword [edi + 4]
je 0x47e399
mov dword [edi + 0xc], ebx
cmp byte [esp + 0xf], 0
je 0x47e2bf
mov eax, dword [edi + 0x3c]
test eax, 0x40000000
je 0x47e2ac
and eax, 0x3fffffff
or eax, 0x80000000
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x47e2eb
push 0
push eax
call dword [esp + 0x44]
mov eax, dword [edi + 4]
test eax, eax
je 0x47e2eb
push dword [edi + 0xc]
push 0xfffffffffffffff8
push eax
call dword [esp + 0x40]
jmp 0x47e2eb
mov eax, dword [edi + 4]
test eax, eax
je 0x47e2ce
push dword [edi + 0xc]
push eax
call dword [esp + 0x44]
mov eax, dword [edi + 0x3c]
and eax, 0x3fffffff
cmp dword [edi + 0xc], 0
je 0x47e2e3
or eax, 0x40000000
jmp 0x47e2e8
or eax, 0x80000000
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x20]
mov cl, byte [esp + 0x17]
mov byte [eax], cl
mov esi, eax
mov cl, byte [esi]
cmp cl, 0x20
je 0x47e303
cmp cl, 9
jne 0x47e306
inc esi
jmp 0x47e2f7
test cl, cl
jne 0x47d924
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
test eax, eax
je 0x47e3fe
cmp dword [edi + 0x3c], edx
jne 0x47e32f
cmp dword [edi + 0x40], ebx
je 0x47e3fe
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47e3b2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x47e3b2
mov bl, 1
jmp 0x47e3b4
push dword [esp + 0x24]
mov ecx, 0x4e9a70
push str.No_object_to_invoke.
call fcn.004470d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
push str.Requires_at_least_one_of_its_output_variables.
mov ecx, 0x4e9a70
call fcn.004470d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push str.Invalid_option.
mov ecx, 0x4e9a70
call fcn.004470d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push str.Invalid_or_nonexistent_owner_or_parent_window.
mov ecx, 0x4e9a70
call fcn.004470d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor bl, bl
mov eax, dword [edi + 0x3c]
mov esi, dword [esp + 0x34]
cmp eax, dword [esp + 0x18]
je 0x47e3c9
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x40]
cmp eax, dword [esp + 0x1c]
je 0x47e3da
push eax
push 0xffffffffffffffec
push dword [edi + 4]
call esi
test bl, bl
je 0x47e3fe
push 0x37
push 0
push 0
push 0
push 0
push 0
push dword [edi + 4]
call dword [esp + 0x48]
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10