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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x463632
mov ecx, dword [esp + 0xa4]
mov byte [edi + 0xbd], 1
cmp byte [ecx], 0
je 0x462c82
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [edi + 4]
mov esi, SysReAllocString
mov dword [esp + 0x24], CreateStatusWindowA
mov dword [esp + 0x2c], CreateStatusWindowA
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x1e], 0
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [edi + 4]
mov ebx, eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.USER32.dll_IsIconic]
mov dword [esp + 0x44], eax
test eax, eax
je 0x462ccb
mov ecx, 9
jmp 0x462cd9
xor ecx, ecx
test ebx, ebx
setne cl
lea ecx, [ecx*4 + 1]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ecx
cmp byte [ebp], 0
je 0x462fc3
movzx ebx, byte [ebp]
test ebx, 0xffffff80
jne 0x462d10
push 2
push ebx
call fcn.0048708c
add esp, 8
test eax, eax
je 0x462d10
and ebx, 0xffffffdf
movsx eax, bl
add eax, 0xfffffff7
cmp eax, 0x50
ja case.0x462d26.10
movzx eax, byte [eax + 0x463668]
jmp dword [eax*4 + 0x463644]
inc dword [esp + 0x14]
jmp case.0x462d26.10
push 8
push str.AutoSize
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne case.0x462d26.10
add dword [esp + 0x14], 8
mov byte [esp + 0x1a], 1
jmp case.0x462d26.10
push 6
push str.Center
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne case.0x462d26.10
add dword [esp + 0x14], 6
mov dword [esp + 0x20], CreateStatusWindowA
mov dword [esp + 0x28], CreateStatusWindowA
jmp case.0x462d26.10
push 8
push str.Minimize
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x462db6
add dword [esp + 0x14], 8
mov esi, 6
mov dword [esp + 0x1c], esi
jmp case.0x462d26.10
push 8
push str.Maximize
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne case.0x462d26.10
add dword [esp + 0x14], 8
mov esi, 3
mov dword [esp + 0x1c], esi
jmp case.0x462d26.10
push 2
push 0x4a5bdc
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x462e08
add dword [esp + 0x14], 2
mov esi, 8
mov dword [esp + 0x1c], esi
jmp case.0x462d26.10
push 0xa
push str.NoActivate
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne case.0x462d26.10
add dword [esp + 0x14], 0xa
mov esi, 4
mov dword [esp + 0x1c], esi
jmp case.0x462d26.10
push 7
push str.Restore
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne case.0x462d26.10
add dword [esp + 0x14], 7
mov esi, 9
mov dword [esp + 0x1c], esi
jmp case.0x462d26.10
push 6
lea eax, [ebp + 1]
push str.Center
push eax
call fcn.0048616d
add esp, 0xc
test eax, eax
jne case.0x462d26.72
mov cl, byte [ebp]
call fcn.0040a990
cmp al, 0x58
jne 0x462e97
add dword [esp + 0x14], 7
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], CreateStatusWindowA
jmp 0x462fa9
add dword [esp + 0x14], 7
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], CreateStatusWindowA
jmp 0x462fa9
push 4
push str.Hide
push ebp
call fcn.0048616d
add esp, 0xc
test eax, eax
jne 0x462ed5
add dword [esp + 0x14], 4
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x462fad
lea eax, [esp + 0x14]
push eax
lea esi, [ebp + 1]
push esi
call fcn.00488de2
add esp, 8
fstp qword [esp + 0x30]
cmp dword [esp + 0x14], esi
je 0x4630ea
movzx ebx, byte [ebp]
test ebx, 0xffffff80
jne 0x462f12
push 2
push ebx
call fcn.0048708c
add esp, 8
test eax, eax
je 0x462f12
and ebx, 0xffffffdf
movsx eax, bl
add eax, 0xffffffb8
cmp eax, 0x11
ja case.0x462d26.10
movzx eax, byte [eax + 0x4636d0]
jmp dword [eax*4 + 0x4636bc]
cvttsd2si eax, qword [esp + 0x30]
mov dword [esp + 0x20], eax
jmp case.0x462d26.10
cvttsd2si eax, qword [esp + 0x30]
mov dword [esp + 0x28], eax
jmp case.0x462d26.10
cmp byte [edi + 0xc0], 0
je 0x462f6d
cvttsd2si eax, qword [esp + 0x30]
push 0x60
push dword [0x4b094c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x462f9f
cvttsd2si esi, qword [esp + 0x30]
mov dword [esp + 0x10], esi
jmp 0x462f9f
cmp byte [edi + 0xc0], 0
cvttsd2si eax, qword [esp + 0x30]
je 0x462f97
push 0x60
push dword [0x4b094c]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x14], ebp
je 0x4630ee
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
cmp byte [ebp], 0
jne 0x462cf2
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebp
mov byte [esp + 0x1b], 0
test ecx, ecx
je 0x462fea
cmp ecx, 9
je 0x462fe2
cmp ecx, 4
jne 0x462ff9
test ebx, ebx
jne 0x462fea
test eax, eax
je 0x462ff9
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esp + 0x1b], 1
cmp byte [edi + 0xbb], 0
je 0x46302c
xor ebx, ebx
cmp dword [edi + 0x10], ebx
jbe 0x46302c
xor esi, esi
jmp 0x463010
mov eax, dword [edi + 0x18]
add eax, esi
cmp byte [eax + 4], 0x13
jne 0x463023
push eax
mov ecx, edi
call fcn.00467160
inc ebx
add esi, 0x14
cmp ebx, dword [edi + 0x10]
jb 0x463010
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov edx, dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
sete al
mov byte [esp + 0x2f], al
test al, al
je 0x4631e5
cmp byte [esp + 0x1a], 0
je 0x463141
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x10], ecx
jbe 0x463188
xor ebx, ebx
mov esi, dword [edi + 0x18]
add esi, ebx
cmp byte [esi + 4], 0x19
je 0x463115
cmp byte [esi + 6], 0xff
je 0x46309c
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, dword [edi + 4]
jne 0x463111
push 0xfffffffffffffff0
push dword [esi]
call edx
test eax, 0x10000000
je 0x46310b
lea eax, [esp + 0x48]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x4c]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x50], ecx
mov edx, dword [sym.imp.USER32.dll_GetWindowLongA]
cmovg ecx, dword [esp + 0x50]
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x10], ecx
cmovg ebp, dword [esp + 0x54]
jmp 0x463115
mov dword [esp + 0x14], ebp
push ebp
push str.Invalid_option.
mov ecx, 0x4b09a0
call fcn.0042e360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
mov edx, dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
add ebx, 0x14
inc esi
mov dword [esp + 0x24], esi
cmp esi, dword [edi + 0x10]
jb 0x463074
test ecx, ecx
jle 0x463135
add ecx, dword [edi + 0x78]
mov dword [esp + 0x10], ecx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
test ebp, ebp
jle 0x463188
jmp 0x463185
mov ecx, dword [esp + 0x10]
cmp ecx, 0x80000000
je 0x463159
cmp ebp, 0x80000000
jne 0x4631e5
cmp byte [edi + 0xbb], 0
je 0x4631b1
cmp ecx, 0x80000000
jne 0x463177
mov eax, dword [edi + 0x90]
add eax, dword [edi + 0x78]
mov dword [esp + 0x10], eax
cmp ebp, 0x80000000
jne 0x4631e5
mov ebp, dword [edi + 0x94]
add ebp, dword [edi + 0x7c]
mov eax, dword [edi + 8]
test eax, eax
je 0x4631e5
push 0xfffffffffffffff0
push eax
call edx
test eax, 0x10000000
je 0x4631e5
lea eax, [esp + 0x48]
push eax
push dword [edi + 8]
call ebx
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
add ebp, eax
jmp 0x4631e5
lea eax, [esp + 0x48]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0x10], 0x80000000
jne 0x4631d5
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
cmp ebp, 0x80000000
jne 0x4631e5
mov ebp, dword [esp + 0x54]
sub ebp, dword [esp + 0x4c]
cmp byte [edi + 0xbb], 0
je 0x463243
cmp byte [edi + 0xb8], 0
je 0x46321e
xor ebx, ebx
cmp dword [edi + 0x10], ebx
jbe 0x46321e
xor esi, esi
mov eax, dword [edi + 0x18]
add eax, esi
cmp byte [eax + 4], 0x13
jne 0x463215
push 0
push eax
mov ecx, edi
call fcn.00466a10
inc ebx
add esi, 0x14
cmp ebx, dword [edi + 0x10]
jb 0x463200
mov eax, dword [esp + 0x20]
mov ecx, SysReAllocString
cmp eax, 0x80000000
cmove eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
cmp eax, 0x80000000
cmove eax, ecx
mov dword [esp + 0x28], eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp byte [esp + 0x2f], 0
mov dword [esp + 0x24], eax
je 0x463530
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push dword [edi + 4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
call ebx
push dword [edi + 4]
mov ebp, eax
call dword [sym.imp.USER32.dll_GetMenu]
neg eax
push 0xffffffffffffffec
push dword [edi + 4]
sbb esi, esi
neg esi
call ebx
push eax
push esi
push ebp
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
test ebp, 0x100000
je 0x4632c0
push 3
call ebx
add dword [esp + 0x3c], eax
test ebp, 0x200000
je 0x4632d0
push 2
call ebx
add dword [esp + 0x38], eax
test esi, esi
je 0x463305
movdqu xmm0, xmmword [esp + 0x30]
lea eax, [esp + 0x58]
push eax
push 0
push 0x83
push dword [edi + 4]
movdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x74], 0x7fff
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x5c]
add dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
sub ebx, dword [esp + 0x30]
sub esi, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x463337
test ebp, 0x40000000
je 0x463337
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a], 1
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x46334d
push 0
lea eax, [esp + 0x6c]
mov byte [esp + 0x1e], 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x68]
sub eax, ebp
sub ecx, dword [esp + 0x6c]
cmp byte [edi + 0xbb], 0
je 0x46338d
cmp byte [esp + 0x1a], 0
jne 0x46338d
cmp dword [esp + 0x44], 0x80000000
jne 0x46337e
cmp ebx, eax
cmovg ebx, eax
cmp dword [esp + 0x40], 0x80000000
jne 0x46338d
cmp esi, ecx
cmovg esi, ecx
cmp dword [esp + 0x20], 0x80000001
jne 0x4633a4
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebp
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x28]
cmp ebp, 0x80000001
jne 0x4633bf
sub ecx, esi
mov eax, ecx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, dword [esp + 0x6c]
lea eax, [esp + 0x78]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
sub eax, edx
cmp ebx, eax
jne 0x46340a
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
cmp esi, eax
jne 0x46340a
mov eax, dword [esp + 0x20]
cmp eax, 0x80000000
je 0x4633fe
cmp eax, edx
jne 0x46340a
cmp ebp, 0x80000000
je 0x463452
cmp ebp, ecx
je 0x463452
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x463422
push 9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp ebp, 0x80000000
push esi
cmove ebp, dword [esp + 0x84]
cmp eax, 0x80000000
push ebx
cmove eax, dword [esp + 0x84]
push ebp
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [edi + 0xbb], 0
je 0x463530
lea eax, [esp + 0x58]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x88]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x58]
sub edx, dword [esp + 0x5c]
mov esi, ecx
sub esi, dword [esp + 0x90]
mov ebx, edx
sub ebx, dword [esp + 0x94]
mov eax, dword [edi + 0xa8]
cmp eax, 0x80000001
jne 0x4634b5
mov dword [edi + 0xa8], ecx
jmp 0x4634c4
cmp eax, 0x80000000
je 0x4634c4
add eax, esi
mov dword [edi + 0xa8], eax
mov eax, dword [edi + 0xac]
cmp eax, 0x80000001
jne 0x4634d9
mov dword [edi + 0xac], edx
jmp 0x4634e8
cmp eax, 0x80000000
je 0x4634e8
add eax, ebx
mov dword [edi + 0xac], eax
mov eax, dword [edi + 0xb0]
cmp eax, 0x80000001
jne 0x4634fd
mov dword [edi + 0xb0], ecx
jmp 0x46350c
cmp eax, 0x80000000
je 0x46350c
add eax, esi
mov dword [edi + 0xb0], eax
mov eax, dword [edi + 0xb4]
cmp eax, 0x80000001
jne 0x463521
mov dword [edi + 0xb4], edx
jmp 0x463530
cmp eax, 0x80000000
je 0x463530
add eax, ebx
mov dword [edi + 0xb4], eax
cmp byte [esp + 0x1b], 0
mov esi, dword [esp + 0x1c]
jne 0x463545
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi - 1]
cmp eax, 8
ja case.0x463558.2
movzx eax, byte [eax + 0x4636ec]
jmp dword [eax*4 + 0x4636e4]
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetAncestor]
cmp eax, dword [edi + 4]
jne case.0x463558.2
mov esi, dword [edi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp esi, eax
je 0x463587
mov ecx, esi
call fcn.00476830
cmp byte [edi + 0xbc], 0
je case.0x463558.2
mov byte [edi + 0xbc], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
test ebx, ebx
je 0x46360e
cmp byte [edi + 0xb8], 0
je case.0x463558.2
mov ebp, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push ebx
call ebp
lea esi, [eax - 3]
cmp esi, dword [edi + 0x10]
jb 0x4635d9
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
je 0x4635d4
push ebx
call ebp
lea esi, [eax - 3]
cmp esi, dword [edi + 0x10]
jae case.0x463558.2
mov eax, dword [edi + 0x18]
lea ecx, [esi + esi*4]
cmp dword [eax + ecx*4], ebx
lea ebp, [eax + ecx*4]
jne case.0x463558.2
cmp esi, 0x2af8
je case.0x463558.2
test ebp, ebp
je case.0x463558.2
cmp byte [ebp + 4], 0x13
jne case.0x463558.2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push ebp
mov ecx, edi
call fcn.00466a10
jmp case.0x463558.2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, 1
mov byte [edi + 0xbb], 0
or ecx, 0xffffffff
mov byte [edi + 0xbd], 0
call fcn.004027d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8c
ret 8