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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x4e06b8]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x78]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
cmp eax, 0x200
jb 0x427d54
cmp eax, 0x20e
ja 0x427d54
mov eax, dword [edi + 0xa0]
lea edx, [esp + 0x1c]
push edx
push 0
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
xor esi, esi
cmp dword [edi + 0x94], eax
jle 0x427d9c
mov dword [esp + 0x38], eax
cmp esi, eax
jl 0x427d93
cmp esi, dword [edi + 0x94]
jge 0x427d93
mov ecx, dword [edi + 0x90]
mov ecx, dword [ecx + esi*4]
cmp ecx, eax
je 0x427d93
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x20]
push eax
call edx
test al, al
jne 0x427dcc
xor eax, eax
inc esi
cmp esi, dword [edi + 0x94]
jl 0x427d60
mov ecx, dword [ebp + 8]
cmp ecx, 0x100
ja 0x428219
je 0x42820b
dec ecx
cmp ecx, 0xa2
ja case.0x428298.518
movzx ecx, byte [ecx + 0x42845c]
jmp dword [ecx*4 + 0x428424]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x38]
mov dword [esp + 0x38], edi
call fcn.00438ac0
mov edx, dword [esp + 0x10]
mov dword [eax], edx
jmp case.0x428298.518
mov eax, dword [esp + 0x10]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
jne case.0x428298.518
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
mov eax, vtable.ui::Rect.0
xor esi, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call edx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
jmp case.0x428298.518
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
je case.0x428298.518
cmp ecx, eax
jne 0x427eac
mov edx, dword [edi]
mov eax, dword [edx + 0x40]
push str.sys_max
mov ecx, edi
call eax
test eax, eax
je 0x427ed6
push str.false
jmp 0x427ec8
cmp ecx, 2
jne 0x427ed6
mov edx, dword [edi]
mov eax, dword [edx + 0x40]
push str.sys_max
mov ecx, edi
call eax
test eax, eax
je 0x427ed6
push str.true
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x44]
push str.maximized
call eax
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp byte [edi + 0x85], 0
je 0x428016
test eax, 0x40000000
jne 0x428016
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x38]
push ecx
push esi
call edi
lea edx, [esp + 0x40]
push edx
push esi
call edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgn]
add eax, 0xfffffffe
push eax
mov eax, dword [esp + 0x3c]
push ecx
add edx, 2
push edx
push eax
call edi
mov edx, dword [esp + 0x40]
mov esi, eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 1]
push ecx
add edx, 0xfffffffe
push edx
push eax
mov eax, dword [esp + 0x44]
add eax, 2
push eax
call edi
push 2
mov edi, eax
push edi
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
dec ecx
push ecx
push 0
push edi
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 2
push edi
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [eax + 2]
push edx
mov edx, dword [esp + 0x3c]
dec ecx
push ecx
inc eax
push eax
inc edx
push edx
push edi
call dword [sym.imp.GDI32.dll_SetRectRgn]
push 2
push edi
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
sub eax, 3
push eax
push 0
push edi
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 2
push edi
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
mov ecx, dword [esp + 0x10]
push 0
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push esi
call edi
mov edi, dword [esp + 0x14]
mov eax, edi
call fcn.0042ac80
jmp case.0x428298.518
mov esi, edi
call fcn.00429bd0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 0xc
movsx edx, bx
mov eax, ebx
shr eax, 0x10
mov dword [esp + 0x38], edx
movsx ecx, ax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
push eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ecx
call fcn.00429300
test eax, eax
je case.0x428298.518
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 0xc
movsx eax, bx
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x38], eax
movsx edx, cx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x44], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
xor edi, edi
call fcn.00438680
mov edi, dword [esp + 0x14]
jmp case.0x428298.518
test dword [edi + 0x18], 0x8000000
jne case.0x428298.518
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call fcn.004276f0
mov word [esp + 0x5a], ax
lea edx, [esp + 0x4c]
mov eax, edi
call fcn.0042acb0
test eax, eax
je case.0x428298.518
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebx]
cmp edx, dword [edi + 0xa0]
jne case.0x428298.518
mov eax, dword [edi + 0x9c]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
lea ecx, [edi + 0x9c]
push ebx
push edx
call eax
test eax, eax
je case.0x428298.518
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 0xc
mov dword [0x4e4fbc], eax
call fcn.00438790
jmp case.0x428298.518
cmp edi, dword [0x4e4fbc]
je case.0x428298.518
mov dword [0x4e4fbc], edi
call fcn.00438790
jmp case.0x428298.518
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x40], edi
call fcn.004391b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea esi, [esp + 0x40]
call fcn.00438d80
jmp case.0x428298.518
mov edx, dword [ebp + 0xc]
push edx
call fcn.00429a80
jmp case.0x428298.518
cmp ecx, 0x200
ja 0x42827f
je 0x428252
mov eax, ecx
sub eax, 0x101
je 0x428244
sub eax, 0x12
jne case.0x428298.518
mov esi, dword [ebp + 0xc]
mov edx, edi
call fcn.00429ec0
jmp case.0x428298.518
mov eax, dword [ebp + 0xc]
push eax
call fcn.00429b30
jmp case.0x428298.518
sub esp, 8
mov edx, ebx
shr edx, 0x10
mov eax, esp
lea esi, [esp + 0x40]
movsx ecx, bx
movsx edx, dx
cmp eax, esi
je 0x42826f
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
push eax
mov esi, edi
call fcn.004295f0
jmp case.0x428298.518
add ecx, 0xfffffdff
cmp ecx, 0xa2
ja case.0x428298.518
movzx ecx, byte [ecx + 0x428524]
jmp dword [ecx*4 + 0x428500]
mov eax, edi
call fcn.004296b0
jmp case.0x428298.518
mov ecx, ebx
shr ecx, 0x10
movsx esi, cx
mov ecx, dword [0x4e4fb0]
movsx edx, bx
mov byte [edi + 0x87], 0
cmp ecx, eax
je case.0x428298.518
xor eax, eax
mov dword [esp + 0x50], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 5
mov dword [esp + 0x58], esi
call edx
jmp case.0x428298.518
movsx eax, bx
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x38], eax
movsx edx, cx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x44], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub esp, 8
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [eax], edx
call fcn.00429720
jmp case.0x428298.518
mov eax, ebx
shr eax, 0x10
sub esp, 8
movsx edx, ax
mov eax, esp
lea esi, [esp + 0x40]
movsx ecx, bx
cmp eax, esi
je 0x42835a
mov dword [eax], ecx
mov dword [eax + 4], edx
push edi
call fcn.00429770
jmp case.0x428298.518
sub esp, 8
mov edx, ebx
shr edx, 0x10
mov eax, esp
lea esi, [esp + 0x40]
movsx ecx, bx
movsx edx, dx
cmp eax, esi
je 0x428382
mov dword [eax], ecx
mov dword [eax + 4], edx
call fcn.00429810
jmp case.0x428298.518
mov eax, ebx
shr eax, 0x10
sub esp, 8
movsx edx, ax
mov eax, esp
lea esi, [esp + 0x40]
movsx ecx, bx
cmp eax, esi
je 0x4283a6
mov dword [eax], ecx
mov dword [eax + 4], edx
push edi
call fcn.004298b0
jmp case.0x428298.518
sub esp, 8
mov edx, ebx
shr edx, 0x10
mov eax, esp
lea esi, [esp + 0x40]
movsx ecx, bx
movsx edx, dx
cmp eax, esi
je 0x4283cb
mov dword [eax], ecx
mov dword [eax + 4], edx
push edi
call fcn.00429940
jmp case.0x428298.518
mov eax, ebx
shr eax, 0x10
sub esp, 8
movsx edx, ax
mov eax, esp
lea esi, [esp + 0x40]
movsx ecx, bx
cmp eax, esi
je 0x4283f0
mov dword [eax], ecx
mov dword [eax + 4], edx
call fcn.004299e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
push ebx
push ecx
mov ecx, dword [edi + 0x7c]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret 0xc