Function at 0x460936
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov dword [ebp - 0x28], ecx
mov ax, word [ebp + 0xc]
push eax
call fcn.00426aa8
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.0042b067
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x18]
call fcn.004827f5
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 0x18]
call fcn.0041df89
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004272c5
nop
nop
nop
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x4b6a68]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4609e9
mov ecx, 0x4b0770
call fcn.0040d261
test eax, eax
je 0x4609e9
mov eax, dword [ebp - 0x20]
and eax, 0xffff
cmp eax, 0x28
jl 0x4609e9
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
cmp ecx, dword [ebp - 0x10]
jl 0x4609e9
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
cmp edx, dword [ebp - 8]
jg 0x4609e9
mov eax, dword [ebp - 0x20]
and eax, 0xffff
cmp eax, dword [ebp - 4]
jle 0x460a0a
mov ecx, dword [ebp - 0x28]
call fcn.00460b9e
push 0x4b6044
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
push ecx
call fcn.0047fc7d
add esp, 8
jmp 0x460b97
mov ecx, dword [ebp - 0x28]
call fcn.00460c6c
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00460bcb
mov dword [ebp - 0x24], eax
mov ecx, 0x497fb0
call fcn.00425c0d
cmp eax, 1
jne 0x460a41
mov ecx, dword [ebp - 0x28]
call fcn.00460b9e
jmp 0x460b97
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
add ecx, 8
mov edx, dword [ebp - 0x28]
cmp dword [edx], ecx
jg 0x460aa9
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
sub eax, 8
mov ecx, dword [ebp - 0x28]
cmp dword [ecx], eax
jl 0x460aa9
mov edx, dword [ebp - 0x20]
and edx, 0xffff
add edx, 8
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], edx
jg 0x460aa9
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
sub ecx, 8
mov edx, dword [ebp - 0x28]
cmp dword [edx + 4], ecx
jl 0x460aa9
mov eax, dword [ebp - 0x28]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047fcc3
add esp, 8
test eax, eax
je 0x460b97
mov ecx, dword [ebp - 0x28]
call fcn.00460b9e
mov esi, dword [ebp - 0x1c]
and esi, 0xffff
mov ecx, 0x4b4250
call fcn.00455e44
sub eax, dword [ebp - 0x24]
sub eax, 0x20
cmp esi, eax
jl 0x460ae1
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
sub edx, dword [ebp - 0x24]
sub edx, 0x28
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x20]
and eax, 0xffff
sub eax, 0x20
cmp eax, 0x28
jge 0x460b0f
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
sub ecx, 0x20
mov edx, 0x28
sub edx, ecx
mov ax, word [ebp - 0x20]
add ax, dx
mov word [ebp - 0x20], ax
push 0
mov ecx, dword [0x48687c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
and eax, 0xffff
sub eax, 0x20
push eax
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
add ecx, 0x20
push ecx
mov edx, dword [0x4b5ff0]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x28]
cmp dword [eax + 8], 0
je 0x460b97
push 5
mov ecx, dword [0x4b5ff0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], 0
push 0x4b6048
mov eax, dword [ebp - 0x28]
add eax, 0xc
push eax
call fcn.0047fc7d
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
add edx, 0xc
push edx
call fcn.0047fc7d
add esp, 8
mov eax, dword [0x4b5ff0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
mov esp, ebp
pop ebp
ret 8